Entries Tagged as 'Web Development'

Pressure, Pushing Down on Me

Post 1

Christmas is in five days and I have procured two (2) presents. I launched Frisbase yesterday. I estimate a few hundred Los Angeles players will be using it by the end of the month. It is not done. Seattle experienced a terrible windstorm last Thursday night. Continuing a December trend, Sparkle Motion felt the brunt [...]


Code for Lightbox with QuickTime

Post 2

A good number of people have been e-mailing me and leaving comments asking for my code for Lightbox with Quicktime. I finally found a spare moment and stuck all the related files in an archive for easy grabbing. Lightbox2 with QuickTime I will not guarantee support for this code or responses to requests for aid [...]


Calculating Age in PHP, Update

Post 3

If you remember, my goal was to write one line of PHP code that would calculate age from a birthday. My previous PHP age calculation code had me turning 25 three days early because I was not correcting for leap year. Oops! The corrected code is: $age = floor((time() - strtotime($birthdate))/(60*60*24*365.2425)); I could use 365.24219 [...]


The Impervious Sparkle Motion

Post 4

I was heading home from the law firm on 4th Ave S last night, exhausted from the day and considering the Heroes episode and Trader Joe's delicacies awaiting me in Wallingford. Brooke and I had instituted a major database change in CaseHawk, a harrowing experience of second-guessing and frantic bug fixes. Have I mentioned that [...]


WPG2 Sidebar Block: Recent or Random Images from Specific Album

Post 5

I do not understand why WPG2 does not already support this feature. How hard can this be? You can include one random image from a specific album or all the most recent images from the entire gallery but not a selection of random images from one gallery. Why not take the next logical step? In [...]


Lightbox with QuickTime

Post 6

Edited 2/11/2007: I removed the custom Lightbox JavaScript include from my WP theme because it was inactivating certain edit functions with the WP admin. The code all still works as I describe it, it's just not running on my site. Take me to the movie theatre! I just finished tweaking this in preparation for Claire [...]


Calculating Age in PHP

Post 7

I was working on Frisbase this morning and encountered the need to calculate a user's age from his or her birthday, as stored in the MySQL date format. Initial googling presented no simple solution, no cute, mathematical one-liner. Unwilling to throw in a big custom function for what should be a simple calculation, I came [...]