Tmux sets TERM to screen
Emacs doesn't use all available colors with this environment variable
E.g. in fish shell, fix this by set -gx TERM xterm-256color
| $ boot cljs -s -- target | 
| $ sudo chown -R $(whoami) /usr/local | |
| $ brew update # Just to confirm everything worked | |
Tmux sets TERM to screen
Emacs doesn't use all available colors with this environment variable
E.g. in fish shell, fix this by set -gx TERM xterm-256color
| $ pip3 install virtualfish | |
| $ emacs -nw ~/.config/fish/config.fish | |
| # ... add `eval (python3 -m virtualfish)` | |
| # In case $EDITOR is not set | |
| $ set -g EDITOR 'emacs -nw' | |
| $ funced fish_prompt | |
| # Add the following lines: | |
| if set -q VIRTUAL_ENV | 
$ brew info postgresql
... confirm version etc.
$ brew install postgresql
...
To have launchd start postgresql now and restart at login:
brew services start postgresql
| ;; Assuming project.clj contains the following: | |
| ;; [org.clojure/java.jdbc "0.6.1"] | |
| ;; [postgresql "9.3-1102.jdbc41"] | |
| (require '[clojure.java.jdbc :as sql]) | |
| (def db-spec "postgresql://localhost:5432/thousand_words") | |
| (sql/db-do-commands db-spec | |
| (sql/create-table-ddl :locations | 
| # A personal crib sheet for Hugo | |
| ## See what the current version looks like | |
| $ hugo server -t angels-ladder -D -w -v | |
| ## Copy generated site over to github repo | |
| $ hugo -d ../Github/agam.github.io/ --theme=angels-ladder | |
| ## Create a new post | |
| $ hugo new post/my-new-post.md | 
| $ sudo make install clean BATCH=yes | 
| $ cd /usr/ports/ports-mgmt/pkg | |
| $ sudo make deinstall reinstall | 
+Esc instead of Normal