Solarized color scheme for Rubymine

Posted Over 12 years ago by Thomas Eisenbarth.

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

Solarized

Posted Over 12 years ago by Lexy.
ethanschoonover.com

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

Always store your Paperclip attachments in a separate folder per environment

Posted Almost 13 years ago by Henning Koch.

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

Check whether a Paperclip attachment exists

Posted Almost 13 years ago by Henning Koch.

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

How to grep through the DOM using the Capybara API

Posted Almost 13 years ago by Henning Koch.

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

How to diff two strings in Ruby

Posted Almost 13 years ago by Dominik Schöler.
github.com

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

How to look at hidden X screens

Posted Almost 13 years ago by Arne Hartherz.

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

Hex color codes for the CGA palette

Posted Almost 13 years ago by Henning Koch.

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

How to enlarge a VirtualBox VDI disk file

Posted Almost 13 years ago by Arne Hartherz.

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

Getting non-Aero toolbars for Thunderbird 5 on Windows 7

Posted Almost 13 years ago by Arne Hartherz.

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

How to fix zero-byte downloads with Rails 3 and Apache / Passenger

Posted Almost 13 years ago by Henning Koch.

You probably need to activate X-Sendfile.

Manipulate color with Sass functions

Posted Almost 13 years ago by Henning Koch.

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

A nicer way to run RSpec and/or Cucumber

Posted Almost 13 years ago by Henning Koch.

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

Setting up FreeBSD as Virtual Machine in VMware

Posted Almost 13 years ago by Dominik Schöler.

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

Setting up Ubuntu Server as Virtual Machine in VMware

Posted Almost 13 years ago by Dominik Schöler.

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

Using QEMU to quickly test an ISO or bootable USB drive

Posted Almost 13 years ago by Arne Hartherz.
wiki.qemu.org

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

Vector Magic: Precision Bitmap To Vector Conversion Online

Posted Almost 13 years ago by Lexy.
vectormagic.com

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

Print-Friendly Images and Logos with CSS

Posted Almost 13 years ago by Lexy.
cssnewbie.com

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

Installing RMagick on Ubuntu

Posted About 13 years ago by Arne Hartherz.

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

Opera: How to use outlining for better layout debugging

Posted About 13 years ago by Arne Hartherz.

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

Liquid Canvas

Posted About 13 years ago by Arne Hartherz.
ruzee.com

Liquid Canvas is a JavaScript library which allows you to draw inside an HTML canvas element with an easy yet...

Onload callback for dynamically loaded images

Posted About 13 years ago by Tobias Kraze.

Sometimes you need to dynamically load an image and do something as soon as its loaded (when for example its...

Customize your Bash prompt

Posted About 13 years ago by Dominik Schöler.
github.com

The shell variable PS1 holds your bash prompt. You might want to change it to serve your needs best. Here...

Paperclip: Image resize options

Posted About 13 years ago by Ulrich Berkmueller.
imagemagick.org

Paperclip uses the imagemagick resize options like 100x50> , 100x50<, 100x50# etc to resize images. See the link what options are...