EDDYMENS

Published a year ago

What Is Policy As Code (POC)?

Policy as code is the idea of automating the compliance of a software environment using software instead of a staff member or team. Depending on the software system under discussion, you might need to comply with different policies. For example, some financial systems need to be ...

Published a year ago

Repeat Words X Times |PHP

Repeating a given string several times is something you rarely have to do as a developer, however, sometimes you need to repeat white spaces to pad some text to keep spacing even across a list. You can use either a loop or the built-in PHP function to perform this action. The function ta...

Published a year ago

Adding A Copy Button To HighlightJS Code Snippets

The code below produces the code snippet shown above using HighlightJS and some custom JS to append a click to copy button to the snippet. ...

Published a year ago

Remove .html From The End Of URLs | Netlify

Depending on how you generate your HTML assets to be hosted on Netlify , your URLs might end with for example: . You might want to change this to a path name without the extension i.e: ...

Published a year ago

Capitalizing The First Letter In Each Word | PHP

PHP's function can be used to create readable blog post titles by capitalizing the first characters of each word. Additionally, you can capitalize the first character of names in your app. Below is an example of how to use the function. ...

Published a year ago

Highlight.js: Add Line Numbers

HighlightJS does not provide line number feature out of the box. You will need a third-party library for that. Fortunately, there are a number of them to choose from. The one used in the ...