Ubuntu comes with keyboard layouts like "Germany Eliminate Dead Keys", which are practical for programming. If you need to type...
Sometimes you need a file of some size (possibly for testing purposes). On Linux, you can use dd to create...
Some folks have started to keep their linux configuration in a git repository called "dotfiles". This sounds like a good...
VirtualBox does not offer anything for this task -- you need to do it yourself. It's not that hard:
When you do a bitwise copy using the dd tool you will not see any output until it completes or...
When you generate a URL in a mailer view, ActionMailer will raise an error unless you previously configured it which...
cpulimit is a simple program which attempts to limit the cpu usage of a process (expressed in percentage, not in...
I've recently encountered a weird problem with specs making lots of SOLR queries using the acts_as_solr plugin...
Here are some popular mistakes when using nested forms: You are using fields_for instead of form.fields_for.
We're adding a script console-for to open a remote Rails console with one command. Also have a look...
If you are exchanging files with a client via Dropbox you do not need to access the Web page every...
If you stub a method or set expectations with should_receive these stubbed methods may also yield blocks. This is...
If you want to have an English Ubuntu UI, but still see dates, money amounts, paper formats, etc. in German...
In shell scripts you can use $1 to refer to the first argument, $2 for the second, etc. If you...
This is somewhat similar to the touch command of Linux: FileUtils.touch 'example.txt', :mtime => Time.now - 2.hours If you omit the :mtime...
If you need Google Chrome to run in English, and your system locale is a non-English one, you have...
If you are connected with a network that forbids e-mail traffic but allows SSH, you can tunnel your e...
geordi, our collection of awesome shell scripts, has been extended by three scripts to help you call RSpec or Cucumber...
(Rails has a method ActiveRecord::Relation#merge that can merge ActiveRecord scopes. However, its behavior has never been clear, and...
You know there is the du command to fetch the disk usage of a directory (“.” in this example). By default...
In order to request a SSL certificate from any dealer, you usually need a CSR certificate. As both the CSR...
If you want to enforce soft tabs (spaces instead of tabstops) in Vim put this into your ~/.vimrc (Linux) or...
Copy the attached Ruby code to config/initializers, or paste it into your IRB console. You can now dump any two...
Update: Staticmatic will not be further developed. They suggest to switch to middleman. If you need to make a static...