If you specify different ports, you can run multiple local webricks with rails server --port=300X at the same time...
The Rails logger will store its content in a buffer and write it into the file system every 1000 lines...
When you require the Ruby debugger to be available from your Rails console (e.g. you want to inspect a method...
Single step and slow motion for Cucumber scenarios can come in handy, especially in @javascript scenarios. # features/support/examiners.rb AfterStep('@slow_motion...
In case you have sensitive data within your RDS instance, you want to use encrypted connections between your application and...
The colors in Rails log files are helpful when watching them but, since they are ANSI color codes like ^[[4...
The technique described in this card has an important caveat: The result of GROUP_CONCAT is truncated to the maximum...
There is a new card about how to do this with the new AWS Command Line Interface
If Rails or Rake are complaining about a missing gem that is listed in your Gemfile.lock and the listed version...
This will reduce the filesize of foo and bar to 0 bytes: truncate -s0 foo bar If the files do...
Most likely you run rake and your code is causing an exception which is not the one shown in your...
whatsmydns.net is an online service that allows you to instantly perform a DNS lookup to check a hostnames current IP...
Consider you have a website vhost listening to www.example.com, redirecting all incoming requests that do not talk about the configured...
If your application raises an error like ... Couldn't connect to the Solr server at http://127.0.0.1:8983/solr. 500 "Lock...
You can use fold: fold -sw 60 You can now paste your texts. fold will echo them back, word-wrapped...
When you drag a file from a Nautilus window into a terminal window, the file's path will be pasted...
Whenever Firefox updates, all your Cucumber features that use Selenium break. This is annoying. In order to remedy this, version...
If you have different users for different servers, don't use set :user. Encode the username into the server definition...
There is a bug in Rails 3's dbconsole script, which makes the following command open a database console for...
Microsoft provides virtual machine disk images to facilitate website testing in multiple versions of IE, regardless of the host operating...
Great blog with daily news and HOWTOs for Ubuntu, Linux and Gnome.
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...