Monthly Archives: February 2009

Redirecting with mod_rewrite without breaking OpenID

On philihp.com, I redirect the root address philihp.com to philihp.com/blog. I do this with mod_rewrite, since it’s much faster to do an HTTP Location header based redirect than to use an HTML meta tag redirect. I encountered a problem with this, though. I want to be able to authenticate with the identifier “philihp.com”. Not “openid.philihp.com”, […]

The Martini Shot

In film making and photography, the Martini shot is the last shot of the day. According to Dave Knox, it is named so because “the next shot is out of a glass”1. The second to last shot of the day is the Abby Singer shot. As an assistant director, near the end of a day […]

Relentless Boarding Parties

Aaron Dixon – Saul Paul Houlbrooke – Apollo Sean George – Tyrol* Chris Rabeler – Baltar Phil Busby – Roslin Ken Mather – Boomer* To shake things up this game, and keep people from picking characters they’ve been before, everyone picked the character for the person to their right going clockwise. Paul made Aaron be […]

Beep!

Make my computer beep. Go here: http://shatner.philihp.com/beep/

US State Adjacency Graph

This is pretty cool. From Keenan Pepper, an undirected graph showing each state’s adjacency to other states; excluding Hawaii and Alaska. Probably useful if you ever want to play Risk on a map of the United States.

Internal PC Speaker Beep on Startup and Shutdown

Pretty neat trick by Craig Perry at http://ubuntuforums.org/showthread.php?t=462960. The following is pretty much word-for-word reposted. Since I have an old 400mhz Pentium 2 under my desk that I use as a Tomcat development box. I also find it useful to use it as a development platform that gives immediate feedback of suboptimal code, and it’s […]

Galactica’s Nine Lives

Aaron Dixon – Apollo Ken Mather – Adama (Obama) Chris Rabeler – Roslin* Sean George – Starbuck Philihp Busby – Helo* A mostly uneventful first jump for two distance. There were some narrow escapes with vipers, but nothing of note because just about every crisis pushed up the jump counter. One of the crises had […]

Chris is a bad human and Sean is a cylon once again!

Another great game of BSG! Again, this is mostly for myself to look back and remember the game, but there are probably some good tactics if any other BSG Board Game players are out there. Also we played Roborally before BSG, which is incredibly fun, very easy to learn, fast paced, and quick to play. […]

How to retrieve the ID after a MySQL Insert in Python

The MySQLdb documentation mentions conn.insert_id(), however this appears to have been deprecated, maybe? This really should be on the cursor object anyway. And behold! There is a lastrowid on it! It’s just a little bit undocumented

How to remove iGoogle

To remove iGoogle and revert to the classic vanilla google homepage, click “Classic Home” in the upper right corner of the screen.