chuyeow 
user profile for chuyeow
Most Popular Pings
Quick notes for installing libmemcached and Evan Weaver’s memcached gem, in case I forget (again):Get libmemcached source from http://tangent.org/552/libmemcached.html. Configure, make, make install. Make sure you get a version compatible with the Ruby memcached gem by opening the COMPATIBILITY file in the memcached gem files.gem install memcachedCreate a symlink ln -s …
Just a quick note to self. If you need to store Unicode and are using Sequel, make sure you:Create the database with a default charset of UTF8: CREATE DATABASE my_db DEFAULT CHARSET utf8;. I think then any tables you create uses the default charset of utf8 unless otherwise specified.Pass an :encoding option to Sequel’s MySQL ...
So we’ve been terribly busy at Bezurk these last 2 months or so working on our new re-branded site with a bunch of new features. We were lucky enough to secure a 4-letter domain name - wego.com (and it came at a price too!) so it was all worth it. Trust me, with a name ...
Something that really bugged me when using YUI Calendars and YUI AutoComplete widgets was how IFrame shims are currently being managed in libraries and home-brewed code (we use IFr …
Last 5 Pings
Jeena emailed me recently about his Rails plugin, plistifier, that allows you to render plists (property lists).It allows you to render your ActiveRecord objects as plists (among other things):def show @post = Post.find(params[:id ]) respond_to do |format| format.xml { render :xml => @post } format.plist { ...
For those of you who use the excellent Railscasts TextMate theme and want to replicate the theme in Xcode, you can grab my version from Github. This is what it looks like:Save it into ~/Library/Applicatio n Support/Xcode/Color Themes/, restart Xcode, and open its Preferences. You will be able to pick the Railscasts Color Theme in the ...
For those of you who use the excellent Railscasts TextMate theme and want to replicate the theme in Xcode, you can grab my version from Github. This is what it looks like:Save it into ~/Library/Applicatio n Support/Xcode/Color Themes/, restart Xcode, and open its Preferences. You will be able to pick the Railscasts Color Theme in the ...



…