Archive for the ‘Uncategorized’ Category

Mephisto to WordPress, part 1

I finally was able to get the old blog content moved from mephisto to wordpress.  Trying to find the time to do it was the most difficult thing.  Some of the formatting came out weird and I did not import any of the comments.  For me, no big deal.  This blog has been mostly ignored [...]

Posted on May 8, 2009 at 2:17 pm by doug · Permalink · Leave a comment
In: Uncategorized

Getting git +svn branches to follow remote branch

Andy Delcambre and Robby Russell both have excellent articles about getting up and running with git as an subversion client. The one thing that had been getting me was the fact that the branch I created locally did not always stick to following the remote branch. It would start out that way, but once I [...]

Posted on February 9, 2009 at 8:44 am by doug · Permalink · Leave a comment
In: Uncategorized · Tagged with: 

MileMeter has Launched

After a year of work, my company MileMeter has launched. We sell auto insurance by the mile with no vehicle tracking devices involved. A big hats off to Chris Gay for working so hard for so many years so that we can could get to this point. Insurance rules had to be changed and it [...]

Posted on October 11, 2008 at 7:52 am by doug · Permalink · Leave a comment
In: Uncategorized · Tagged with: 

ruby-mysql-osx

I keep having to look this up….. sudo env ARCHFLAGS=“-arch i386” gem install mysql — —with-mysql-config=/usr/local/mysql/bin/mysql_config

Posted on September 3, 2008 at 7:35 pm by doug · Permalink · Leave a comment
In: Uncategorized · Tagged with: 

Pradipta’s Rolodex

I woke up this morning to a 40+ thread of emails which originated by a recruiter sending 416 people job posting, all via TO: It quickly turned into a somewhat fun conversation with lots of people and jokes. Rather quickly a google group named Pradipta’s Rolodex was created. Also followed was a Wikipedia entry (quickly [...]

Posted on July 18, 2008 at 1:24 pm by doug · Permalink · Leave a comment
In: Uncategorized · Tagged with: 

Rspec Test render(:nothing = true)

I was trying to test one of my controllers was successfully hitting the render(:nothing = true) block. I could not find anything specifically in the API which handled this senario, so I ended up using have_text with a space as an argument. @response.should have_text(" ")

Posted on March 31, 2008 at 4:15 pm by doug · Permalink · Leave a comment
In: Uncategorized · Tagged with: 

Vote for Milemeter at AWS Startup Challenge

Go vote for Milemeter at AWS Startup Challenge and keep me gainfully employed! We are proud to be 1 of 7 Finalist for the Amazon.com AWS Startup Challenge and will give our presentation next week at Amazon.com HQ. Milemeter is an innovative insurance start-up that will offer “auto insurance buy the mile”. Please Vote for [...]

Posted on December 1, 2007 at 3:19 pm by doug · Permalink · Leave a comment
In: Uncategorized · Tagged with: 

Quote of the Day

This one is from my 4 year old. While walking through the womens department with my wife, they come across the bras. There was one particularly large white bra hanging on the end of a rack. Tommy stopped and studied it for a minute then proclaimed “Look mommy, that’s where the penguins live”.

Posted on November 30, 2007 at 11:27 am by doug · Permalink · Leave a comment
In: Uncategorized · Tagged with: 

Testing private and protected methods with ruby

When I have to test my protected and private methods in ruby, I make the methods public for the scope of the test. MyClass.send(:public, *MyClass.protected_instance_methods) MyClass.send(:public, *MyClass.private_instance_methods) Just place this code in your testing class substituting your class name. Include the namespace if applicable.

Posted on April 18, 2007 at 12:48 pm by doug · Permalink · Leave a comment
In: Uncategorized · Tagged with: 

Transfer email from one google account to another

I recently signed up the netinlet.com email for Google apps for you domain I had all my mail funneling to a gmail account to begin with, so I need to get all that email from the first google account to the new google apps account. You can do with with POP, but you have to [...]

Posted on April 3, 2007 at 8:22 am by doug · Permalink · Leave a comment
In: Uncategorized · Tagged with: