Recently I developed a strange wear pattern on my car’s front passenger side tire (that’s front rightside tire for those driving on the “wrong” side”) – the outer surface of the tire was warn almost completely bald while the inside treat was fresh and meaty. This was rather odd, as I recently had the car [...]
When administering a Linux server, especially when several people share root access (with sudo, don’t give out that root password!) – it’s important to know when other root users are logged in. This is also a simple form of intrusion detection, since as soon as someone logs into the root shell an email will be [...]
Here is a little bit of shell script as a crontab that you can use to automate the checking of Ksplice kernel updates. This particular one does the following: Activates at midnight every day, server time Checks if there are updates If there are updates available to the kernel, to automatically apply the update Once [...]
Here’s a lazy liner that I cooked up to rip music from MixRiot.com – simply replace the URL variable with the page that contains the music and it will dump the music using wget with an MP3 extension! url=”http://www.mixriot.com/category/essential-mix/browse-show/broadcasts/bbc/radio-1/2009″; IFS=$’\n’;title=();id=();for i in `GET $url | grep FlashVars | egrep -o “mixriot.com%2Faudio%2Fplay%2F[0-9]{4}” | cut -b 30-`; [...]