Rewriting History With Git Rebase, Reset, and Amend
Editing an existing commit in history with an interactive rebase, reset, and amend.
How to Pluck Like a Rails Pro
The pluck method is a performant option to query columns from one or more tables. The ability to pass valid SQL directly makes it all the more handy.
Batch Number Increment in Vim
How to use Vim’s sub-replace-expression command to batch increment a set of numbers.
Install your own PhantomJS on Travis CI
Poltergeist requires at least PhantomJS 1.7.0. Travis CI provides 1.6.1. Here’s how to bump your version of PhantomJS.