Thursday, August 12, 2010

Modifier Keys

Stumbled upon this gem today in OS X

System Preferences -> Keyboard -> Keyboard tab -> Modifier Keys button

This would've been handy over the past 5 years switching between the laptop keyboard and various PC keyboards.

Saturday, February 13, 2010


Scan a series of days with flexible dates for a multi-city trip on Kayak. Doing this in the browser is pretty tedious so here's a Ruby script to do it.

depart_between = ['2010-06-13', '2010-06-16']
airports = ['SFO', 'CDG', 'ARN']
durations = [7, 7]
plus_or_minus_days = 1

Date.parse(depart_between[0]).upto(Date.parse(depart_between[1])) do |d|
(-plus_or_minus_days..plus_or_minus_days).each do |i|
(-plus_or_minus_days..plus_or_minus_days).each do |j|
url = "{"%m/%d/%Y")}&depart_date0=#{d.strftime("%m/%d/%Y")}&depart_date1=#{(d + durations[0] + i).strftime("%m/%d/%Y")}&depart_date2=#{(d + durations[0] + durations[1] + j).strftime("%m/%d/%Y")}&depart_date3=&depart_date4=&depart_date5=&depart_time0=a&depart_time1=a&depart_time2=a&depart_time3=a&depart_time4=a&depart_time5=a&destcode0=#{airports[1]}&destcode1=#{airports[2]}%2F9880&destcode2=#{airports[0]}%2F13852&destcode3=&destcode4=&destcode5=&destination0=#{airports[1]}&destination1=#{airports[2]}&destination2=#{airports[0]}&destination3=&destination4=&destination5=&fid=&oneway=m&origin0=#{airports[0]}&origin1=#{airports[1]}&origin2=#{airports[2]}&origin3=&origin4=&origin5=&origincode0=&origincode1=#{airports[1]}&origincode2=#{airports[2]}&origincode3=&origincode4=&origincode5=&personality=&po=&r9debug=&r9secret=&recent=N&screenY=900&tab=flights&travelers=2"

%x[open "#{url}"]


Tuesday, January 12, 2010


I'm normally a fan of all things on this blog, but why are the actions not hyperlinked? Instead, a URL shortener is used to add clutter to the screen.

Add note or task:
Edit contact info:

Could be

Add note or task
Edit contact info

Friday, September 04, 2009

Chicken and Waffles

First Snoop Dogg's Father Hood introduced me to Roscoe's Chicken and Waffles

Then I went to Farmer Brown's Little Skillet

And now Melanie came through:

Saturday, March 21, 2009


Watching NCAA's March Madness on Demand, which is pretty good. However, every time the microwave turns on, the buffering begins. It's a little scary. The commentating is bad. Not as bad as boom goes the dynamite though.

I'm noticing a lot of Swedish in commercials right now between Budweiser (Conan & Bud Light), DirecTV (with LA Kings goalie Erik Ersberg), IBM (random girl saving 20% of something), and Volvo (god morgon!). Maybe Volvo doesn't count.

Tuesday, February 03, 2009

Times are tough

From the recruiting mailing list
Come by Gates 104 on Wednesday, February 4 from 5:30PM-6:30PM to learn more about Cisco and to find out why it was recently described by The Wall Street Journal and NPR’s Marketplace as one of the companies most likely to withstand a recession.

Friday, January 30, 2009


Office VPN is down. In other news, Crunk Energy Drink is a client of ours and I didn't even know. I feel cheated.