ones zeros majors and minors

→ Easy Rails Asset ids with Git


almost 4 years ago by Chris Wanstrath on ones zeros majors and minors.
Stick this in your config/environments/production.rb if you’re deploying with Capistrano 2: # split into two lines for the blog - feel free to useasset_id...

.railsrc


almost 4 years ago by Chris Wanstrath on ones zeros majors and minors.
I like to keep a .railsrc file in my ~ for Rails-specific IRB goodies. In your ~/.irbrc: load File.dirname(__FILE__) + '/.railsrc' if $0 == 'irb' && ENV...

Tom Morris on GitHub


almost 4 years ago by Chris Wanstrath on ones zeros majors and minors.
People have said some awesome things about GitHub, but I especially love this quote from Tom Morris on the nodalities podcast: Git and GitHub together,...

GitHub is Git's Killer App


almost 4 years ago by Chris Wanstrath on ones zeros majors and minors.
It’s true. DHH said so. In honor, I thought I would take this opportunity to share a few stats. Rails plugins: 28 Rails LOC: 3800 jQuery plugins: 11...

git bash aliases


almost 4 years ago by Chris Wanstrath on ones zeros majors and minors.
My buddy Rob Sanheim recently post a fresh way to get a new Rails app up and running, git-style. He shares some of his bash aliases at the bottom, so I...

bounce


almost 4 years ago by Chris Wanstrath on ones zeros majors and minors.
You want to redirect your old url (/repositories/search) to your new one (/search). At the top of your routes file: map.with_options :controller => 'site...

best of: bash history


almost 4 years ago by Chris Wanstrath on ones zeros majors and minors.
I’ve been tagged. $ history 1000 | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' \ | sort -rn | head 113 fg 90 rg 85 gs 84 git 29 vi 23 rake 15 gb...

Obj-C vs Ruby


almost 4 years ago by Chris Wanstrath on ones zeros majors and minors.
In Objective-C: NSString* amount = [[NSString alloc] initWithFormat:@"%.02f", [converter convertCurrency]]; In Ruby: amount = "%.02f" % converter.convert_currency...

Learning Cocoa


almost 4 years ago by Chris Wanstrath on ones zeros majors and minors.
Nathan Florea responded to my last post to correct my Objective-C. Instead of this: NSString* amount = [[NSString alloc] initWithFormat:@"%.02f", [converter...

My Goruco Talk


almost 4 years ago by Chris Wanstrath on ones zeros majors and minors.
It’s up at the Confreaks site. Besides the few remaining World Tour stops, I’ll also be keynoting the Ruby Hoedown. You won’t want to miss it. --...