To obtain a list of Passenger processes with their application directories and memory usages, you can say sudo passenger-memory...
If you need Google Chrome to run in English, and your system locale is a non-English one, you have...
When some of your Google contacts are no longer synchronized with your e-mail client or mobile phone, those contacts...
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
If you have to build a filename (e.g. for use in downloads) that contains user input, keep in mind that...
My RubyMine (and it seems like many other Java GUI applications) crashes the Compiz window decorator almost every time on...
If you want to use a helper_method my_helper_method inside a model, you can write ApplicationController.helpers.my_helper...
When you encouter an unsafe string that you actually made html_safe before, perhaps you called one of the following...
When CoffeeScript was added to Rails 3.1 they forgot one very important part, the ability to use it when responding...
Get "PuTTY Link" and "Pageant" (an SSH key agent) from the PuTTY download page. Run pageant.exe, find its icon inside...
Consider the following: describe '#something' do context 'with lots of required arguments' do it 'should work' do subject.something(:foo => 'foo...
This card explains how to upgrade an existing RubyMine installation to a newer version. If you're installing RubyMine for...
If you are connected with a network that forbids e-mail traffic but allows SSH, you can tunnel your e...
In older Ubuntu releases you could ALT+drag any panel bar to another position and/or monitor. In Ubuntu 11.04 Natty...
To activate the shell command, go to Tools > Create Command-line Launcher and confirm. Now you have mine as bash...
We recently added custom fields to Highrise which allow you to keep track of extra details beyond standard contact information...
An ancient essay on software design that, after 20 years, should still guide you for every line of code you...
All you need to know about the rise and fall of programming languages. Not really related to the worse is...
When rendering a number, you want to pretty up the string coming from #to_s: Render 0.0 as 0
Most web applications contain several examples of state machines, including accounts and subscriptions, invoices, orders, blog posts, and many more...
Yesterday, there was a blog post entitled “What the Hell is Happening to Rails” that stayed at the number one...
You can unpack a .tar.gz file into the current directory like this: tar -xzvf archive.tar.gz The options used are
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...