Use j and k Vim shortcuts to navigate Google Search results

TL;DR: Just use the Shortcut Manager Chrome extension to map j to run the JS code in this Gist. By allowing me to use my keyboard for pretty much anything in Chrome, the Vimium extension totally rocked my world. But as with all great tools, that new found power…

Stylus assets pipeline for the MEAN stack

The MEAN stack is a Rails-like full-stack Web application framework based on Node.js, Express, Angular JS and MongoDB. It comes bundled with a lot of awesomeness, including the Gruntjs task runner and Twitter Bootstrap, but lacks a CSS pre-processor and more generally a pipeline for assets compilation like you…

How to edit a Moom snapshot

I recently switched from Slate to Moom as a window manager for my Mac. I love Slate but have experienced too many crashes since switching to Mavericks. The one thing I really expect from a windows manager is the ability to restore a snapshot for all the windows in my…

Abstracting over your CSS framework is a no-no

The Zen Garden illusion When I first started using Twitter Bootstrap, I was still a big adept of the Semantics-all-the-things craze. I didn't like grids because they were unsemantic. I wanted the name of my CSS classes to be based on the nature of the content and not on the…

Parkinson's law of Pull Requests

Parkson's Law of Triviality states that the consideration an organisation will give to an issue is negatively correlated to the isssue's complexity. The original illustration involves a committee voting a £10M nuclear reactor project in two minutes before spending an hour arguing about a £350 bikeshed. That law applies really…

What not to test

Tests aren't free, and when it comes to getting things done, testing too much can be as bad as not testing at all. Automated tests are only valuable on applications that will change and get complex over time. Manual testing is generally more efficient for simple programs that won't change…