What’s in my bookshelf?

As always I’m pretty late in writing my book reviews. This time it’s been well over 6 months since I finished reading the book “Beginning Ruby” (first edition) by Peter Cooper. I have to say is this by far the best Ruby book that I’ve read so far. (This is out of a 13 book […]

Ruby cli_mailer

After much nights of Ruby programming and many revisions, I finally manage to have an beta release of Ruby cli_mailer. I originally planned on writing a full mail (Unix command line email client) like program in Ruby. Though I was able to have an almost identical console interface to mail’s reading, viewing, and deleting emails, […]

RDoc: Documenting Ruby scripts

RDoc makes documenting Ruby scripts be really simple. RDoc is fairly simple to use, as it has a straight forward SimpleMarkup syntax which the RDoc utility uses to traverse the entire Ruby script and automatically generate pretty html documentation pages. Now I have documentation for the dead simple Ruby script that I wrote to encode […]

Hacker humor

While reading the regex portion of Apress’s Beginning Perl Second Edition by James Lee, the following sample code totally made my day. #!/usr/bin/perl -w use strict; $_ = “There are two major products that came out of Berkeley: LSD and UNIX”; s/(\w+)\s+(\w+)/$2 $1/; $_ = ucfirst($_); print $_, “?\n”;

3 years and counting

It’s been three years since this blog came into existence and it doesn’t look like I’ll be posting any meaningful or relevant content to it anytime soon.

Goodbye Eclipse and hello vim

Apparently Apple doesn’t think its a good idea to ship vi with syntax highlighting turned on by default, giving how really easy it is to enable. I simply had to edit the /usr/share/vim/vimrc file. Full instructions are in http://www.geekology.co.za/blog/2009/03/enable-syntax-highlighting-other-options-in-vim-mac-osx-leopard