Archive for April, 2008

Some Doctor Who quotes that’d be good for printing on a t-shirt

  • Bigger on the inside < -- My favourite!
  • Wibbly-Wobbly Timey-Wimey
  • This is not war, this is pest control!
  • The angels have the phonebox.
  • I’m the Doctor, now run for your life!
  • “Daleks have no concept of elegance” (turn around) “This is obvious!”
  • If someone is collecting aliens, that makes you Exhibit A!
  • Did I mention.. it travels in Time?
  • Well, I am the Lord of Time
  • What would The Doctor do?
  • You never forget your first Doctor
  • Am i ginger?
  • Nice to meet you. Now, run for your life!
  • You Are Not Alone!
  • I just want to say, you were fantastic. And you know what? (turn around) So was I!
  • The stuff of legends
  • Your tiny little human brains. How do you get around in those things?
  • Don’t blink
  • Bad things always happen whenever I wear this
  • Yep. Still got it.
  • Yes we know who you are!
  • Hermits United

Creating a Ruby 1.9 sandbox

1. mkdir /home/user/ruby19 (example folder)
2. cd /home/user/ruby19
3. mkdir src
4. cd src
5. wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.0-1.tar.bz2
6. tar -jxvf ruby-1.9.0-1.tar.bz2
7. cd ruby-1.9.0-1
8. ./configure –prefix=/home/user/ruby19
9. make
10. make install

Now you can switch to this sandbox at any time by executing ‘export PATH=/home/user/ruby19/bin:$PATH’ in a shell.

Chipmunk Installation

Chipmunk is required for Rubygame 3

1. wget http://files.slembcke.net/chipmunk/release/ChipmunkLatest.tgz
2. tar -zxvf ChipmunkLatest.tgz
3. cd Chipmunk-4.0.2
4. cd ruby
5. export PATH=/home/user/ruby19/bin:$PATH (* switching to Ruby 1.9 sandbox)
6. ruby extconf.rb
7. make
8. make install

Rubygame 3 Installation

1. mkdir /home/user/rubygame (example path)
2. cd /home/user/rubygame
3. svn co https://rubygame.svn.sourceforge.net/svnroot/rubygame/trunk rubygame3
4. cd rubygame3/
5. export PATH=/home/user/ruby19/bin:$PATH (* switching to Ruby 1.9 sandbox)
6. cat Rakefile | sed s/PLATFORM/RUBY_PLATFORM/ > Rakefile.new;mv Rakefile.new Rakefile (* this replaces PLATFORM with RUBY_PLATFORM in the Rakefile)
7. CFLAGS=”-I/home/user/ruby19/include/ruby-1.9.0 -I/home/user/ruby19/include/ruby-1.9.0/i686-linux” rake install
8. cd ~/rubygame/rubygame3/samples/
9. ruby chimp.rb
10. Punch the monkey!! :-)