As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
| Latency Comparison Numbers (~2012) | |
| ---------------------------------- | |
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD | 
Unfortunately, the Cisco AnyConnect client for Mac conflicts with Pow. And by "conflicts", I mean it causes a grey-screen-of-death kernel panic anytime you connect to the VPN and Pow is installed.
As an alternative, there is OpenConnect, a command-line client for Cisco's AnyConnect SSL VPN.
Here's how to get it set up on Mac OS X:
OpenConnect can be installed via homebrew:
 brew update
brew install openconnect
| class CategoryListFilter(SimpleListFilter): | |
| # USAGE | |
| # In your admin class, pass trhe filter class as tuple for the list_filter attribute: | |
| # | |
| # list_filter = (CategoryListFilter,) | |
| # Human-readable title which will be displayed in the | |
| # right admin sidebar just above the filter options. | 
Simply put, destructuring in Clojure is a way extract values from a datastructure and bind them to symbols, without having to explicitly traverse the datstructure. It allows for elegant and concise Clojure code.
A rather dirty way to patch module code at runtime.
| Remove osxfuse if installed via homebrew: | |
| > brew uninstall osxfuse | |
| Install osxfuse binary and choose to install the MacFUSE compatibility layer: | |
| http://sourceforge.net/projects/osxfuse/files/latest/download?source=files | |
| Reboot (optional but recommended by osxfuse) | |
| Install ntfs-3g via homebrew: | |
| > brew update && brew install ntfs-3g | 
| # Default termtype. If the rcfile sets $TERM, that overrides this value. | |
| set -g default-terminal screen-256color | |
| # support logging out and back in | |
| set -g update-environment "SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION" | |
| # pbcopy support | |
| set-option -g default-command "reattach-to-user-namespace -l bash" | |
| # vi mode | 
| FROM debian:jessie | |
| ENV USER=boatswain USER_ID=1000 USER_GID=1000 | |
| # now creating user | |
| RUN groupadd --gid "${USER_GID}" "${USER}" && \ | |
| useradd \ | |
| --uid ${USER_ID} \ | |
| --gid ${USER_GID} \ | |
| --create-home \ | 
https://mikebeach.org/2011/07/26/how-to-monitor-your-microphone-through-headphones-in-ubuntu/
This walks you through routing the microphone's audio to your headphones. I've tested it on a Raspberry PI (Raspbian Jessie).