Skip to content

Instantly share code, notes, and snippets.

View wfarr's full-sized avatar
:shipit:
shipping

Will Farrington wfarr

:shipit:
shipping
  • Salesforce
  • Atlanta, GA
View GitHub Profile
@wfarr
wfarr / fantasy_draft_2012.txt
Created August 26, 2012 19:39
fantasy football draft 2012
Round: 1
(1) Team Proud Pirates - Arian Foster RB
(2) Empire Zhou - Aaron Rodgers QB
(3) F. Industries Fire Ferrets - Ray Rice RB
** (4) ATL Fuck Shit Ups - Tom Brady QB
(5) Team Estevez - LeSean McCoy RB
(6) Atlanta Justice - Drew Brees QB
(7) Counter Terrorists - Chris Johnson RB
(8) Atlanta Donohue - Cam Newton QB
(9) India Cricketers - Calvin Johnson WR
testing
require 'rubygems'
require 'nokogiri'
require 'open-uri'
base_url = 'http://bukk.it/'
doc = Nokogiri::HTML(open(base_url))
doc.css('tr td a').each do |element|
path = element.attributes['href'].value
#!/bin/env ruby
require 'bootlace'
Bootlace.strap_up do |b|
%w(
libqt4-dev
libxml2-dev
libxslt1-dev
libmysqlclient-dev
› git show i-herd-u-liek-chef:foo
bar
› git show i-herd-u-liek-chef~1:foo
fatal: Path 'foo' exists on disk, but not in 'i-herd-u-liek-chef~1'.
test
trolled
)))))))
/*
As of version 1.1.2, Propane will load and execute the contents of
~Library/Application Support/Propane/unsupported/caveatPatchor.js
immediately following the execution of its own enhancer.js file.
You can use this mechanism to add your own customizations to Campfire
in Propane.
Below you'll find two customization examples.
ree-1.8.7-2011.03 :031 > Puppet::version
=> "2.7.0"
ree-1.8.7-2011.03 :032 > pp bucket
#<Puppet::TransBucket:0x103e8cfe8
@catalog=
#<Puppet::Resource::Catalog:0x103dbc000
@aliases=
{"Class[Dependencytestmanifest#2180487200]"=>
[["Class", ["Dependencytestmanifest#2180487200"]]]},
@applying=false,
ree-1.8.7-2011.03 :059 > pp @manifest.puppet_resources
{Puppet::Type::Exec=>
{"trololol"=>
Exec[trololol]{:command=>"true", :path=>"/Users/wfarr/Development/shadow_puppet/tmp/isolate/ruby-1.8/bin:/Users/wfarr/.rvm/gems/ree-1.8.7-2011.03@shadow_puppet/bin:/Users/wfarr/.rvm/gems/ree-1.8.7-2011.03@global/bin:/Users/wfarr/.rvm/rubies/ree-1.8.7-2011.03/bin:/Users/wfarr/.rvm/bin:bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin"},
"foobar"=>
Exec[foobar]{:before=>"Puppet::Type::Exec[barbaz]", :command=>"true", :path=>"/Users/wfarr/Development/shadow_puppet/tmp/isolate/ruby-1.8/bin:/Users/wfarr/.rvm/gems/ree-1.8.7-2011.03@shadow_puppet/bin:/Users/wfarr/.rvm/gems/ree-1.8.7-2011.03@global/bin:/Users/wfarr/.rvm/rubies/ree-1.8.7-2011.03/bin:/Users/wfarr/.rvm/bin:bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin"},
"barbaz"=>
Exec[barbaz]{:command=>"true", :path=>"/Users/wfarr/Development/shadow_puppet/tmp/isolate/ruby-1.8/bin:/Users/wfarr/.rvm/g