This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pg_ctl -D /usr/local/var/postgres stop -s -m fast | |
launchctl unload -w ~/Library/LaunchAgents/org.postgresql.postgres.plist | |
rm ~/Library/LaunchAgents/org.postgresql.postgres.plist | |
mv /usr/local/var/postgres/ /usr/local/var/postgres-9.0.4/ | |
brew update | |
brew upgrade postgresql | |
cp /usr/local/Cellar/postgresql/9.1.3/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /etc/ssl | |
openssl req -nodes -newkey rsa:2048 -keyout domain.key -out domain.csr | |
Generating a 2048 bit RSA private key | |
.................................................................................+++ | |
........................+++ | |
writing new private key to 'domain.key' | |
----- | |
You are about to be asked to enter information that will be incorporated | |
into your certificate request. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// swap the keybindings for paste and paste_and_indent | |
{ "keys": ["super+v"], "command": "paste_and_indent" }, | |
{ "keys": ["super+shift+v"], "command": "paste" } |