Most of the JavaScript snippets have code that manipulates the DOM. For that reason dom manipulating javascript code should have...
If you want to move a complete commit from one repository to another (and you don't want to add...
If you defined your association via class Article belongs_to "category" end and you try Article.scoped(:include => :category)
In order to chain greps on log files that are opened via tail -f test.log you have to use the...
Saying git diff only shows unstaged changes relative to the index (or HEAD if the index is empty, alternatively any...
The following snippet demonstrates how you could create excel files (with spreadsheet gem) and format columns so that they follow...
This describes all the steps you'll need to get Solr up and running for your project using the Sunspot...
You want Photoshop to always open files with "full" (100%) zoom and not try to fit them to your screen...
Look up HTML5 features, know if they are ready for use, and if so find out you should use them...
Views are normally (for good reason) not rendered in controller specs. If you need it to happen, use:
Gem to get Rails 3's new ActiveRecord query interface (where, order) and the new scope syntax (chaining scope definitions...
It might sound trivial, but there is no such thing as a "hover" or "mouseover" state on touch devices. If...
Sometimes you want one distinct version of RubyGems to be installed to replicate the same behavior across multiple servers.
Use the command geordi migrate to migrate your databases and to prepare them before running tests. The abbrevation geordi m...
Let's say you have commits that change a file (and looking at the commit details show you the changes...
A short tutorial for XPath. It's the first XPath introduction that ever stuck with me. Also see XPath in...
Removing features and merging those changes back can be painful. Here is how it worked for me.\
In cucumber you are able to run features in whatever directory you like. This also includes executing features in subdirectories...
I have no idea how it's supposed to work (or why the don't have a print CSS), but...
This note summarizes the ruby exception hierarchy. Exception NoMemoryError ScriptError LoadError NotImplementedError SyntaxError SignalException Interrupt Timeout::Error # < ruby 1.9.2 StandardError...
Firefox, Opera and Internet Explorer will repeat elements with position: fixed on every printed page (see attached example).
Our gitpt script to generate git commits from Pivotal Tracker stories has been tweaked and polished and is now part...
Under XFCE keys like tilde are dead by default, which is impractical for programming and terminal work. To get rid...