start new:
tmux
start new with session name:
tmux new -s myname
| var spawn = require('child_process').spawn; | |
| var cp = spawn('cat', ['/proc/self/fd/0']); | |
| cp.stdout.setEncoding('utf8'); | |
| cp.stdout.on('data', function (chunk) { | |
| console.log("child stdout: ", chunk); | |
| }); | |
| cp.stderr.setEncoding('utf8'); |
| <!doctype html> | |
| <!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
| <html> | |
| <head> | |
| <title>iOS 8 web app</title> | |
| <!-- CONFIGURATION --> |
| ## | |
| ## IMAP CREDENTIALS | |
| ## | |
| set smtp_url = "smtp://[email protected]:587/" | |
| #set smtp_pass = "password" | |
| set from = "[email protected]" | |
| set realname = "Some User" | |
| ## | |
| ## IMAP SETTINGS |
| #!/usr/bin/env python2 | |
| # coding: utf-8 | |
| import os,socket,threading,time | |
| #import traceback | |
| allow_delete = False | |
| local_ip = socket.gethostbyname(socket.gethostname()) | |
| local_port = 8888 | |
| currdir=os.path.abspath('.') |