Create a simple router in PHP by directing all traffic to one file.
"Thanks a million for your well-written, easy-to-follow and practical guides. Previously I hated working in WordPress because it always felt a bit like trying to find the right tools in somebody else's kitchen — but now I feel confident opening up an existing theme and understanding how it works." — David Bock, Graphic Designer
A quick guide on how to create a global snippet in Visual Studio Code
Rewrite URLs with Apache and PHP for logical path structure.
Learn how to take some redundant and repetitive code and apply the DRY (Don’t Repeat Yourself) principle to refactor the code to be more efficient.
Learn the function to write a custom error log in PHP.
How to use the MAMP PHP executable to set up a cron job.
How to add basic authentication with username and password to a Node app running on an Express server, similar to htpasswd in Apache.
Recently, I needed to find the corresponding public key from a private key (.pem) to give a Linux user access to a server. I used the below code to generate…
Recently, I was working with some JSON decoded into a PHP array, and I needed to remove an item from the associative array. With only the value, I wasn’t sure…
Use jQuery to smoothly scroll the screen when an anchor link is clicked.
How to prevent scrolling on the mouse from zooming in an embedded Google map, with examples.
In this example, we’ll use CSS to infinitely fade between two images.
Create a CSS-only scrolling effect.
Create a permanent redirect for all files on a website to use the HTTPS protocol.
The bare minimum skeleton frame to start a website with HTML.
"The team I work with is made up of mostly designers who learned to code on the job, and they have been having a hard time keeping up with modern workflows and standards. This blog, and your open source projects, are exactly what I've been hoping to find to help remedy some of their pain and confusion. I think you hit a major pain point for a lot of devs who are both new and even experienced ones." — Dan Fletcher, Web Developer