I’m now using git heavily for configuration management and wanted to sign my objects. There were no complete guides out there that I found so here is the list of instructions that I finally arrived at: If you have a key that you are already using to sign things (email, code, whatever) then you can [...]
In the course of running various grep(1) combination to find various defects in source files I ran into inherent grep(1) difficulties. It seems that the regular expression syntax in grep(1) is very limited and so it’s better to use perl to solve these issues as it’s regular expression support is fantastic. A small script can [...]
Here is what I found the hard way. Sometime you want WordPress to install plugins, themes and all and do not want to pass through an ssh or ftp connection in order to achieve this. Maybe you have your own machine and do not want to run or configure an ssh or ftp server (which [...]
I’ve recently tried setting some sites icon to appear as the small icon you see at the tab you are browsing it. This icon is called favicon.ico and is located in your servers root directory which resides in /var/www on standard systems. When changing this icon and reloading the page in Chrome the icon got [...]
If you want to remove all packages which are in the “rc” state (means that the package was already removed but only it’s configuration remained) you can use the following command as administrator: dpkg –purge `dpkg –list | grep “^rc” | tr -s ” ” | cut -d ” ” -f 2` Take care to [...]
I’m using both DropBox and Ubuntu one services in my desktop and laptop machines and I find dropbox much superior. Here are the reasons why: You can get ridd of dropbox (just dpkg –remove it). Installation is very easy (apt-get install). It is very clear that dropbox is running (via the tray icon). The tray [...]
I wanted to convert some video files on my Linux system to the xvid codec so that I could see them on my PS3. The solution I found was using the mencoder package. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [...]