I think I’m already losing track of the days and weeks as they just appear to roll between the weekends.The last week (looking back) seems to just be one big blur. I’m enjoying working full time now, and I must admit that I have had it quite easy with the easter break right in the middle of my first two weeks. It’s the daily routine that kills me – I’ve been going to bed about 11pm, getting up at 7 and I think I’ve watched more TV in the last week than I have since I got back from Vietnam.

The most fun I’ve had so far has been working on this new blog system, learning new bits and pieces of Ruby and Rails and catching up with friends at Alex’s 21st. (See Flickr Photos on the right). I’m attempting to center this blog somewhere around the semi-professional level, filling it with information like minded developers might find useful, as well as my friends and family.

I think it’s time to start saving, and working towards the next big adventure.

For now I suggest everyone heads over to Tiesto.com and get hold of his new album, it’s good headphone@work listening.

Code Syntax Highlighting

April 9th, 2007

Taken from the advice given here... A Small Example...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

class API
    
    @@auth = {}
    @@host = 'api.del.icio.us'
    @@base_url = '/v1'
    @@user_agent = 'Del.icio.us Ruby API 0.1'
    
    @@cache_class = Cache::Basic
    @@cache = @@cache_class.new
    @@expire_cache_every = 1.days
    @@auto_expire_cache = true
    
    cattr_accessor :auth, :host, :base_url, :cache, :user_agent, :cache_class, :expire_cache_every
    cattr_accessor :auto_expire_cache
    
    def initialize(props={})
      props.each do |key, val|
        setter = "#{key}=".intern
        self.send setter, val if respond_to? setter
      end
    end
end

We're up and running!

April 9th, 2007

It took me most of Easter Saturday, but the transformation of TheVietnamTour's new setup is almost complete. There are a few extra things to add to the side bar, and possibly some template modifications to be done, but it's all looking good! I'm looking forward to getting some good syntax highlighting going and maybe type up some notes on how I got all this working, because it's not as simple as it should be.