Ruby Email to Database Log Script

This is a quick and dirty Ruby script that I threw together years ago to parse emails and jam their contents, line by line, into a MySQL database. It was originally written to handle NetGear firewall logs hence some of the nomenclature.  Very simple but it did the job quite well.  I’m posting it here …

June 11, 2010: One Million SpiceHeads Party

I was pretty exhausted when the alarm went off at five thirty this morning.  I did not want to get out of bed at all.  I slowly got up and took a shower.  Then I napped on the floor for fifteen minutes before actually dragging myself out the door.   I had tried logging in to …