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:
| dd if=/dev/dsp | ssh -C user@host dd of=/dev/dsp |
| import util.continuations._ | |
| import scalaz._ | |
| import Scalaz._ | |
| def reify[M[_] : Monad, A](body: => A @cps[M[A]]): M[A] = | |
| reset{val result: A = body; implicitly[Monad[M]].pure[A](result)} | |
| implicit def monad2reflect[M[_] : Monad, A](action: M[A]) = new { | |
| def reflect[B]: A @cps[M[B]] = | |
| shift{(k: A => M[B]) => implicitly[Monad[M]].bind(action, k)} |
| /** | |
| * Turns someCrazyName into Some Crazy Name | |
| * Decent job of acroynyms: | |
| * ABCAcryonym => ABC Acryoynm | |
| * xmlHTTPRequest => Xml HTTP Request | |
| */ | |
| String.prototype.unCamelCase = function(){ | |
| return this | |
| // insert a space between lower & upper | |
| .replace(/([a-z])([A-Z])/g, '$1 $2') |