avatar

chuyeow's pings

Sort By:

Setting up svnsync-ed (mirrored) SVN repositories on Ubuntu (part 1 of 2)This is a 2-part journal on setting up migrating and upgrading a Subversion repository, and then using svnsync to mirror the newly created repository. (Part 2 hasn’t been written yet!)Initial setupEver since Subversion 1.4 was released, I’d been eying the new svnsync tool because we had a …
116 unique reads 0 comments
chuyeow Posted by chuyeow User Menu on March 31, 2007 at redemption in a blog
After overriding rescue_action_in_public in the ApplicationController to deal with ActiveRecord::RecordNotFound exceptions (a very common exception to rescue in the canonical ’show’ actions of your controllers), I decided to test it. I’ve been getting used to BDD with RSpec (and the Spec::Rails plugin), so I stumbled a bit when writing the spec.I finally …
151 unique reads 0 comments
chuyeow Posted by chuyeow User Menu on March 31, 2007 at redemption in a blog
This is a 2-part journal on setting up migrating and upgrading a Subversion repository, and then using svnsync to mirror the newly created repository. (Part 2 hasn’t been written yet!)Initial setupEver since Subversion 1.4 was released, I’d been eying the new svnsync tool because we had a single repository that was not, erm, really backed up (we had daily server …
chuyeow Posted by chuyeow User Menu on March 29, 2007 at redemption in a blog
I’ve been writing a database importer plugin for some “legacy” production databases (well, not really legacy, but the schema differs from ActiveRecord conventions) with the intention of scheduling a cron job to run the imports. Why not connect the Rails app to the legacy databases? Hmm, let’s see:the records don’t have to be up to date (so I can …
chuyeow Posted by chuyeow User Menu on March 27, 2007 at redemption in a blog
Ugh, I wish I found this earlier: Tab Completion in IRb. I only went googling for this after I realized I have been tabbing to get auto-completion on script/console for a bit but it never sunk in that tab-completion wasn’t ever working. Useful stuff, go set it up if you haven’t already.
chuyeow Posted by chuyeow User Menu on March 26, 2007 at redemption in a blog
I like to keep my links in my Rails applications that make AJAX requests degradable in non-JavaScript browsers so I often find myself doing this:link_to_remote 'Show details', { :url => { :action => 'show', :id => post.id } }, { :href => url_for({ :action => 'show', :id => post.id }) }This allows me to get HTML links like so:<a …
chuyeow Posted by chuyeow User Menu on March 24, 2007 at redemption in a blog
The Singapore MRT has to be one of the best public rail transport systems in the world (I fancy the Tokyo train/subway system as well - fare adjustment machines is one of those “since sliced bread” ideas), but they still have room to screw up in a Daily WTF-worthy way.This sign at Raffles Place MRT used to show train arrival times:It’s been there for about 3 …
142 unique reads 0 comments
chuyeow Posted by chuyeow User Menu on March 16, 2007 at redemption in a blog
The Favicon validator ensures that you have a correctly created favicon. If you’re wondering why your favicon works in some browsers but not in others (like IE), it probably has an incorrect format.I also learnt from validating my favicons that you can actually place more than 1 version of the favicon image into the .ico file (it seems to be a container for these images …
chuyeow Posted by chuyeow User Menu on March 10, 2007 at redemption in a blog
I was at the 2nd WebSG (Web Standards Group Singapore) meetup (read about the recap of the meetup) on Wednesday (28 Feb 2007) where I hosted a short session on some Firefox tips. It’s all thanks the urgings and encouragement of Lucian (the organizer) that I finally got down to publicly sharing my Firefox knowledge ever since I wrote Firefox Secrets.I was asked to blog …
chuyeow Posted by chuyeow User Menu on March 3, 2007 at redemption in a blog
I saw a Lifehacker blog post today in my RSS reader on this Firefox extension, took one look at the screenshot, and went “Woooooow, give me some of that“. Aforementioned Firefox extension: Tab Groups extension for Firefox.As its name suggests, it allows you to group your tabs in, er, groups. Forget the verbiage, just look at the screenshot:This extension is a …
chuyeow Posted by chuyeow User Menu on March 2, 2007 at redemption in a blog
At yesterday’s WebSG meetup, someone asked me how you can have 2 different user sessions in Firefox, and I was unable to answer as I never had the need for 2 different user sessions (though I imagine it’d be nice for testing certain types of interactive web applications).Anyway, I found the answer today after some Googling - Lifehacker’s “Manage …
chuyeow Posted by chuyeow User Menu on March 1, 2007 at redemption in a blog
After a longer than desired struggle with getting sshd to accept my public key, I think a blog post is in order to remind myself not to repeat the same mistakes. Here’s how you should go about debugging your SSH public key authentication woes:Getting more debug info when connecting with your ssh client: Add a ‘-v’ option to your ssh command (e.g. ssh …
chuyeow Posted by chuyeow User Menu on February 28, 2007 at redemption in a blog
Yup I switched to Apple Mail from Thunderbird a few months back, primary reason being back then I was barely able to run my developer applications on 512MB of RAM (Apple Mail runs lighter than Thunderbird, unfortunately). It’s comforting to find that there is an IMAP-IDLE plugin for Apple Mail (Thunderbird got its IDLE support way back in 2004.)What’s IDLE? Well, …
chuyeow Posted by chuyeow User Menu on February 25, 2007 at redemption in a blog
It was a few weeks later than planned, but finally (actually, about 3 days ago), we‘re up on the News.com.au Travel section.No thanks to a CSS bug in IE6, we were delayed by a week. The last thing we expected was a CSS bug hanging IE6 but yeah, well, it was. At least now my conscience is clear - everything works nicely in IE6, IE7, Firefox, Safari and Opera.
chuyeow Posted by chuyeow User Menu on February 25, 2007 at redemption in a blog
Not too long ago I was asked to use hook up the Mac Mini that was collecting dust in our office to our HP Deskjet printer (HP Deskjet 1280 to be exact) and have it function as a “print server” of sorts (we have since replaced it with a NAS with print server functionality, which subsequently broke - that’s how long this post has been sitting in my drafts …
chuyeow Posted by chuyeow User Menu on February 5, 2007 at redemption in a blog
sudo chown -R dick /instead ofsudo chown -R dick ./You won’t be able to su - or sudo to chown the ownerships back properly because the sudo executable needs to be owned by root. Some people should never have unfettered sudo rights… like me.
chuyeow Posted by chuyeow User Menu on February 5, 2007 at redemption in a blog
Got an email today that disputed web page sizes I reported (diplomatically telling me to get my facts right):Regarding the size, if you save the homepage as webpage complete you can get the size of the iframes files individually.<teenage-angst>Ick… Learn to use Firebug or a Web Page Analyzer. Or anything else that does better than saving the page from a web …
chuyeow Posted by chuyeow User Menu on February 5, 2007 at redemption in a blog
If you’re doing web development or design of any sort, you have to check out Joe Hewitt’s talk on Firebug at Yahoo! - download the movie or watch it online, just make sure you watch it.If you aren’t already using Firebug, this will convince you. If you are, you’ll probably find some gems in there that you didn’t know before. I didn’t know …
chuyeow Posted by chuyeow User Menu on January 28, 2007 at redemption in a blog
I just got back from BarCamp Singapore a few hours ago. I was only vaguely familiar with the Rules of BarCamp prior to this, and actually only found out about the event from Choon Keat (of RssFwd fame - check it out if you haven’t already) 2 days ago.Anyway, props to the organizers for putting this together (especially the free BarCamp t-shirts from Yahoo!). Personally, …
chuyeow Posted by chuyeow User Menu on January 21, 2007 at redemption in a blog
RubyGems has been updated to 0.9.1 and is a required update due to a security issue. The blog announcement reveals more:The most important change in RubyGems 0.9.1 is that RubyGems no longer allows files to be installed outside of the installation directory.It’s a required update as the RubyForge gem repository will soon disallow installation of gems if you have an …
chuyeow Posted by chuyeow User Menu on January 20, 2007 at redemption in a blog

The Community Meta Blog
for Singapore Bloggers
v2.1.0

Join Singapore Blog Awards 2012

Bloggers: Singapore Blog Awards 2012
is now acceping nominations!

 

latest comments rss feed

 
 

shouts rss feed for latest shouts history

avatar hexsarash: hai....
avatar aieza: siang all
avatar 88henry: morning every1
avatar felizaong: SHOES SHOPPING! Me wearing it>> www.ping.sg/read/Shopping-Aldo-Wedges
avatar nawwaf: salam semua.. heyyy
avatar hexsarash: khukhukhu...
avatar sl417k: hai
avatar birthmark: A small bit of China.
avatar bloggerindonesia: Penyebab Ketidakseimbangan Neraca Saldo
avatar mingisland: www.bigmouth8.com
avatar coolinsights: Why You Need to Start Journalling and Blogging ping.sg/item/The-Benefits-of-Journalling-and-Blogging
avatar sevra: ^_^
avatar hexsarash: halo all...^_^
avatar bloggerindonesia: Proses Pembuatan Neraca Saldo
avatar hariagsutomo: tes...tes...
avatar grandong: pagi semua...
avatar w_delon: isilo
avatar blue8118: Is Coconut one of Miss Earth Sabah Finalists?
avatar hexsarash: huahem....
 

new users

hongxingpeggy dingqian101212 kamipenjajah dipaali70 hpilitysg irgimnur andi_11