Let's say you have an Explorer window showing a directory and want a cmd terminal to be opened there...
I believe that when WEBrick has trouble bringing up your Rails application, the WEBrick component that is supposed to print...
DeaDBeeF is one of the better music players for Linux. You can find installation instructions here.
Note that converting from RGB to CMYK will usually degrade your colors because no exact mapping is possible. Anyway, this...
Use the PDF toolkit: sudo apt-get install pdftk To rotate page 1 by 90 degrees clockwise: pdftk in.pdf cat...
Linux provides a fix number of filesystem watches. If you have some greedy daemon (like dropbox) running, chances are it...
After updating Rubygems you see a wall of deprecation warnings like this: NOTE: Gem::SourceIndex#add_spec is deprecated, use...
I recently browsed through the ActiveSupport code and found some nice stuff I did not know about: ActiveSupport::Callbacks
Consider this HTML: Even though the surrounding container defines a line-height, which vertically centers its inline elements, the check...
Grep prints one line per match. To return the number if matches, use the -c switch: grep -c "something" filename...
This article from the FreeBSD Handbook suggests that editing /etc/rc.conf enables DHCP. Unfortunately, some times this seems not sufficient.
If you use Amazon AWS cloud services you definitively want to utilize software raid for IO intensive stuff such as...
Whenever you deploy using Capistrano, a new folder is created within the releases directory on the remote server containing the...
Vim allows recording a batch of commands as a macro. This is handy if you need to do the same...
Hint: There's another card with this helper for Cucumber features. Sometimes you feel like you need to stub some...
When your Cucumber feature needs to browse the page HTML, and you are not sure how to express your query...
This post is not about devops, it's not about lean startups, it's not about web scale, it's...
Under the same origin policy, a web page served from server1.example.com cannot normally connect to or communicate with a server...
If you are in the middle of a file and want to scroll, but don't want to move your...
This is now part of geordi. Please don't follow the instructions below, if you use geordi. Inspired by the...
When you have a program running in a hidden X screen (like with Xvfb for Selenium tests) you may want...
Resque comes with its own dashboard (Resque server) that you can mount inside your Rails 3 application with #config/routes.rb:
Note: While the solution in this card should still work, we prefer another solution now: Hide your Selenium browser window...
Note: If you are currently working with Ruby 1.8.7 or 1.9.3, we recommend to upgrade to Ruby 2.1 first. From...