Skip to content

Instantly share code, notes, and snippets.

View jirikolarik's full-sized avatar

Jiri Kolarik jirikolarik

View GitHub Profile
[
{
"code": "ab",
"name": "Abkhaz"
},
{
"code": "aa",
"name": "Afar"
},
{
@jirikolarik
jirikolarik / gist:525accba90a40237171e
Created January 23, 2015 09:04
Postgres isn't running fix on homebrew
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"?
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
rm /usr/local/var/postgres/postmaster.pid
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist