The HTML5 download attribute
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.
Get comfortable with abstraction
I stumbled across a tweet 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.
Thoughts on being a good manager
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.
I should have been asking my users this from the start
Feedback is critical to an app's success. How will you know what to fix or improve on if your users don't tell you? It seems obvious, but here is something I should have been asking my users from the start.
Why developers hate being interrupted
I stumbled across a post today (that unfortunately no longer exists) and I was almost convinced that I had written it myself. Many of the points in it hit home, so I hope it helps people better understand how developers think and what they go through when interruptions arise.
Social sharing buttons are ineffective
Back in 2012, I wrote an article called Down with the "Share" Widget. In it, I talked about why plastering social sharing buttons all over your website is completely ineffective. This morning, Smashing Magazine all but confirmed my theory.
How to use currentColor in your stylesheet
I've had my head buried so deep in code that I hadn't even noticed this existed. It's a simple way to reference the current text color when writing CSS. Works in modern browsers, including IE9+.
I switched from tabs to spaces and haven't looked back
Last week I started using spaces to indent code instead of tabs. It's something I swore I would never do, but I'm glad I finally did.
CSS reset with box-sizing fix
For ultra lightweight projects where a framework is overkill, I tend to use Eric Meyers' CSS reset. And since I'm not a glutton for punishment, I also throw in the tried and tested box-sizing fix popularized by Paul Irish. Instead of searching for and combining these snippets every time I need them, here's a paste-ready version for convenience.