Directron.com customer appreciation day

I visited the directron.com‘s customer appreciation day, browsed around, picked up some swag and met up with some old friends! Pictures below:

GT12 Turbocharged Lawnmower

20100403 – Cars and Coffee

20100307 – Gillman Shop Day

COMPACT CARS ONLY

At least he picked a spot where it wasn’t crowded.

Delicious Audi


Spotted…in the Chipotle parking lot. I’ll take 2 please.

Why, Hello there!

Minidlna and custom upnp icons

After a few hours of digging into hex and binary conversion tools, I have completed my task. If you download and compile Minidlna on a Linux box, it will show a Tux penguin for it’s upnp icon (for instance, if you were browsing over the network on the PS3). Since my Minidlna server is PowerMac G4 running Debian, I converted a few PNG images of the Apple logo into it’s hexadecimal equivalent, changed the source file icons.c, and recompiled it. Done! Click here to get the updated icons.c file.

Going from hex to binary in Linux

If you find yourself with a block of \x encoded hex that you need converted back to it’s binary equivalent – in my particular case, an image encoded as a hex block back to it’s native JPEG file, you can use this short code snippit:

cat <input file> | sed -e ‘s/\\x//g’ -e ‘s/”//g’ -e ‘s/^[ \t]*//’ | xxd -p -r – <output file>

Adjust the sed arguments as needed to produce the trimming that you need to feed into xxd - when you pass -p to xxd you instruct it to take input as hexadecimal plaintext, and -r tells xxd to go from the hexadecimal string back it’s binary equivalent.

In this case, I used this to extract the images from the icons.c file for Minidlna.

Thanks to this LinuxJournal article for how to do a reverse hex dump.

Spotted!!

Spotted OBP WRX at the Kim Kim/Starbucks parking lot at FM1960 and 290E