To show the MySQL default character set you have to login to the MySQL console and execute SHOW VARIABLES LIKE...
If you specify different ports, you can run multiple local webricks with rails server --port=300X at the same time...
If you want to know the exact hits on your website (or whatever logfile you want) for a specific date...
The most common use case for Ruby's #collect is to call a method on each list element and collect...
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...
Using git rebase can be painful but luckily you can resort to cheating with git reset and committing anew.
In order to open a MySQL shell without the need to enter user and password, you can say the following...
Since version 11.10 Opera provides support for linear gradients using -o-linear-gradient. The syntax is pretty similar to Mozilla...
In case you have sensitive data within your RDS instance, you want to use encrypted connections between your application and...
Recently, we had an interesting lunch-break with the rails 3.1. asset-pipeline in production mode. Daniel Zahn made a...
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...
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...
We forked craken today and fixed one of the issues we had with new (>0.8.7) rake versions. The craken:install...
If your application raises an error like ... Couldn't connect to the Solr server at http://127.0.0.1:8983/solr. 500 "Lock...
If you have different users for different servers, don't use set :user. Encode the username into the server definition...
Selenium does not speak SSL because it uses WEBrick that doesn't. When you use Selenium for Cucumber scenarios that...
I believe that when WEBrick has trouble bringing up your Rails application, the WEBrick component that is supposed to print...
If you use Amazon AWS cloud services you definitively want to utilize software raid for IO intensive stuff such as...
If you use Nginx with SSL and get an intermediate certificate with your certificate you have to do this: