commandlinefu.com

The colors in Rails log files are helpful when watching them but, since they are ANSI color codes like ^[[4...

The state_machine gem comes with a rake task that lets you generate PNG graphs from any model using state...

There are many blog posts on encrypting backups, but none works for local drives. #How to Encrypt the external backup...

github.com

Microsoft provides virtual machine disk images to facilitate website testing in multiple versions of IE, regardless of the host operating...

Did you check Copy to Projects Asset as...

...and there is an existing file with the same name in your...

Note that converting from RGB to CMYK will usually degrade your colors because no exact mapping is possible. Anyway, this...

Consider this HTML: Even though the surrounding container defines a line-height, which vertically centers its inline elements, the check...

makandra dev

If you want to use the (badly implemented!) solarized color scheme in your Rubymine IDE: Clone the IntelliJ IDEA port...

makandra dev
ethanschoonover.com

Solarized is a sixteen color palette (eight monotones, eight accent colors) designed for use with terminal and gui applications. It...

tl;dr: Always have your attachment path start with :rails_root/storage/#{Rails.env}#{ENV['RAILS_TEST_NUMBER']}/. The directory where you...

Don't simply test for the presence of the magic Paperclip attribute, it will return a paperclip Attachment object and...

When your Cucumber feature needs to browse the page HTML, and you are not sure how to express your query...

makandra dev
github.com

When you need to use diff in either some Ruby code or your Rails app, use the differ gem.

When you have a program running in a hidden X screen (like with Xvfb for Selenium tests) you may want...

Below you can find the hex color codes for the Color Graphics Adapter palette which used to be popular in...

VirtualBox does not offer anything for this task -- you need to do it yourself. It's not that hard:

makandra dev

Every time you open a directory containing images, Windows creates those pesky Thumbs.db files for a minor speed-up and...

Thunderbird 5 brings a custom chrome on Windows Vista/7 that uses translucent Aero decorations on toolbars and menubars. Here is...

You probably need to activate X-Sendfile.

Sass comes with many built-in functions to manipulate color. Some of the more interesting functions include: adjust-hue($color...

geordi, our collection of awesome shell scripts, has been extended by three scripts to help you call RSpec or Cucumber...

Install FreeBSD Download a suitable image from this site Select File > New… to and follow the instructions, choose the .iso...

Install Ubuntu Server Download an image from this site Select File > New… to and follow the instructions, choose the .iso...

wiki.qemu.org

When you want to quickly boot from a drive or image in a virtual machine you do not need to...