If you're a PHP developer that's starting to fall in love with ruby (like me),
you'll want to know how to write "PHP-style" web applications in ruby, for small
web apps that don't need the complexity of Ruby on Rails. You want:
The wmctrl program allows you to programatically bring a running application
to the foreground on Linux. It works even with compiz enabled, and will switch
to the virtual desktop that the application is running in before bringing it to
the foreground. This makes it a perfect utility for mapping keyboard ...
If you use Truecrypt on GNU/Linux, you will want to stop mlocate (the locate
command) from automatically indexing your files and compromising your privacy.
Ruby is an awesome programming language. Its metaprogramming capabilities make
it easy to turn the interactive ruby interpreter (irb) into an awesome desktop
calculator. To do so, we can make irb execute a ruby script, containing some
calculator extensions before it starts, with the following command:
The following is a simple and easy way to get clipboard sharing with Vim working
between two Linux installations (specifically a desktop and remote server).
First install xclip on both your local machine and the server:
apt-get install xclip
Installing xclip will bring along some dependencies like x11-common, but
don ...