The following are bits and pieces of code that I have written.
Bag of Tricks: A list of nifty perl one-liner scripts
Linux system programs to gather memory usage statistics
A Python program to monitor laptop's battery status on Linux
An assortment of Ruby scripts