start new:
tmux
start new with session name:
tmux new -s myname
Having trouble installing the latest stable version of tmux?
I know, official package for your OS/distro is outdated and you just want the newest version of tmux.
Well, this script should save you some time with that.
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
var http = require('http') | |
var server | |
function onRequest(req, res) { | |
console.log('[' + this.name + ']', req.method, req.url) | |
res.writeHead(200, {'Content-Type': 'text/plain'}) | |
res.end('Hello World\n') | |
} | |
function onListening() { |
#!/bin/bash | |
__randomWithRange() { | |
# http://www.tldp.org/LDP/abs/html/randomvar.html | |
# USAGE: __randomWithRange FLOOR CEILING | |
local number=0 #initialize | |
while [ "$number" -le $1 ] | |
do | |
number=$RANDOM | |
let "number %= $2" # Scales $number down within $RANGE. |