If you want to have an English Ubuntu UI, but still see dates, money amounts, paper formats, etc. in German...
This Perl script will run diagnostics on your MySQL database and recommend changes to your MySQL configuration.
Ever wondered if there is a reverse for Rails' .each(&:to_s) idiom? Turns out there is... You probably already...
This is somewhat similar to the touch command of Linux: FileUtils.touch 'example.txt', :mtime => Time.now - 2.hours If you omit the :mtime...
Sometimes, when running a rake task, RubyGems 1.8.5 raises an error: rake aborted! undefined method `specifications' for "/usr/lib/ruby/gems/1.8":String
My RubyMine (and it seems like many other Java GUI applications) crashes the Compiz window decorator almost every time on...
An ancient essay on software design that, after 20 years, should still guide you for every line of code you...
When rendering a number, you want to pretty up the string coming from #to_s: Render 0.0 as 0
Sass comes with many built-in functions to manipulate color. Some of the more interesting functions include: adjust-hue($color...
Yesterday, there was a blog post entitled “What the Hell is Happening to Rails” that stayed at the number one...
Because your examples should not change global state, you should not need to care about the order in which RSpec...
I encountered a bug in RSpec 1.x where stubbed class methods ("static methods") would not be unstubbed before the...
When you have a hook in your Capistrano file that dumps your remote database, you might not want it to...
Ubuntu natty introduced new "invisible" scrollbars for GTK programs such as gEdit or Nautilus. If you do not like them...
In order to request a SSL certificate from any dealer, you usually need a CSR certificate. As both the CSR...
This snippet makes links that refer to an anchor (like "...
...") scroll softly to it.\ In this example we only do...
Very nice font for programming.
Copy the attached Ruby code to config/initializers, or paste it into your IRB console. You can now dump any two...
Put the attached file into config/initializers/ to be able to say created_within on any ActiveRecord or its scope chain...
Deprecated ways to execute shell code in Ruby This is just a reference for legacy code. For new code, always...
When your cucumber features grow massively over time, the test execution can take a lot of time.
One of the more controversial changes in the Ubuntu 10.04 beta is the Mac OS-inspired change to have window...
Soon after having written our shell-for script, we wanted to easily get dumps of our productions machines, too. This...
After having written useful scripts into makandra notes for a long time, we’ve now tied them into a powerful...