Some parts taken from: https://gist.github.com/kujohn/7209628
ipfw is officially deprecated and removed in OS X Yosemite. Pow requires another program pf to handle the port forwarding.
Create file /etc/pf.anchors/pow
| # vim | |
| echo "au! BufRead,BufNewFile /tmp/* setlocal buftype=nofile" >> ~/.vimrc | |
| echo "au! BufRead,BufNewFile /proc/* setlocal buftype=nofile" >> ~/.vimrc | |
| echo "syntax on" >> ~/.vimrc | |
| echo "set laststatus=2" >> ~/.vimrc | |
| echo "set statusline=%f\ %h%w%m%r\ %=%(%l,%c%V\ %=\ %P%)" >> ~/.vimrc | |
| # git | |
| git config --global pager.diff "" | |
| git config --global diff.external "/bin/bash -c 'vimdiff -o \"\$1\" \"\$4\"'" |
Some parts taken from: https://gist.github.com/kujohn/7209628
ipfw is officially deprecated and removed in OS X Yosemite. Pow requires another program pf to handle the port forwarding.
Create file /etc/pf.anchors/pow
| #! /bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: redis-server | |
| # Required-Start: $syslog | |
| # Required-Stop: $syslog | |
| # Should-Start: $local_fs | |
| # Should-Stop: $local_fs | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: redis-server - Persistent key-value db |