github.com

Adds a slide out panel to your Rails application that directs clients to test stories that have been marked as...

When calling a Sass mixins, you usually don't need to quote arguments: +tint_article(#f21) However, when a CSS...

en.wikipedia.org

Although you can access many symbols using the AltGr key you may be missing some, like the en-dash (–) or...

blog.plataformatec.com.br

A while ago we were working on an application that had an entire version specially created for mobiles, such as...

makandra dev

There is no good equivalent for the Unix sudo command in Windows. Below are a few workarounds that are all...

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

makandra dev

This tool is used on our application servers (and called when deploying) but it also works locally. Just call dumple...

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...