start new:
tmux
start new with session name:
tmux new -s myname
| ;;; publish --- Summary | |
| ;;; Commentary: | |
| (require 'find-lisp) | |
| ;;; Code: | |
| (defun hugcis/publish-note (file) | |
| "Publish a note in FILE." | |
| (with-current-buffer (find-file-noselect file) | |
| (projectile-mode -1) | |
| (setq org-hugo-section "notes" |
| SPC | |
| SPC: find file | |
| , switch buffer | |
| . browse files | |
| : MX | |
| ; EX | |
| < switch buffer | |
| ` eval | |
| u universal arg | |
| x pop up scratch |
| Download the latest version of JUnit here : <https://github.com/junit-team/junit4/wiki/Download-and-Install> | |
| (I place mine in ~/java/ for this example) | |
| Add the following lines to terminal conf. file (~/.zshrc) | |
| `export JUNIT_HOME="$HOME/java"` | |
| `export PATH="$PATH:$JUNIT_HOME"` | |
| `export CLASSPATH="$CLASSPATH:$JUNIT_HOME/junit-4.12.jar:$JUNIT_HOME/hamcrest-core-1.3.jar"` | |
| Alias junit in zshrc: `alias junit="java org.junit.runner.JUnitCore"` |
| (setq org-capture-templates | |
| (("a" "Appointment" entry | |
| (file+headline | |
| (concat org-directory "/taskdiary.org") | |
| "Calendar") | |
| "* APPT %^{Description} %^g\n%?\nAdded: %U") | |
| ("n" "Notes" entry | |
| (file+datetree | |
| (concat org-directory "/taskdiary.org")) | |
| "* %^{Description} %^g %?\nAdded: %U") |
##Given Apache 2 and MySQL are already installed.
#Update MacPorts sudo port selfupdate;sudo port -u upgrade outdated
#Install PHP 5.4.* sudo port install php54 php54-apache2handler ##Activate Apache Module cd /opt/local/apache2/modules