Tried to run postgres -D /usr/local/var/postgres and got this:
FATAL:  could not open directory "pg_tblspc": No such file or directory
An easy fix. The Yosemite install blows away some empty directories that PostgreSQL expects.
| Param( | |
| [switch]$installExtensions, | |
| [switch]$downloadCSS | |
| ) | |
| if ($installExtensions.IsPresent) { | |
| code --install-extension robbowen.synthwave-vscode | |
| code --install-extension be5invis.vscode-custom-css | |
| } | 
| launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist | |
| initdb /usr/local/var/postgres9.4 -E utf8 | |
| pg_upgrade -v \ | |
| -d /usr/local/var/postgres \ | |
| -D /usr/local/var/postgres9.4 \ | |
| -b /usr/local/Cellar/postgresql/9.3.5_1/bin/ \ | |
| -B /usr/local/Cellar/postgresql/9.4.1/bin/ | |
| mv /usr/local/var/postgres /usr/local/var/postgres9.3 | |
| mv /usr/local/var/postgres9.4 /usr/local/var/postgres | |
| launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist | 
| The MIT License (MIT) | |
| Copyright (c) 2014 NPR | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: | 
This script for Google Spreadsheets allows you to generate slugs for your data such as might be used for creating unique urls.
Use it like this!
| # | A | B | C | 
|---|---|---|---|
| 1 | a | b | slug | 
| 2 | foo | baz bing | =slugify(A2:B4) | 
| 3 | bar | BAZ | |
| 4 | FOO | baz-bing | 
| Working Man | |
| In The End | |
| Bastille Day | |
| 2112 Overture | |
| Closer To The Heart | |
| The Trees | |
| The Spirit Of Radio | |
| Limelight | |
| Subdivisions | |
| Distant Early Warning | 
| var Sankey = function(opts) { | |
| this.opts = opts; | |
| this.el = $("#" + this.opts.el); | |
| this.graphsReady = 0; | |
| this.graphWidth = this.el.width(); | |
| }; | |
| Sankey.prototype.initPaper = function() { | |
| this.paper = Raphael(document.getElementById(this.opts.el)); | |
| }; | 
    std::set phoenix;
    phoenix.key_comp();| { | |
| "bold_folder_labels": true, | |
| "caret_style": "phase", | |
| "close_windows_when_empty": true, | |
| "color_scheme": "Packages/Theme - Flatland/Flatland Dark.tmTheme", | |
| "draw_indent_guides": true, | |
| "draw_white_space": "selection", | |
| "file_exclude_patterns": | |
| [ | |
| ".DS_Store", | 
| function commaify (num) { | |
| var num_string, | |
| i, | |
| len, | |
| threes = [], | |
| remainders; | |
| num_string = num.toString(); | |
| len = num_string.length; | |
| remainders = len % 3; |