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

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:

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

vectormagic.com

Automatically convert bitmap images like JPEGs, GIFs and PNGs to the crisp, clean, scalable vector art of EPS, SVG, and...

cssnewbie.com

The trick is this: send a low-resolution version of your image to the screen, and a high-resolution version...

makandra dev

When installing RMagick you may get an error messages like this: Version 2.13.1: checking for Ruby version >= 1.8.5... yes

I prefer using Opera's "User mode" to toggle an outlining of HTML elements quickly. This helps greatly when you...