Ten years ago, I launched DirtyMarkup to clean up dirty code. It was a fun little tool, but its best feature was that it was easy to use and didn't have intrusive advertisements.
This morning was frustrating. I recently upgraded my VPS from the deprecated
letsencrypt client to the newer
cerbot client and generated new certificates for all my personal domains. I thought everything was fine — until I kept seeing intermittent SSL errors.
I needed a way to identify all HTML elements with duplicate IDs. This is a seemingly simple task, but unfortunately, I didn't find anything out there that fit the bill.
I was working on an OAuth implementation the other day and needed to open a third-party auth page in a new window.
Here is a fully customizable switch component I created for Bootstrap 4.
When I first started using Sass, there was one thing that drove me crazy about it compared to Less. For some reason, including a plain CSS file just wasn't something the compiler wanted to do:
Determining your app's base dir (or document root if you're from a PHP background) isn't as straight forward as you'd think in Node. Here's a little trick to get a globally available reference to your app's root directory.
For me, upgrading to MacOS Sierra broke a lot of things that use SSH, including Transmit, Sequel Pro, and a handful of other apps. In fact, it seems to break any app that uses an SSH key with a passphrase. 🤔
Back in 2011, I released the first version of SimpleImage for PHP — an open source project for working with images.
Here's a challenge that a friend of mine came across yesterday. He needed to iterate over an array of file names one at a time in a specific order, stopping at the first one that existed. He was, of course, using Node.js and the checks were being done asynchronously.
It wasn't long after launching a major open source PHP project until I started hearing things like this:
I recently made the decision to stop using modal dialogs in my apps. What once was a good way to obtain information or confirmation has become undesirable and taboo in the world of UX.
At just over 200 lines of code, you'll never want to deal with AJAX-based form submission any other way.
As a web developer, your code is often visible to anyone who wants to review it. If you're like me, you might get stressed out about the thought of people looking at your work and critiquing or criticizing your app's design.
How many times have you seen something like this in a config file?
Need to update your version of Node.js? Here's how you can upgrade or downgrade from the command line using NPM.
One of the objectives Matt Mullenweg has for WordPress is to democratize publishing, which is excellent. But the very same article states another objective is to "capture the 75 percent of the internet that WordPress doesn't already manage."
Here's the absolute easiest way you can validate an email address using PHP. This tiny function takes advantage of the filter_var() function in PHP.