Public Gists by kch

gist: 225509 Assimilates git submodules'...
Gravatar
Tue Nov 03 14:27:10 -0800 2009
1
2
3
#!/usr/bin/env ruby
require 'yaml'
require 'pathname'
gist: 111538 How to not waste lines and ...
Gravatar
Wed May 13 23:39:47 -0700 2009
1
2
3
So I ran into a bit of code that looked like this:
 
    def my_method
gist: 111517 UR DOIN' IT WRONG (untested)
Gravatar
Wed May 13 23:10:16 -0700 2009
1
2
3
class CASServer::Authenticators::SQL < CASServer::Authenticators::Base
 
  def validate(credentials)
gist: 111486 feedback to fogcreek re fog...
Gravatar
Wed May 13 21:32:46 -0700 2009
1
2
3
# On WYSIWYG
 
I guess it's the distinction between text editor and word processor.
gist: 101456 dynamically define a method...
Gravatar
Fri Apr 24 18:56:26 -0700 2009
1
2
3
module Tracy
 
  def self.included k
gist: 99037 my super duper html strippe...
Gravatar
Tue Apr 21 02:10:09 -0700 2009
1
2
3
class String
  def strip_html!
    gsub!(/