Author Archives

SheevaPlug Migration

Recently my wife and I had our second child. Instead of putting the kids in day care and pay somebody else to raise our children we decided that my wife would stay home. This meant a drastic change to our income. As part of our cost cutting measures, I decided to leave my VPS hosting [...]

AddThis WordPress Plugin with WPMU

UPDATE 2/9/2010: AddThis recently released a version 1.6.1 which fixes the issues. It contains *basically* this patch with if ( wordpress version > 2.7 ) checks to maintain backward compatibility. I wasn’t worried about that because people shouldn’t run old, unsecure versions of wordpress, however I can see why AddThis wouldn’t care and would want [...]

Mirror Checking using a “live” md5sum

If you’ve “mirrored” some files and want to do an md5sum check recursively without an intermediate file (md5sum > file; md5sum -c file) you can do it in one easy step using this from the relative path where you are mirroring: ssh ${HOST} find ${DIR} -type f -exec md5sum {} \\\; | sed sF${DIR}FF | [...]

Metallica – One-liner

I use Metallica one-word song titles as hostnames on my PCs, so to easily look through my MP3s to find 1-word song titles, I used this gem: ls * | sed -n ‘s/^.. – \([^ ]*\).mp3$/\1/p’ | sort -u

Assembly (UCR CS61)

It’s been a while since I’ve actually done anything with assembly code, but going through some old directories from UCR, I found some of my old assembly code. I feel like posting it to get something on the site, so here’s some of the assignments. It’s assembly for the artificial architecture called the “LC2″. If [...]