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.
If your PHP
mail() function is slow or failing, it's probably because sendmail isn't installed on your server. Here's how you can fix it.
Here's a cheat sheet for working with virtual hosts on an Ubuntu server. The instructions assume you're not logged in as the root user. Change example.com to your own domain/subdomain.
Last week, I launched Particle on Kickstarter. Today, I pulled the plug and canceled the campaign. We had 50 backers and were 5% funded. So why would I do this with 25 days left to go?
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."
If you need some tasty CSS hamburger icons that animate in fantastic ways, here you go.
Here's the best way to flush DNS cache on OS X:
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.
This is rather specific, but if you're implementing Handlebars (in PHP) using LightnCandy, here's a great helper that lets you compare values and generate output accordingly.
The "hamburger" icon is becoming a staple of modern UI design. Users see those three lines and immediately know that a menu lies beneath. There are many approaches to getting them into your app, including border hacks, box-shadow hacks, etc. Here's an approach that uses a very small data URI to get the job done.
Those default box shadows that appear inside of your input elements on iOS can be pretty annoying, especially if you're going for a flat or subtle look. Here's how to remove them.
Here's another gotcha if you're using PHP's
basename() on a string that contains non-Latin characters: The resulting string will get butchered.
Years ago I showed you how to force a file to download with PHP. Now with HTML5, you [almost] don't have to do that anymore.
I stumbled across a tweet by Quincy Larson the other day and it's been resonating in my mind ever since. Mostly because it's something I tend to have a problem with.
Some thoughts I had after conversations with a friend who has a terrible manager. This isn't nearly a comprehensive list, but it highlights many of the problems they were experiencing. Maybe my friend's manager will stumble upon it some day.