Skip to content

Instantly share code, notes, and snippets.

Neal nneal

Block or report user

Report or block nneal

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
nneal / gist:3988917
Created Oct 31, 2012 — forked from gcatlin/gist:1847248
Install specific version of Homebrew formula
View gist:3988917
brew update
brew versions FORMULA
cd `brew --prefix`
git checkout HASH Library/Formula/FORMULA.rb # use output of "brew versions"
brew install FORMULA
git checkout -- Library/Formula/FORMULA.rb # reset formula
## Example: Using Subversion 1.6.17
nneal / gist:3725746
Created Sep 15, 2012
pg start error
View gist:3725746
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
brew update; brew upgrade; brew doctor
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
nneal /
Created Jun 11, 2012
Ubuntu Ruby install - rbenv and ruby-build
# Install rbenv
cd ~
git clone git:// .rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> .bash_profile
echo 'eval "$(rbenv init -)"' >> .bash_profile
You can’t perform that action at this time.