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.
#!/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. |
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() { |
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.
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.