EDDYMENS

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 2 years 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 2 years ago

What Is A Cronjob?

A Cron Job is what you set up if you need a script or piece of code to be executed sometime in the future, once or at intervals. Cron jobs are usually set up to run tasks at regular intervals. This includes things like backing up data on a ...

Published 2 years ago

What Is A URL Slug?

A URL slug is the part of a URL formed from the title of the content. Let's use this blog post as an example. It has the title "What Is A URL Slug?" and its resulting URL is https://www.eddymens.com/blog/what-is-a-u...

Published 2 years ago

What Is A Boilerplate?

In software development, boilerplate code is code with many placeholders that you can replace with your code or data. Boilerplates come in different forms depending on the type of software. In web development, for instance, boilerplate code might provide you with a folder structure as we...

Published 2 years ago

What Is A Pseudocode?

Pseudocode is a simple, stripped-down version of a programming language with relaxed syntax rules used to expl...