Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am phoozle on github.
* I am phoozle (https://keybase.io/phoozle) on keybase.
* I have a public key ASBtMGCqEFQGw9kKU8i9XxZjHOlgFzyPy-TVCVRPSZ6rEgo
To claim this, I am signing this object:
@phoozle
phoozle / follow.rb
Created August 25, 2012 02:06 — forked from 23inhouse/follow.rb
Find twitter and facebook accounts
#!/usr/bin/env ruby
require 'mechanize'
require 'csv'
require 'fileutils'
google_allowing_us = true
SOURCE_CSV = ARGV[0] || "./wineries.csv"
def get_facebook(winery)
@phoozle
phoozle / unicorn_configs
Created July 16, 2012 04:56 — forked from mguterl/gist:308216
unicorn_init
# /etc/bash_completion.d/unicorn_configs
_unicorn_configs() {
local prev cur
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
configs=`ls /etc/unicorn | sed 's/.conf//g'`
COMPREPLY=()
cmds=(start stop restart)
if [[ ${cmds[*]} =~ ${prev} ]]; then