Запчасти Mazda

21 October 2011 ~ 0 Comments

Displaying currently-playing iTunes track in the Mac menu bar

TweetIn an attempt to teach myself Objective C, and because I couldn’t find anything that did what I wanted, I wrote a little utility to display the currently-playing iTunes track in the Mac taskbar. Originally I had it display the full track name right in the taskbar but it was too much text for such [...]

Continue Reading

26 September 2011 ~ 0 Comments

Benchmarking DNS servers with Java

TweetI’m currently in the process of moving our DNS over to another provider and I was curious as to whether the old or new provider offers faster lookups. dig shows query times, but I didn’t want to just run that over and over. I decided to write something to do this, in Java since I [...]

Continue Reading

23 June 2011 ~ 0 Comments

Teaching myself node.js: Part 3

Notes on MongoDB’s ObjectID vs sequential identifiers.

Continue Reading

22 June 2011 ~ 0 Comments

JavaScript regex for stripping leading & trailing whitespaces

str.replace(/^(\s*)((\S+\s*?)*)(\s*)$/,"$2");

Continue Reading

14 June 2011 ~ 0 Comments

Teaching myself node.js: Part 1

In which I try to learn node.js by building a Quora-like site (since it seems everyone is building a blog).

Continue Reading

09 May 2010 ~ 0 Comments

Java Code: searching a Binary Search Tree for the largest value strictly less than X

Java code for creating and searching a Binary Search Tree of any element implementing the Comparable interface.

Continue Reading

29 June 2009 ~ Comments Off

House

TweetGuess we’re moving. I’m reading about iPhone development. Doesn’t look terrible.

Continue Reading