Dan's homepage
March 31st, 2015, No Comments »

August 31st, 2013, No Comments »

If you’re like us, you waited way too long to upgrade away from Rails 2. Here’s a script to change your view extensions from .rhtml to .html.erb.


for dir in app/views/* ; do
  for file in $dir/*.rhtml ; do
    leftname=`basename $file rhtml`
    `svn mv $file $dir/${leftname}html.erb`

Just run it from the root dir of your project. The script assumes you’re using SVN, but can be easily modified for other source control…

July 1st, 2013, No Comments »

January 18th, 2013, No Comments »

At camelcamelcamel, we use Olivaw to download our affiliate reports every morning, which we then import into our database.  This seemed useful to all affiliates, so I’ve open-sourced the code.

Grab it at GitHub!

December 13th, 2012, No Comments »

Thanks to a few 1k+ days, we managed to pull this off well before the self-imposed deadline on 2012-12-31.  Congrats, team Camel!

October 26th, 2012, No Comments »

August 14th, 2012, No Comments »

July 1st, 2012, No Comments »

10,000 miles in about a year, not bad.

(It was at 32k by the end of the trip.)

April 3rd, 2012, No Comments »

January 8th, 2012, No Comments »

Not even two months since we hit 40k and already we’re up to 50k!  This is the result of an average ~180 signups/day over the last 50 days, and bodes well for 2012.

Congratulations Ben, ****, and Nithya!  Our efforts are paying off.