start new:
tmux
start new with session name:
tmux new -s myname
| # coding: utf8 | |
| """ Attempt at gevent-compatible requests without any monkeypatching """ | |
| import geventhttpclient | |
| from geventhttpclient import httplib as gehttplib | |
| from geventhttpclient.useragent import CompatResponse | |
| import httplib as _httplib | |
| import requests |
| # Create a directory | |
| mkdir ~/tmux-install | |
| cd ~/tmux-install | |
| # Get the files | |
| curl -OL http://downloads.sourceforge.net/tmux/tmux-1.5.tar.gz | |
| curl -OL http://downloads.sourceforge.net/project/levent/libevent/libevent-2.0/libevent-2.0.16-stable.tar.gz | |
| # Extract them | |
| tar xzf tmux-1.5.tar.gz |
| var touchstartX = 0; | |
| var touchstartY = 0; | |
| var touchendX = 0; | |
| var touchendY = 0; | |
| var gesuredZone = document.getElementById('gesuredZone'); | |
| gesuredZone.addEventListener('touchstart', function(event) { | |
| touchstartX = event.screenX; | |
| touchstartY = event.screenY; |