Public Gists by dougal

Gravatar
Wed Nov 04 04:26:38 -0800 2009
1
javascript:var%20query%20=%20prompt("Search%20GitHub.com");if%20(query)%20{window.location%20=%20"http://github.com/search?q="%20+%20query;}
Gravatar
Mon Apr 27 05:04:58 -0700 2009
1
2
3
#!/usr/bin/env ruby
 
# Copyright (c) Douglas F Shearer 2009
Gravatar
Wed Apr 08 13:06:15 -0700 2009
1
2
3
// The error
 
Namespace prefix f on title is not defined
Gravatar
Wed Apr 01 03:12:04 -0700 2009
1
2
3
31/03/2009 22:47:52 /System/Library/CoreServices/backupd[5985] Copied 64998 files (30.9 GB) from volume Main.
31/03/2009 22:48:40 /System/Library/CoreServices/backupd[5985] No pre-backup thinning needed: 625.7 MB requested (including padding), 5.82 GB available
31/03/2009 22:48:40 /System/Library/CoreServices/backupd[5985] Waiting for index to be ready (904 > 0)
Gravatar
Mon Mar 09 06:25:16 -0700 2009
1
2
3
phoenix:Desktop dougal$ rails foo
      [...]
phoenix:Desktop dougal$ cd foo
Gravatar
Thu Dec 11 04:44:28 -0800 2008
1
2
3
require ‘cache-money’
 
config = YAML.load(IO.read(File.join(RAILS_ROOT, "../config/memcache.yml")))[RAILS_ENV]
Gravatar
Wed Dec 10 00:59:11 -0800 2008
1
2
3
                                    Total (Desc) Climb
Pete Williams I-Cycles 24:21 (4.16) 20.05
Chris Herraghty Edinburgh Uni CC 25.30 (6.09) 19.21
gist: 24876 Simple Ruby Class Example
Gravatar
Fri Nov 14 03:32:26 -0800 2008
1
2
3
class Badger
  
  attr_accessor :name, :size # Creates getter and setter methods.