Public Gists by timocratic

gist: 51176 Quake 3 config file - put i...
Gravatar
Fri Jan 23 12:27:10 -0800 2009
1
2
3
set w1 "weapon 5; bind mouse3 vstr w2; echo ROCKET LAUNCHER"
set w2 "weapon 7; bind mouse3 vstr w1; echo RAIL GUN"
bind mouse3 vstr w1
Gravatar
Tue Jan 20 11:52:31 -0800 2009
1
2
3
test = Rake::Task['test']
test.clear
desc 'Run all units, functionals, integration, libs'
Gravatar
Tue Jan 13 14:49:56 -0800 2009
1
2
3
def foo(value)
  "#{value}foo"
end
Gravatar
Mon Dec 22 13:05:23 -0800 2008
1
2
3
# Note to Self
 
## Test
gist: 36730 Determining where in the in...
Gravatar
Tue Dec 16 11:16:40 -0800 2008
1
2
3
def Object.method_defined_where(method)
  self.ancestors.detect { |a| a.methods(false).include?(method.to_s) }
end
Gravatar
Mon Nov 10 16:04:19 -0800 2008
1
2
3
namespace :db do
  task :migrate => :clear_load_paths do
    Dependencies.load_paths = @old_load_paths