Parse an uploaded CSV file in 2 lines in PHP/CakePHP

Nasty but gets it done: $delim = ‘,’; $enc = ‘”‘; $line = “\n”; foreach( str_getcsv ( file_get_contents( $tmpname ), $line ) as $row ) $csv[] = str_getcsv( $row, $delim, $enc ); // print_r( $csv ); or, if you want to be even more crazy, in 1 (note, config options are inline but I left …

Parse an uploaded CSV file in 2 lines in PHP/CakePHP Read More »

First Ride of 2012

We rode, we drank, we all like cannolis without chocolate chips – we are the Bulgarian Racing Team.

JATO 3.3 at Mulch Mountains

I found the best place to run the JATO – amidst mountain of mulch, right near the DMV in Winsted! Mulch is great for many reasons. First, it’s got plenty of little bumps and humps to make driving fun and challenging. If you wipe out, it’s not as abrasive on the car as pavement or …

JATO 3.3 at Mulch Mountains Read More »

JATO 3.3 Ready to Rock

Yesterday, I had the pleasure of picking up a like-new Traxxas JATO 3.3. My JATO had somehow gotten rusted over the winter in my barn. Lesson learned. However, the aluminum hop-up parts I’d bought were still almost mint. They needed a buffing and I cleverly thought to throw a couple coats of clear enamel on …

JATO 3.3 Ready to Rock Read More »

Head-butt a tree

Go ahead and give it a shot.  You will not win.  Not even if you take a running start up to the thing.  Not even if you take a running start up to the tree on a downhill.  Not even if you take a running start up to the tree on a downhill and you’re …

Head-butt a tree Read More »

Terratrike Cruiser brake line improvement

Today, I found a kink in my left brake line which was probably the result of the brake line getting caught in the spokes and wrenched. It was making the brake stick, so I got a replacement cable and sheilding from the LBS. After installing, I was testing the steering and I realized that there …

Terratrike Cruiser brake line improvement Read More »

DIY Luggage Rack for Terratrike Cruiser Recumbent Tricycle

Terratrike Cruiser DIY Luggage Rack - side view

You’ve been tearing your hair out because you have an old license plate and you just don’t know what to do with it. You also have a Terratrike Cruiser (or something similar) with no luggage rack. What can you do? The answer is simple: build a luggage rack. In minutes, you can build a luggage …

DIY Luggage Rack for Terratrike Cruiser Recumbent Tricycle Read More »

iTunes 9.2 hangs when syncing voice memos

If you just need a workaround so you can access other, non-voice-memo features through iTunes, such as backup, music sync, app sync, etc., then follow this procedure: 1. disconnect your iPhone from the computer 2. fire up iTunes 3. open Preferences (Edit > Preferences) 4. click the Devices tab 5. select “Prevent iPods, iPhones, and …

iTunes 9.2 hangs when syncing voice memos Read More »

Ride 1 on the Trike

I just finished my first real ride on the trike: 11.6 miles, my normal commute to work, and it was wonderful!  I kind of thought I was going to feel unsafe riding next to traffic in a moderately wider vehicle, but traffic was nice to me and gave me a little more room than usual. …

Ride 1 on the Trike Read More »

TerraTrike Cruiser has Arrived!

It was a good thing I called yesterday to see when my highly anticipated trike would be delivered, because apparently they needed to speak to me to arrange for a delivery and didn’t have any contact info for me.  So I asked if I could just pick it up.  From the title, you know that …

TerraTrike Cruiser has Arrived! Read More »

Trike is so close I can taste it

[cetsEmbedGmap src=http://maps.google.com/maps?f=d&source=s_d&saddr=Grand+Rapids,+MI&daddr=toledo,+oh+to:Rochester,+NY+to:hartford,ct&hl=en&geocode=FaCRjwIdCs_k-ikVKFC7YFQYiDHQqNMby6qTpQ%3BFcK9ewIddAwF-yl5Th78LYc7iDFFwzpFn8g8fA%3B%3B&mra=ls&sll=40.279526,-81.430664&sspn=11.828614,23.005371&ie=UTF8&ll=42.244785,-79.123535&spn=11.480271,23.005371&z=6 width=350 height=425 marginwidth=0 marginheight=0 frameborder=0 scrolling=no] THIS IS TORTURRRRRRRRRE!  I WANT THAT TRIKE SO BAD.  AAAAAAG!  THEY PASSED MY DAMN HOUSE ON THE WAY TO HARTFORD.  THEY COULD HAVE CHUCKED IT OFF THE TRUCK AND I’D GO PICK IT UP. DAAAAAAAAAAAAG. This is what it will look like, by the way.

The Perfect Summer Song

This song, Daisy, by Stone Temple Pilots, in my opinion, best captures the spirit of a summer day by the pool, lake, or pond.  I picture a gentle, lazy, hot afternoon, or a cooling transition into the evening, sun heavily edging toward the horizon.