Archive for April, 2007

MBOX buster

I recently joined the DSM-ECU list on yahoo groups. When I did I wanted something to download the archives for offline reading. I found such a thing in yahoo2mbox. Unfortunately, I don’t read mail in mbox format. I wrote this perl snippet to bust the messages out into maildir style files. It’s nothing terribly fancy, but it works a treat. Feel free to use it for whatever … Or not … Whatever :-P

#!/usr/bin/perl -w

$| = 1;

my $filename;

while() {
     if(/^From /) {
     close(FILE);
     $goodfile = 0;
     while($goodfile == 0) {
         $filename = time() . "." . int(rand(65535)) . "." ' `hostname`;
         if( -f $filename) {
             # ERROR: $filename already exists
             next;
         }
         else {
             open(FILE, ">>$filename") or die("Unable to open $filename: $!");
             $goodfile = 1;
         }
     }
         next;
     }
     print(FILE $_);
}

Enjoy

… End of Line …

‘Bout time for an update I guess

Wow… I’m neglecting both my readers lately…

Let’s see. We took the Mustang to the track a couple weeks back. Best time was 14.09 @ 101MPH, but I only got to make 2 passes. That’s not exactly fast, but it’s not too bad for a car that weighs over 3700 pounds with me in it and is bone stock. I can probably take almost a second off of it with better tires and a better launch. We’ll see.

The kitty is doing well. He’s a little spazz case, but very entertaining to have around.

Brittany’s working as a leasing agent for an apartment complex in Garland. She’s been there about a month, and that seems to be going pretty well.

I’m still digging the gig with Verizon. It’s not all sunshine and rainbows, but it’s a whole different world from where I left.

What else …

The Talon is about to come back to life for the summer. I’ve replaced the fuel tank, pump and line. There’s a new FMIC kit on the way for it, and I have a 2.4L engine located for it that I want to pair up with the racing transmission I bought last fall. All together I should be able to get into the 11′s pretty easily. For those that don’t know what that means – The Corvette z06 runs the 1/4 in about 11.5 seconds and it’s a 505HP car and costs over $60K. There’s something very satisfying about destroying a $60K car in a 17 year old 4 cylinder import.

I played a Wii last night. Those things are really cool, and I can’t wait to get one.

I guess that’s about it for now.

… End of Line …

Return top