When you need to bulk rename files you can not call "mv *.foo *.bar" to change the extension of all...

If you find yourself working in the Adobe Flash IDE you're already doing it wrong, but maybe the hour...

cyberciti.biz

To list the name and version of your Linux distribution, type the following: cat /etc/*-release

When you use the send_file method to send a local file to the browser, you can save resources on...

getfirebug.com

You know Firebug as a Firefox extension but there is also a "Lite" version which runs purely off JavaScript.

github.com

jQuery plugin to register callback functions to keyboard shortkuts. Keyboard events in vanilla Javascripts are super-painful to work with...

A check if two date or time ranges A and B overlap needs to cover a lot of cases:

This card describes a Cucumber step that lets you say: When I perform basic authentication as "username/password" and I visit...

Are you adding a "Then show me the page" and re-run Cucumber whenever there is a failing scenario? Don...

Call geordi clean from a project root to remove unused and unnecessary files inside it. This script is part of...

The following Sass will do the trick: button, input[type="reset"], input[type="button"], input[type="submit"], input[type="file...

kernel.org

Git allows you to do a binary search across commits to hunt down the commit that introduced a bug.

See our new comprehensive guide to upgrading every Rails 2 version ever.

linux.die.net

If you need to find out which of your local commits are not on the remote server do this:

kernel.org

The ‘merge.*.driver` variable’s value is used to construct a command to run to merge ancestor’s version, current...

makandra dev

Every time you amend, rebase or reset, git commits get "overwritten". However, git still allows you to checkout those commits...

When you eagerly load an association list using the .include option, and at the same time have a .where on...

makandra dev

If you modified git's history and the change was already pushed, you will usually get a ! [rejected] my-branch...

To change the commit message of the latest (unpushed, unmerged) commit, you can use git commit --amend

makandra dev

Lets say you need to make a change to a commit OLD_COMMIT, but this is not the most recent...

This card explains how to install RubyMine for the first time. If you want to upgrade an existing RubyMine installation...

makandra dev

In order to go back one page in your Cucumber tests, you can use the following step definition for Capybara...

To change a commit message of the most recent (unpushed) commit, you can simply use git commit --amend -m 'new...

Plugins (and gems) are typically tested using a complete sample rails application that lives in the spec folder of the...