Have a backup. Stop MySQL: sudo service mysql stop Move (or copy) your mysql directory. If you want /mnt/mysql to...
Using OpenSSL it's very easy to seriously encrypt files. Use the script below. Input / Output are self explanatory. Put...
When you delete a file with rm it's still possible to recover the file or parts of it. Use...
Sometimes you want to run a command forever, e.g. to compile a haml to html file on the console. Use...
When you need to bulk rename files you can not call "mv *.foo *.bar" to change the extension of all...
Note that this sounds good but is not good at all when hooking tasks on cap deploy (see this article...
If you run specs or your application and get an error like: ActionController::MissingFile in 'ProductsController#show, should render PDF...
To list the name and version of your Linux distribution, type the following: cat /etc/*-release
The idea is this: you take a job that you'd rather not do manually, and describe it to babushka...
It's that simple to allow one of your Linux users to run a single command as UID 0:
If you're on Ubuntu: sudo apt-get install ruby-dev On other platforms: Look for a package containing ruby...
Call geordi clean from a project root to remove unused and unnecessary files inside it. This script is part of...
This card explains how to install RubyMine for the first time. If you want to upgrade an existing RubyMine installation...
Because Nokogiri needs to be compiled and dynamically linked against both libxml2 and libxslt, it has gained a reputation for...
Have you guys ever done the math on that? You asked or allowed for 24000 interruptions from literally every human...
Plugins (and gems) are typically tested using a complete sample rails application that lives in the spec folder of the...
If your pidgin IM fails to connect to ICQ, you may need to update it. The ubuntu default sources are...
For clarity and traceability, your commit messages should include the ID and title of the Pivotal Tracker story you're...
To only run the next two migrations: rake db:migrate STEP=2 To revert the previous two migrations:
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...