tmux new [-s name] [cmd]
(:new
) - new session
tmux ls
(:ls
) - list sessionstmux switch [-t name]
(:switch
) - switches to an existing session
-module (base64ex). | |
-export ([urlsafe_decode64/1, urlsafe_encode64/1]). | |
urlsafe_decode64(Str) -> | |
Str2 = re:replace(Str, "-", "+", [global, {return,list}]), | |
Str3 = re:replace(Str2, "_", "/", [global, {return,list}]), | |
base64:decode(Str3). | |
urlsafe_encode64(Bin) -> |
{"src/*", [debug_info, {d, debug}, {outdir, "ebin"}, {i, "include"}]}. |
start(Pid) -> | |
register(my_process, spawn(module, loop, [Pid])). | |
loop(Pid) -> | |
receive | |
{From, give_pid} -> | |
From ! Pid | |
end, | |
loop(Pid). |
-module (base64ex). | |
-export ([urlsafe_decode64/1, urlsafe_encode64/1]). | |
urlsafe_decode64(Str) -> | |
Str2 = re:replace(Str, "-", "+", [global, {return,list}]), | |
Str3 = re:replace(Str2, "_", "/", [global, {return,list}]), | |
base64:decode(Str3). | |
urlsafe_encode64(Bin) -> |
-module(timeit). | |
-export([timeit/3, | |
timeit/4, | |
timeit/5]). | |
-export([simple_test/0]). | |
timeit(Mod, Fun, Arity) -> | |
timeit(all, Mod, Fun, Arity, undefined). |
#!/bin/bash | |
# installing erlang on ubuntu's | |
VERSION="R15B01" | |
sudo apt-get install build-essential libncurses5-dev openssl libssl-dev | |
sudo mkdir -p /opt/erlang/ | |
curl -O https://raw.github.com/spawngrid/kerl/master/kerl && chmod a+x kerl | |
sudo mv kerl /opt/erlang/ |
#!/usr/bin/env python | |
# encoding: utf-8 | |
#Constants.R | |
#Created by Kenneth J. Shackleton on 14 June 2011. | |
#Copyright (c) 2011 Ringo Limited. | |
#All rights reserved. | |
#R Port by Zach Mayer on 4 December 2011 |
#!/bin/bash | |
# installing erlang on ubuntu's | |
sudo apt-get install build-essential libncurses5-dev openssl libssl-dev | |
sudo mkdir -p /opt/erlang/ | |
curl -O https://raw.github.com/spawngrid/kerl/master/kerl && chmod a+x kerl | |
sudo mv kerl /opt/erlang/ | |
sudo ln -s /opt/erlang/kerl /usr/local/bin/kerl |
# $Id: screen-keys.conf,v 1.7 2010-07-31 11:39:13 nicm Exp $ | |
# | |
# By Nicholas Marriott. Public domain. | |
# | |
# This configuration file binds many of the common GNU screen key bindings to | |
# appropriate tmux key bindings. Note that for some key bindings there is no | |
# tmux analogue and also that this set omits binding some commands available in | |
# tmux but not in screen. | |
# | |
# Note this is only a selection of key bindings and they are in addition to the |