Skip to content

Instantly share code, notes, and snippets.

@enzoz
enzoz / gist:3287219
Created August 7, 2012 16:47
fixing postgresql install on ML
install postegresql via brew without ossp-uuid dependency with:
# $ brew update
# $ brew install postgresql --without-ossp-uuid
then init your database with
# $ initdb /usr/local/var/postgres
ML has a strange behaviour, creating to postgresql a socket in /var/pgsql_socket_alt (nobody look at this path)
to fiz it you should create a new dir and give to your user the ownership of it
@enzoz
enzoz / hack.sh
Created April 2, 2012 11:57 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#