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 [...]
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 [...]
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 [...]
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
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 [...]
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(" ")
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 Milemeter!
Update: Congratulations [...]
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 [...]
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.
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 put [...]
