Skip to content

Instantly share code, notes, and snippets.

View jbgreer's full-sized avatar

Jim Greer jbgreer

  • Memphis, TN, USA
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jbgreer on github.
  • I am grimjeer (https://keybase.io/grimjeer) on keybase.
  • I have a public key whose fingerprint is A4CA 7EAC 0AB4 EE3A FD93 88DD DE37 6258 7E63 3364

To claim this, I am signing this object:

@jbgreer
jbgreer / postgresql_stop
Created July 14, 2012 15:13
Mac OS X Lion brew installed PostgreSQL stop
pg_ctl -D /usr/local/var/postgres stop -s -m fast
@jbgreer
jbgreer / postgresql_autostart
Created July 14, 2012 15:12
Mac OS X Lion brew installed PostgreSQL auto-start on login
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/postgresql/9.1.4/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
@jbgreer
jbgreer / postgresql_db_create
Created July 14, 2012 15:11
Mac OS X Lion brew installed PostgreSQL database creation
initdb /usr/local/var/postgres
@jbgreer
jbgreer / postgresql start
Created July 14, 2012 15:10
Mac OS X Lion brew installed PostgreSQL start
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start