Author Archive

Deployment Script Spring Cleaning – GitHub

Tuesday, August 11th, 2009

If you are a Git user and deploying using Capistrano, you might be interested in this article from GitHub:

Deployment Script Spring Cleaning

(more…)

Rails 3 updates

Thursday, August 6th, 2009

Rails 3 is a rewrite / merger with Merb, and includes Yehuda Katz, Merb lead developer working on it full-time. Here are some posts which were published recently:

http://yehudakatz.com/2008/12/23/rails-and-merb-merge/

http://weblog.rubyonrails.org/2009/7/30/community-highlights-yehuda-katz

http://yehudakatz.com/2009/03/06/alias_method_chain-in-models/

http://www.engineyard.com/blog/2009/6-steps-to-refactoring-rails-for-mere-mortals/

There are lots of lessons and techniques in ruby, rails and general programming to be learnt from these posts. Enjoy!

Code Management (git) workshop

Friday, July 31st, 2009

ProjectX has always a keen supporter of Summer of Code. Among the many aims of Summer of Code is help IT students upskill. Recently, I did a workshop for students to learn and get their hands dirty with version control software (git).

Git with it’s popularity and simple operations was the best choice I found for teaching beginners. The workshop files are posted on the Summer of Code blog (http://blog.summerofcode.co.nz/2009/07/31/code-management-git-workshop/)

This post was cross-posted at Thong’s personal blog as well.

Encode HTML with Ruby

Friday, July 24th, 2009

Writing documentation for Javascript and HTML means code samples. These code samples need escaping so that they can be displayed on the web page. Instead of doing it over the web, why not do it in Ruby?

Here are a couple of simple scripts that I did (encode method straight out of the h method in rails):

http://www.pastie.org/557036
http://www.pastie.org/557037
(more…)

Internet Blackout Success

Monday, February 23rd, 2009

We at ZoomIn joined the internet blackout last week, along with many others.

The recent news of the delay of Section 92A is good news. We have now removed our “dark maps” as the black out has ended. Thank you all for your comments as well as participation in the blackout.