start new:
tmux
start new with session name:
tmux new -s myname
| The primary goal is to swap command and option. | |
| The secondary goal is to remap Caps Lock to Control. | |
| The tertiary goal is to share modifier keys across keyboards, so you can emacs with two keyboards. | |
| The following instructions are good as of 2016-08-24, for OS X El Capitan 10.11.6. | |
| Mac OS Sierra broke Seil support; Seil instructs us to consider Karabiner Elements. | |
| But when Karabiner Elements swaps command and option, it does it for all keyboards; | |
| meaning the native keyboard also gets its command and option swapped, which is bad! |
| #!/bin/bash | |
| sudo service docker stop | |
| sudo apt-get remove lxc-docker | |
| sudo apt-get autoremove | |
| sudo apt-get update | |
| sudo apt-get -y install linux-image-extra-$(uname -r) | |
| sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -" | |
| sudo sh -c "echo deb http://get.docker.io/ubuntu docker main\ > /etc/apt/sources.list.d/docker.list" | |
| sudo apt-get update | |
| sudo apt-get -y install lxc-docker |
| [user] | |
| name = Pavan Kumar Sunkara | |
| email = pavan.sss1991@gmail.com | |
| [core] | |
| editor = vim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| excludesfile = ~/.gitignore | |
| [sendemail] | |
| smtpencryption = tls | |
| smtpserver = smtp.gmail.com |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| fabfile for Django | |
| ------------------ | |
| see http://morethanseven.net/2009/07/27/fabric-django-git-apache-mod_wsgi-virtualenv-and-p/ | |
| modified for fabric 0.9/1.0 by Hraban (fiëé visuëlle) | |
| several additions, corrections and customizations, too |