My Recent Pastes (12 and counting)
Pastes by Geoffrey Grosenbach (12 and counting)
Below are the 12 most recent pasties by Geoffrey Grosenbach.
February 06, 2008
12:14AM EDT
by Geoffrey Grosenbach
path: /Users/topfunky/repos/funkyblog cmd: ./script/merb --port [[PORT]] --environment development max_instances: 12 timeout: 9
December 31, 2007
5:30PM EDT
by Geoffrey Grosenbach
#!/bin/env ruby if ENV['TM_CURRENT_LINE'] =~ /(.*)(Given|When|Then|And)(.*)/ print %Q(#{$1}#{$2}("#{$3.strip}")) end
September 30, 2007
10:53PM EDT
by Geoffrey Grosenbach
View more (19 lines)
it "should authenticate successfully" do
mock_open_id_consumer("http://newuser.example.com", {'email' => 'newuser@example.com'})
lambda {
post :create, :openid_url => "http://newuser.example.com", :open_id_complete => '1'
September 30, 2007
10:50PM EDT
by Geoffrey Grosenbach
View more (16 lines)
it "should authenticate successfully" do
@controller.should_receive(:open_id_consumer).and_return(stub('openid_consumer', {
:complete => stub('completion_object', {
:status => OpenID::SUCCESS,
:identity_url => "http://newuser.example.com",
September 28, 2007
3:41PM EDT
by Geoffrey Grosenbach
View more (55 lines)
class Vlad::Git set :source, Vlad::Git.new set :git_cmd, "git"
September 25, 2007
11:51AM EDT
by Geoffrey Grosenbach
View more (184 lines)
require 'capistrano/recipes/deploy/scm/base'
module Capistrano
module Deploy
module SCM
July 20, 2007
3:36PM EDT
by Geoffrey Grosenbach
View more (47 lines)
#!/usr/local/bin/ruby ## # USE AT YOUR OWN RISK #
July 16, 2007
12:40PM EDT
by Geoffrey Grosenbach
View more (25 lines)
.vcard
%a{:class=>"url fn hide", :href=>"http://topfunky.com/"}
Geoffrey Grosenbach
July 11, 2007
4:03PM EDT
by Geoffrey Grosenbach
Deal.find(:all, :include => :country, :conditions => ['countries.title = ?', 'Kazakhstan'])
July 03, 2007
12:19PM EDT
by Geoffrey Grosenbach
View more (94 lines)
# load libraries require 'rubygems' require 'wirble' # start wirble (with color)
May 08, 2007
12:31PM EDT
by Geoffrey Grosenbach
View more (14 lines)
require 'superredcloth' class SuperBlackCloth < SuperRedCloth def to_tagged_text
March 30, 2007
5:11PM EDT
by Geoffrey Grosenbach
The presentation will feature real-world examples and also more experimental features that are possible only with the power of Rails.
