Public Gists by bdimcheff

Gravatar
Tue Oct 20 08:19:19 -0700 2009
1
2
3
class Foo
  puts "in Foo's body"
  
Gravatar
Sun Oct 18 08:30:18 -0700 2009
1
2
3
{ :action => :ehlo,
  :ehlo => 'mail.example.org' }
{ :action => :mail_from,
Gravatar
Sat Oct 17 18:32:19 -0700 2009
1
2
3
module Router
  def self.included(base) # :nodoc:
    base.extend ClassMethods
Gravatar
Wed Oct 07 22:40:20 -0700 2009
1
2
3
--- lsi.rbBACK 2008-02-06 15:49:59.000000000 -0500
+++ lsi.rb 2008-02-06 15:58:26.000000000 -0500
@@ -287,7 +287,11 @@
Gravatar
Tue Jul 14 17:35:00 -0700 2009
1
2
3
  def parse_record
    # Remove all non-digits from numeric attributes.
    # Required in order to store data in Fannie Format
Gravatar
Thu Jun 04 12:58:01 -0700 2009
1
2
3
# From http://github.com/jaymcgavren
#
# Save this as rcov.rake in lib/tasks and use rcov:all =>
Gravatar
Thu Mar 05 14:48:57 -0800 2009
1
2
3
[color]
        diff = auto
        status = auto
Gravatar
Sun Jan 25 20:39:14 -0800 2009
1
2
3
def each_pair(&block)
  each_with_index do |word, index|
    yield word + self[index + 1]
Gravatar
Fri Jan 02 16:44:37 -0800 2009
1
2
3
before "deploy:setup", "db:configure"
after "deploy:update_code", "db:symlink"
 
Gravatar
Fri Jan 02 08:04:24 -0800 2009
1
2
3
# http://www.websudoku.com/?level=4&set_id=470872047
..53.694.
.3.1....6
Gravatar
Mon Dec 22 22:26:56 -0800 2008
1
2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
Gravatar
Fri Oct 31 12:17:08 -0700 2008
1
2
3
# input:
#
# foo,1,1
Gravatar
Wed Oct 15 12:35:07 -0700 2008
1
2
3
class Time
  class << self
    alias_method :parse, :parse_without_new_stuff
Gravatar
Mon Oct 06 07:43:02 -0700 2008
1
2
3
There are several parking options for Great Lakes Ruby Bash. Check out our <a href="http://maps.google.com/maps/ms?hl=en&ie=UTF8&msa=0&msid=117792983027054200737.0004589662cacf5a70bdf&ll=42.28173,-83.735304&spn=0.007049,0.011115&z=17">Google Map</a> for all of the options. We recommend you park in the Blue parking structure on Ann, which is about 1 block north of the conference site. You may also park in the other structures labelled with blue pins for free. They does not require a permit on the weekend. You may get directions from your origin by clicking on the blue pin and choosing "Directions to here".
 
NOTE: The parking structures labelled on this map contain Gold and Business reserved parking as well as Blue parking. DO NOT park in those spots, as you will get a nasty ticket. All spots not specifically labelled are Blue spots and are generally OK to park in, but please read and adhere to all posted signs in your parking lot, structure, and space.
Gravatar
Wed Oct 01 08:35:25 -0700 2008
1
2
3
while foreigner != terrorist
  waterboard(foreigner)
end