diff --git a/logfile b/logfile new file mode 100644 index 0000000..5cd9b37 --- /dev/null +++ b/logfile @@ -0,0 +1,2 @@ +FATAL: lock file "postmaster.pid" already exists +HINT: Is another postmaster (PID 1091) running in data directory "/usr/local/var/postgres"? diff --git a/vimrc b/vimrc index 69030d5..0ac1d69 100644 --- a/vimrc +++ b/vimrc @@ -103,7 +103,7 @@ map gs :Gstatus map gw :!git add . && git commit -m 'WIP' && git push map nn :sp ~/Dropbox/notes/programming-notes map p :set pasteo"*]p:set nopaste -map pn :sp ~/Dropbox/work/redwood/notes/project-notes +map pn :sp ~/Dropbox/notes/project-notes map rf :CommandTFlush " Remove trailing whitespace on save all files. diff --git a/zsh/aliases b/zsh/aliases index c93399b..32f932f 100644 --- a/zsh/aliases +++ b/zsh/aliases @@ -112,8 +112,9 @@ alias wtodo='vim ~/Dropbox/work/redwood/notes/work-todo' alias sharp='vim ~/Dropbox/notes/sharpening-notes' alias completion='vim ~/Dropbox/notes/completion-list' alias powerup='vim ~/code/learning-area/notes/powerup' -alias pnotes='vim ~/Dropbox/notes/programming-notes' -alias wnotes='vim ~/Dropbox/work/redwood/notes/project-notes' +alias notes='cd ~/Dropbox/notes' +alias cnotes='vim ~/Dropbox/notes/programming-notes' +alias pnotes='vim ~/Dropbox/notes/project-notes' # Projects alias projects='cd ~/code/projects' @@ -123,6 +124,9 @@ alias work='cd ~/code/work/redwood' alias learn='cd ~/code/learning-area' alias current='cd ~/code/learning-area/languages-frameworks/elixir/introducing-elixir/physics' +# Open Source +alias ssh-discourse='ssh -F ~/code/projects/discourse/.project/vagrant.ssh.conf default' + # Heroku staging alias staging-console='heroku run console --app campusperks-staging' alias staging-tail='heroku logs --tail --app campusperks-staging' @@ -130,3 +134,6 @@ alias staging-tail='heroku logs --tail --app campusperks-staging' # Heroku production alias production-console='heroku run console --app campusperks' alias production-tail='heroku logs --tail --app campusperks' + +# DB +alias start-postgres='pg_ctl -D /usr/local/var/postgres -l logfile start'