Public Gists by rmm5t

Gravatar
Tue Nov 03 16:40:17 -0800 2009
1
2
3
<?
 
// Should be called with args like this:
gist: 215930 A response to this YASnippe...
Gravatar
Thu Oct 22 05:44:51 -0700 2009
1
2
3
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Hippie expand. Groovy vans with tie-dyes.
 
Gravatar
Sat Sep 26 16:24:58 -0700 2009
1
2
3
# Change the window title of X terminals
case $TERM in
  xterm*|rxvt|Eterm|eterm)
Gravatar
Sat Aug 08 14:12:26 -0700 2009
1
2
3
class Test::Unit::TestCase
  # Ensures that the model has a method named scope_name that returns a NamedScope object with the
  # proxy options set to the options you supply. scope_name can be either a symbol, or a method
Gravatar
Tue Jul 28 15:10:28 -0700 2009
1
2
3
#!/usr/bin/env ruby
 
Package = Struct.new(:name, :path, :main, :globs)
Gravatar
Mon Jan 12 21:07:16 -0800 2009
1
2
3
module ControllerMacros
  [:get, :post, :put, :delete].each do |method|
    class_eval <<-RUBY
gist: 46233 Less verbose controller mac...
Gravatar
Mon Jan 12 15:22:11 -0800 2009
1
2
3
# Helper controller macros that define:
# on_get, on_post, on_put, on_delete
 
Gravatar
Wed Dec 31 06:50:56 -0800 2008
1
2
3
;;; Load twittering mode.
 
(require 'twittering-mode)
gist: 32998 vCards -> Asterisk commands...
Gravatar
Sat Dec 06 16:32:41 -0800 2008
1
2
3
#!/usr/bin/env ruby
 
# usage: ruby vcard_skidoosh.rb vcard.vcf
gist: 32507 vCards -> Asterisk commands...
Gravatar
Fri Dec 05 12:56:11 -0800 2008
1
2
3
#!/usr/bin/env ruby
 
# Example Usage:
gist: 6251 Locale override examples fo...
Gravatar
Tue Aug 19 16:38:52 -0700 2008
1
2
3
You can represent time statements in most western languages where
a prefix and/or suffix is used.
 
Gravatar
Mon Jul 21 12:58:53 -0700 2008
1
puts "Holy crap, Batman, this is freakin' wicked!"