This is a bash script for those of you who need to install all gems for all projects (e.g. to...
Ctrl + R Search commands you entered previously. Press Ctrl + R again to search further back, Ctrl + Shift + R searches forward...
This note describes how to setup a box running Ubuntu to share its Internet connection with another PC.
When doing a presentation you may want to hide your desktop icons. You can switch them off (or back on...
I prefer the application that I'm currently working on to be reachable at http://localhost/. So when I switch...
If you previously used version 2.x of Thunderbird and upgraded to 3.x (for example through an Ubuntu release...
This can be helpful when you need the latest file inside a directory for processing in a shell script:
If you did file operations inside a shell or for example using Nautilus, it can take quite a while until...
You need to install the following packages before you can build the Nokogiri gem: sudo apt-get install libxml2-dev...
If you get an error message like that you are missing the Aspell files a specific language:
If you have problems with SSH session timing out, add the following to your /etc/.ssh/config: Host * ServerAliveInterval 55 ServerAliveCountMax 2
This post will describe how I stumbled upon a code path in the Linux kernel which allows external programs to...
A good tool to generate strong passwords and secrets is "apg". You can get it with sudo apt-get install...
You need to install the following packages before you can build the Paperclip gem: sudo apt-get install imagemagick librmagick...
If a SSH shell dies (from timeout for example), you cannot kill it with the usual CTRL-C or CTRL...
Note that you should disable the Java plug-in in your browsers after installation. Ubuntu >= 12.04 Java 11
In /etc/crontab In /etc/cron.d/* In /etc/cron.hourly/* In /etc/cron.daily/* In /etc/cron.weekly/* In /etc/cron.monthly/* In the personal crontab of any user. This...
power-rake db:migrate VERSION=20100913132321 By default the environments development, test, cucumber and performance are considered...
When Paperclip attachments should only be downloadable for selected users, there are three ways to go. The same applies to...
If you need to find all files inside a directory that were modified in the last 24 hours you can...
First of all: You could just use RVM which would make the pain go away. If for some reason you...
Physical servers worked, EC2 did not.
sudo apt-get install i8kutils Reboot You can now run the i8k tools such as i8kmon Setting the fan speed...
Call with the server's hostname (and user if you have no SSH agent), e.g. install-gems-remotely my.server.com