Web Design

Archive for January, 2009

Configure Vim to write Hebrew text

If you want your Vim to be able to read and write Hebrew text, open up your .vimrc file and paste the following: set guifont=-Hebrew-Bible-Medium-R-Normal--16-160-75-75-M-80-ISO8859-8 [...]


Lock your KDE screen from the command line

Did you know you can lock your current KDE screen by using the command line? For the 3.x series use dcop kdesktop KScreensaverIface lock and for KDE 4.x try qdbus org.freedesktop.ScreenSaver /ScreenSaver Lock With the he[...]


Batch convert images from the command line

A simple way to convert images in Linux is by using the command line: convert image.jpg newImage.gif will convert the JPG file to a GIF file. convert -quality 78% file.jpg will set the quality of the JPEG file to 78% con[...]


Make the lights of your NIC blink

If you work on a large network and you get sent to the server room to check out a certain network card, you might get lost in the multitude of network hardware. To find your certain NIC, SSH to the machine in question an[...]