start new:
tmux
start new with session name:
tmux new -s myname
# which goes into dev null | |
# $? is the magic that tells us if it worked 0 = exists | |
if [[ `which nvm &>/dev/null && $?` != 0 ]]; then | |
source ~/.nvm/nvm.sh | |
fi |
1 - Run on the first machine
docker swarm init
2 - Run on other machines to be included to the cluser (swarm)
docker swarm join :2377
sudo apt-get install -y build-essential wget gcc g++ texinfo libx11-dev libxpm-dev libjpeg-dev libpng-dev libgif-dev libtiff-dev libgtk2.0-dev libncurses-dev | |
#Download Emacs 24.5+ source code | |
wget ftp://ftp.gnu.org/pub/gnu/emacs/emacs-24.5.tar.gz | |
tar -zxvf emacs-24.5.tar.gz | |
cd emacs-24.5 | |
./configure |
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-common vim-gui-common | |
sudo apt-get build-dep vim-gnome | |
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev | |
sudo rm -rf /usr/local/share/vim | |
sudo rm /usr/bin/vim | |
// ************** Instructions for connecting to the LiveCoding chatrooms from a 3rd party application. **************** | |
Step 1a (Ubuntu/ any OS with aptitude (aka apt-get)) : | |
sudo apt-add-repository ppa:rsrchboy/profanity && sudo apt-get update | |
apt-get install profanity | |
-- | |
Step 1b (OSX w/ homebrew): | |
$ brew install profanity | |
-------- |