Miscellaneous

These are various scraps of code that don’t fit into other categories.

AIMBot
A collection of robots for AOL Instant Messenger. Requires the TAClink needed client, and also possibly HeXlink needed.

apm.c
Display the current battery life on a FreeBSD system.

buf_size.c
Determine the optimal buffer size based on the amount of system time required to write various blocks to a temporary file. This doesn’t seem to work anymore for some reason.

bump-serial.sh
Bump the serial number in a standard DNS zone file to either the current date x 100, or increment it by one.

cdda2mp3.rb
A Ruby script to rip, encode, tag, and organize MP3s from a compact disc. Also see the original shell script version: cdda2mp3.sh.

clsearch.rb
Search CraigsList for apartment listings based on location and price.

ethvend (also ethvend.tgz)
Identify the vendor of a specific Ethernet address, including by IP address (if it exists on the current subnet).

fetch-megatokyo.csh
Fetch all MegaTokyo comic strip images. I think this no longer works now that the URL scheme has changed. Somebody should fix it.

fp.c
Print the buffered IO callbacks used in libc for various file types.

fxtvchan
Change the channel from the command-line on “FreeBSD TV”. Works with Brooktree drivers for FreeBSD. Used with ffmpeg for headless recordording of TV shows.

idle.c
Print a message to the terminal when another user stops being idle. This is furiously nerdy, but I used it to stalk girls I had crushes on who used the same shell boxes.

mipsdis.c
A MIPS disassembler in 218 lines of ANSI C. Could probably be shorter if it were less readable.

mixer.sh
A bootstrap script for FreeBSD to maintain the audio mixer state between reboots.

motd.asm
Assembly language program to print the contents of /etc/motd. Doesn’t seem to work anymore.

port-update.csh
Update only a specific FreeBSD port and its dependencies from a CVS repository. Avoids the overhead of doing a full update.

rot-bg.pl
Rotate the X background image every n minutes from a cached directory of images. I used this to alleviate boredom and freak out my coworkers.

syscall.c
Print the return value of a given syscall. Not sure what this was useful for anymore.

thetick
A fortune file of quotes from The Ticklink needed. Can be installed into /usr/share/games/fortune and used with fortune thetick.