This a great solution for freelancers, agencies, or anyone that needs to edit a website. In just minutes, you can hook it up to just about any site and start editing content inline.
This a great solution for freelancers, agencies, or anyone that needs to edit a website. In just minutes, you can hook it up to just about any site and start editing content inline.
Here’s the best way to flush DNS cache on OS X: sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder; say cache flushed Notice that last part — that’s why this is the…Continue reading
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. function valid_email($email) { return !!filter_var($email, FILTER_VALIDATE_EMAIL);…Continue reading
I recently launched another free tool similar to DirtyMarkup, but instead of working with code, it’s for working with text. It’s called te-xt.com.
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…Continue reading
Here’s a nice way to fade your pages in using CSS and a bit of JavaScript. The solution is clean and smooth, with no flickering on load. If JavaScript is…Continue reading
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…Continue reading
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. This issue has apparently been fixed, but it still affects up…Continue reading
Have you ever needed to send a PHP variable, array, or object to JavaScript? It can get complicated trying to escape the output properly. Here’s a way that always works—no escaping…Continue reading
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.