Public Gists by bigfleet

Gravatar
Tue Oct 06 12:21:14 -0700 2009
1
2
3
# First, you don't have to fret about the word at the beginning-- you can use
# any of them at any time. Given, When or Then, it doesn't really matter.
#
Gravatar
Thu Sep 24 09:14:04 -0700 2009
1
2
3
require 'rubygems'
  require 'rufus/tokyo'
 
Gravatar
Mon Sep 21 11:45:57 -0700 2009
1
2
3
require 'rubygems'
require 'json'
require 'typhoeus'
Gravatar
Wed Sep 16 07:16:06 -0700 2009
1
2
3
require 'mongo'
require 'mongo_record'
require 'memcached'
Gravatar
Tue Sep 15 19:02:27 -0700 2009
1
2
3
-module(packer).
 
-export([pack/1, test/0]).
Gravatar
Fri Jul 10 12:16:49 -0700 2009
1
2
3
$ ack \(Given\|When\|Then\) features/step_definitions
 
features/step_definitions/admin_steps.rb
gist: 134808 CHEF-398
Gravatar
Tue Jun 23 13:13:36 -0700 2009
1
2
3
def decision
  oidreq = session[:last_oidreq]
  session[:last_oidreq] = nil
Gravatar
Mon Jun 22 12:33:16 -0700 2009
1
2
3
#!/usr/bin/env ruby
 
require 'rubygems'
Gravatar
Fri Jun 19 06:09:45 -0700 2009
1
2
3
# Bash snippet to open new shells in most recently visited dir.
# Useful if you want to open a new terminal tab at the present
# tab's location.
gist: 126850 EC2 .ssh/config entries
Gravatar
Tue Jun 09 15:24:31 -0700 2009
1
2
3
Host ec2*compute-1.amazonaws.com
  User some_user
  StrictHostKeyChecking no
gist: 122506 DB per branch
Gravatar
Tue Jun 02 12:16:52 -0700 2009
1
2
3
<%= branch = `git symbolic-ref HEAD`.gsub('refs/heads/', '').chomp.gsub('/', '_') %>
 
login: &login
Gravatar
Mon Jun 01 13:44:33 -0700 2009
1
2
3
blink:community bigfleet$ cucumber -p verbose
Ruby files required:
  * features/support/env.rb
Gravatar
Wed Apr 01 05:54:27 -0700 2009
1
2
3
[sudo] gem install term-ansicolor treetop diff-lcs nokogiri builder
[sudo] gem install rspec rspec-rails cucumber webrat
rails newproj
Gravatar
Thu Mar 19 06:05:25 -0700 2009
1
2
3
config.action_controller.asset_host = Proc.new do |source, request|
  non_ssl_host = "http://asset#{source.hash % 4}.backpackit.com"
  ssl_host = "https://asset1.backpackit.com"
Gravatar
Fri Mar 06 12:17:06 -0800 2009
1
2
3
#!/bin/sh
#
# EC2 bootstrap
Gravatar
Sun Mar 01 07:59:10 -0800 2009
1
2
3
Feature: Identifying local leadership training chairs
  In order to identify local volunteers with increased capabilities
  As a super-user
gist: 51211 bigfleet's Rails template
Gravatar
Fri Jan 23 13:36:19 -0800 2009
1
2
3
plugin 'rspec', :git => 'git://github.com/dchelimsky/rspec.git'
plugin 'rspec-rails', :git => 'git://github.com/dchelimsky/rspec-rails.git'
plugin 'restful-authentication', :git => 'git://github.com/technoweenie/restful-authentication.git'
gist: 9682 Install memcached on OS X
Gravatar
Tue Sep 09 07:12:12 -0700 2008
1
2
3
#!/bin/sh
 
##