Category Archives: /StupidShellTricks

TemPageR 3E environment monitor

Recently ran into some heat issues in a mini computer room that has a window in direct line of the sun and problematic HVAC. Picked up a network enabled environment monitor so I could have some data to show when trying to get the issues resolved. Originally I was thinking about getting the Websensor [...]
Also posted in /geek, /sysadmin, /unix, /work | Leave a comment

Learn something new every day

Usually in a bash script when I want to parse a file line by line I do something like this: exec < foo.txt while read LINE; do SOMEVAR=$SOMEVAR,$LINE done This evening I was writing a bash wrapper for debootstrap to automate the building of chroot environments and for some reason I chose to stray away from my norm and [...]
Also posted in /geek | Leave a comment

geo-cam (explaining the previous post)

A while back when I was gearing up for the STP, I thought it would be cool to update my blog with a picture from my camera. That way I could send pictures during the ride. Then I thought it would be cool if I could send a phone cam picture with an address and [...]
Posted in /StupidShellTricks | Leave a comment

Spam Subject Lines

If you look at the left sidebar of my blog, you will notice a new feature. The random spam subject line. Tonight I decided to whip out a little bash cgi script that would pick a message at random from my spam trap and display the subject line. So every time you look at my [...]
Posted in /StupidShellTricks | Leave a comment

whore.cgi

In my spare time I help sysadmin the box this site is on. This generally means getting vhosts setup for people and showing them how to setup their mail client etc… Recently Jason moved his site and mail over so I have been setting up the webserver for him and what not. He sends me an [...]
Posted in /StupidShellTricks | Leave a comment