Public Gists by ssoroka

Gravatar
Mon Nov 02 10:14:22 -0800 2009
1
2
3
INSTALLER_VERSION = "1.2.1"
 
=begin
Gravatar
Tue Aug 25 16:46:09 -0700 2009
1
2
3
  # truncates html text to the desired text length.
  # Like the Rails _truncate_ helper but doesn't break HTML tags or entities.
  #
Gravatar
Tue Jul 28 08:46:16 -0700 2009
1
2
3
#!/usr/bin/env ruby
 
def test1
Gravatar
Thu Jul 16 10:38:22 -0700 2009
1
2
3
# renders public/400.html on requests that do not supply expected parameters.
module ValidateRequestParameters
  # accept_only :string, :for => [:first_name, :last_name]
Gravatar
Wed May 27 15:07:16 -0700 2009
1
2
3
######### bin/task_runner.rb ##########
 
# USAGE:
Gravatar
Tue Mar 03 12:04:41 -0800 2009
1
2
3
have_library: checking for GeoIP_new() in -lGeoIP... -------------------- no
 
"gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -arch ppc -arch i386 -Os -pipe -fno-common conftest.c -L"." -L"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib" -L. -arch ppc -arch i386 -lruby -lGeoIP -lpthread -ldl -lm "
Gravatar
Thu Feb 26 10:38:35 -0800 2009
1
2
3
1939 David Heinemeier Hansson
1668 Jeremy Kemper
 444 Josh Peek
Gravatar
Wed Feb 18 14:09:10 -0800 2009
1
2
3
# install latest cucumber as gem.
git clone git://github.com/aslakhellesoy/cucumber.git
cd cucumber
Gravatar
Thu Dec 04 22:24:19 -0800 2008
1
2
3
class RouteFilter
  
  class << self
Gravatar
Fri Nov 14 00:36:13 -0800 2008
1
2
3
# find two words that share the same pluralization for tpope. :D
# Steven Soroka
# http://blog.stevensoroka.ca