Latest Posts
- Shell script to verify tar archives
Posted: 5 hours ago by Alain Kelder
Got thousands of tar archives being transferred from various machines to one repository. Found that some of the archives are bad, either because the networ… more
- Calculate split percentage as part of the split command line
Posted: 4 days ago by Alain Kelder
The split command is one gem of a Giant Dork tool, but it expects to be given the number of lines to split a file along. It's easy enough to fire up a calc… more
- FTP server with virtual users on Debian Lenny
Posted: 10 days ago by Alain Kelder
Had to setup an FTP server at work (yuck), guides I found elsewhere didn't do exactly what I was after, so it took some trial and error to achieve the setu… more
- Excellent free SSL certificates with killer service to boot
Posted: 18 days ago by Alain Kelder
If you aren't using StartSSL for your SSL certificate needs, you should take a hard look in the mirror and ask if the outrageous prices aged established Ce… more
- Cheap Computers
Posted: 20 days ago by Jason Sares
The largest democratizing force in technology is the falling costs. Moore's law (and others) established that we can count on increases in performance… more
- Install Boxee with APT on Ubuntu 9.10 (Karmic)
Posted: 21 days ago by Alain Kelder
Boxee folks helpfully host an APT repository (http://apt.boxee.tv/), but, as of this writing, only for Ubuntu 8.04 (Hardy) and 8.10 (Intrepid). But if you… more
- ULV Laptops
Posted: 25 days ago by Jason Sares
I'm really excited by all the new Ultra Low Voltage laptops. They use either Intel's Core based chips designated by the SU prefix (such as the Core 2 SU… more
- CentOS vnstat error: Unable to create database backup
Posted: 27 days ago by Alain Kelder
On CentOS 5.4, the vnstat cron job generates an error:
Error: Unable create database backup "/var/lib/vnstat/.venet0".
By default, vnstat cron jo… more
- Find files and pass to du to get a human readable list sorted by size
Posted: 31 days ago by Alain Kelder
I liked Jason's solution of passing a file list to du via xargs to produce results sorted by size in human readable format, but wanted ability to limit fil… more
- Achieve faster file transfer times by running Rsync as a daemon
Posted: 35 days ago by Alain Kelder
When syncing files over a trusted network, where speed matters more than someone's ability to see contents of the transfer, might want to run rsync as a da… more
- SpamAssassin Bayes plugin brings me gift of 100% filter accuracy
Posted: 37 days ago by Alain Kelder
Dec 09 was the first month I had achieved 100% spam catch rate since I started filtering my own mail a few years ago. Thanks, SpamAssassin Bayes plugin! Me… more
- Comment out lines matching pattern with Sed
Posted: 40 days ago by Alain Kelder
Let's say you've got a file with the following lines:
cat file.txt leave me alone leave me alone comment me out leave me alone comment me out al… more
- Future proof your certificate with a 2048 bit key
Posted: 53 days ago by Alain Kelder
It was time to renew a couple of certs and it turned out that the CSR I had originally used was generated with a 512 bit key. Dynadot, who, by the way, off… more
- Save your keyboard with SED
Posted: 60 days ago by Alain Kelder
Once again I did something that changed the host key (like rebuild the host). Now I'm trying to SSH to it and get the usual warning from SSH that the key i… more
- Revive a dead iPhone following complete battery discharge
Posted: 71 days ago by Alain Kelder
I guess I must have let the battery on the iPhone completely discharge, as I found it motionless and unresponsive last night on my desk. Plugged it in, sti… more