Some browsers render PNG images with color profiles and other shenanigans, some don't. The cleanest way to have consistent...
script/runner -e development 'Article.all.each { |a| a.image.reprocess! if a.image.exists? }; "done"'
We built cucumber_spinner to have a progress bar for Cucumber features, which also outputs failing scenarios as soon as...
To test concurrent code, you will need to run multiple threads. Unfortunately, when you use blocking system calls (e.g. locks...
See the lemonade descriptions. Unfortunately, the gem has a few problems: it does not work with Sass2...
When you need to patch an existing gem, one way is to "vendor" the gem by copying it into the...
To improve installation times of gems you can use the following approach: gem install xyz --no-document To permanently ignore...
This note shows how to merge an ugly feature branch with multiple dirty WIP commits back into the master as...
Append this to your ~/.bashrc: export PS1='\[\033[01;32m\]\h\[\033[01;34m\] \w\[\033[31m\]$(__git_ps1 "(%s...
Basic configuration Please keep this config simple. It should be a starting point for new developers learning Git. [user]
This is for people recovering from Subversion. Get an existing from the server for the first time git clone git@example.com...
You are getting when connecting via SSH or deploying with Capistrano (which uses SSH): Too many authentication failures for username...
This project is (or will be) a best effort semi-static verifier for your Ruby on Rails projects. Delivered as...
I was setting up a Subversion repository one year ago. Of course, I also wanted to have regular backups of...
Maybe I haven’t been paying close enough attention, but over the past few years an interesting variation of CSS...
Web 2.0 sites have lots of tiny javascript/css files, which causes one extra round trip per file to the server...
Sprockets is a Ruby library that preprocesses and concatenates JavaScript source files. It takes any number of source files and...
I’m working on a problem for a client which involves connecting to a Microsoft SQL Server 2005 database from...
MMM (MySQL Master-Master Replication Manager) is a set of flexible scripts to perform monitoring/failover and management of MySQL Master...
Integrity is the angel watching over your shoulder while you code. As soon as you push your commits, it builds...
So, as a result, people using RESTful ideas to talk to browsers have to put the smarts back on the...
As a Typekit user, you’ll have access to our library of high-quality fonts. Just add a line of...
Rfm brings your FileMaker data to Ruby with elegance and speed. Now your Ruby scripts and Rails applications can talk...