January 2012
1 post
Color picking on OSX Lion
Doing the rapid prototyping that I do, I’ve often relied on Apple’s Digital Color Meter to grab HEX color codes. However, upon upgrading to OSX Lion I found the hex values to no longer be available.
My quest to figure out a replacement lead me to discover a few things.
First, you can create custom color pickers and add them to the standard OSX color tool that is used by most...
December 2011
1 post
September 2011
2 posts
Tips around Vancouver, Canada
I love Vancouver, and frequently have people ask me for recommendations. Instead of writing this all down every time, here they are for reference:
Vera’s Burgers. The burgers are just straight up delicious. My favorite location is on Davie St at the beginning of the gay district. I personally love the pilgrim (turkey burger) but pretty much anything you try is great. You pick all of your...
Delete all tasks in a Wunderlist
I’ve been experimenting with a CulturedCode Things -> Wunderlist import tool, and it’s resulted in a few mix ups that left hundreds of items not where I wanted them. Instead of being filed in their own list, they are sitting in the inbox. Because it’s the inbox, I can’t just delete the list. To delete them all, I would have to click on each one and confirm the prompt....
June 2011
3 posts
Translating HTML in a Chrome Extension
I have been working on updating my Live CSS Editor chrome extension to add some new features, and in the process, I figured I would set it up so that it could be translated into other languages.
Chrome has a pretty nice translation setup, which you can learn more about on their internationalization docs. It works great for any javascript, css or manifest files, but I wanted to translate the text...
February 2011
1 post
On being an American
As someone who has a number of rather generic email addresses, I always end up on the strangest mailing lists. Sometimes, I even end up on personal email lists with the people mistaking me for one of their parents or close friends. Usually, I would reply to these and let them know they have the wrong address, but every now and then the content is just far too interesting for me to forgo.
In the...
January 2011
6 posts
1 tag
The 21 best new-ish songs that I don't think...
The other day, I was hanging out with some co-workers of mine and we started talking about music. It turns out the neither of them had heard many of the songs that I was really into lately. I promised to introduce one of them to my musical tastes, and went home to make a CD.
I then started playing the CD for a few other friends, and it turned out that NONE of them had heard most of the tracks on...
2 tags
3 reasons I use Git instead of SVN
This was a response to an email from a friend about why he should switch to Git from SVN. Perhaps you’ll find it useful as well. :)
———-
Three things come to mind right away:
1) Distributed instead of centralized.
With SVN, there is one “true” copy of the code at all times. Everyone checks out the code from this one true copy and checks the code back in when...
2 tags
Rails 3: Removing or adding www in the url
I don’t like having two separate domains that point to the same content for a number of reasons. Caching and SEO optimization are two them that make it worth dealing with for me. Here is how I deal with that in Rails 3.
Usually, I would handle this in my webserver config file but since I’ve started using Heroku I don’t have access to a config file so the Rails application needs...
December 2010
5 posts
3 tags
Yes, I'm changing my name to Jeremy Baker
Summary: After five years of deliberation, I have finally decided to change my name from Jeremy Baker Hubert to Jeremy Hubert Baker. Tara is so awesome that she will be taking the Baker last name as well. :)
Some history of my father and the Hubert name
As a few people know, my dad was adopted and was raised by the Hubert family in Chevy Chase, Maryland. He was given the name Stephen Fitch...
March 2009
1 post
wrong argument type Hash (expected Data) - Merb...
I was having a heck of a time with .to_json in Merb. Turns out, it was because Merb’s to_json implementation doesn’t work the same as ActiveRecords.
In order to get it working, I had to disable the Merb one by placing the following code at the top of my init.rb file:
Merb.disable :json
Just thought I’d share. :)
January 2009
2 posts
How much has ModRails made in donations?
So, after totally falling in love with ModRails (Phusion Passenger) a few months back, I was looking at their “Enterprise Edition” and began wondering how much they had made so far with their free software…
Luckily, I had Ruby and Hpricot handy. I opened up IRB and ran the following code:
require 'hpricot' require 'open-uri' doc =...
Setting up a remote server to access my git...
I host all of my Git repositories on a box that has a different port than normal SSH connections use, which causes git checkouts to be a bit of a pain in the butt.
So, in order to deal with this, any computer I plan on continually using for Git access, I add to the git user’s authorized_keys list. Here is the step by step I use to make it easy.
All of these commands are performed on the...
October 2008
1 post
2008 Election Coverage - I'm in the running. →
August 2008
1 post
May 2008
2 posts
January 2008
1 post
November 2007
2 posts
Phenomenal Japanese Game Show
→
October 2007
22 posts
1 tag
Why I enjoy cooking.
I made dinner for some of my friends in Mexico CIty last night and while I was plating everything one of them asked me why I started cooking. My standard response was that it’s a great way to get my head off of writing code and that it’s so much different than what I do every day.
Later that night, while cleaning up, I thought about it some more and it really isn’t that much...
Fight For Kisses →
2 tags
Restart just one mongrel configuration
sudo mongrel_rails cluster::restart -C /etc/mongrel_cluster/file.conf
A few years ago I was pulled over for speeding. The officer got out of his car...
– How they got out of traffic tickets - CNN.com
Inspiring Dancing Traveler →
the persistence of memory →
It is simplicity that makes the uneducated more effective than the educated when...
– Aristotle
It does not seem to be true that work necessarily needs to be unpleasant. It may...
– Mihaly Csikszentmihalyi, Flow: The Psychology of Optimal Experience, 1990
Spontaneous Me” sang Whitman and, in his innocence, let loose the hordes...
– Excerpt from “The Elements of Style - Fourth Edition” Section 5.9
1 tag
Flight searching done right
Finding a good place to go on vacation has always been hard for me. Like most people, I’m cheap when it comes to big purchases, and since I spent so much time in Maui when I was a kid, I don’t really subscribe to the idea of spending a few thousand dollars per person to relax on a beach.
I also don’t really have any restrictions on when I take a vacation, so all I’m...
Accidentally deleting all the .svn folders
Posted on December 14, 2005
I did something really stupid today. I deleted all of the .svn folders in my project before committing my changes, and after building a major addition to it. I was trying to delete them from another folder, and used the wrong terminal window. :|
Anyway, point being, I fixed it!
Here is what I did:
> pwd
~/Development/project_name/
> cd ..
> svn co...
1 tag
It’s nice to be important, but it’s more important to be nice.
Hilarious Editorial Cartoons
Posted on my blog on August 2rd, 2005
I was searching google images for “gift wrapping” of all things, and I stumbled upon a set of editorial cartoons. They were done by a man named Clay Bennett.
These are a few of my favorites:
On Security:
On Medicine and Politics:
On the inability for the CIA and FBI to work together:
View the entire collection of editorial cartoons, or...
1 tag
Spammer gets a beat down
Posted on my blog on July 26, 2005
I just had this article passed over to me by my friend Markus Frind.
Russian Spammer Beaten to Death
MOSCOW — The director of an English language center and one of the country’s most notorious spammers was found beaten to death in his apartment in central Moscow, police said Monday.
Happy? Sad? Neither? Poetic Justice? What do you think?
1 tag
Making millionaires in your sleep
There was a little boat sitting in English Bay the other day. We stumbled upon it when we were out cruising around the bay.
After a quick little google search, we found out that it belongs to Roman Abramovich, the Russian Billionaire.
Out of sheer boredom, my roommate and I did the math and figured out what Roman makes per second, assuming his 13.3 billion dollar net worth makes him an...