October, 2007 archive

Solution to The Spanner’s “A bit of fun” challenge

October 25th, 2007 | How To, Javascript, Web Programming | 2 comments

A while back, The Spanner’s very own Gareth Heyes posted a decent challenge. As I stated in a previous posting I took on the challenge. It didn’t take as long as I thought it would, but it was still challenging. I’ve waited a while before posting the actual code I used; that way people can [...]

Replace Picasa with Flickr

October 23rd, 2007 | Google, Greasemonkey, Javascript, Web Programming | No comments

Okay, maybe the title is a little misleading, but that’s what I wanted to do. I love Google for mostly everything, but one thing Yahoo did right was to snatch up Flickr. Flickr has so much more to offer that Picasa doesn’t. One side note though; Flickr doesn’t have a desktop photo organizer, but that’s [...]

Unmount all mounted Apple Filing Protocol (AFP) volumes

October 11th, 2007 | OS X | No comments

I travel from location to location, jumping from one wireless access point to another. While I love my mac, but I’ve always hated that it stalls whenever I reconnect to a wireless network because I didn’t unmount my AFPs before disconnecting. The OS would give me the spinner of death for a few minutes before [...]

Javascript: Octal to ASCII

October 10th, 2007 | Javascript, Web Programming | 3 comments

Gareth Heyes posted a fun little challenge and I couldn’t help but attack it. It took me longer than I thought. Not to be a spoiler, but at some point you have to convert octals to ASCII values. Now, I have done decimal to ASCII, binary to ASCII, and even hex to ASCII, but never [...]

Javascript: ucfirst

October 8th, 2007 | Javascript, Web Programming | 3 comments

In PHP there is ucfirst whose purpose is to uppercase the first letter of the string. While working in Javascript I ran into a problem where I wanted to do this. I searched high and low and couldn’t find a native function that would do this. So, I ended up writing my own.

String.prototype.ucfirst = [...]