Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am torybriggs on github.
  • I am tory (https://keybase.io/tory) on keybase.
  • I have a public key whose fingerprint is 7C1B D911 BAB2 03EC ECF1 B321 401F DC2F E382 F659

To claim this, I am signing this object:

#!/bin/sh
server=$1
repo=$2
refname=$3
ssh $server "cd $repo/hooks && echo '1 1 $refname' | ./post-receive"
#!/bin/sh
# Ask for the administrator password upfront.
sudo -v
# homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
# taps
@torybriggs
torybriggs / gist:4047304
Created November 9, 2012 18:18
postgres errors
Last login: Fri Nov 9 10:11:01 2012 from 64.147.152.13
[deploy@cloud-reader-stage ~]$ sudo su postgres
bash-4.1$ createdb george_is_here
could not change directory to "/home/deploy"
bash-4.1$ dropdb george_is_here
could not change directory to "/home/deploy"
bash-4.1$
@torybriggs
torybriggs / brew install nginx --with-passenger error output
Created March 29, 2012 17:27
Installing nginx with passenger throws an error with OS X Lion 10.7.3 and Xcode 4.3.2
==> Downloading http://nginx.org/download/nginx-1.0.14.tar.gz
Already downloaded: /Users/torybriggs/Library/Caches/Homebrew/nginx-1.0.14.tar.gz
==> Patching
patching file auto/lib/pcre/conf
Hunk #1 succeeded at 156 (offset 1 line).
patching file conf/nginx.conf
==> ./configure --prefix=/usr/local/Cellar/nginx/1.0.14 --with-http_ssl_module --with-pcre --conf-path=/u
checking for OS
+ Darwin 11.3.0 x86_64
checking for C compiler ... found