start new:
tmux
start new with session name:
tmux new -s myname
/*! | |
* quantize.js Copyright 2008 Nick Rabinowitz. | |
* Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php | |
*/ | |
// fill out a couple protovis dependencies | |
/*! | |
* Block below copied from Protovis: http://mbostock.github.com/protovis/ | |
* Copyright 2010 Stanford Visualization Group | |
* Licensed under the BSD License: http://www.opensource.org/licenses/bsd-license.php |
// convert 0..255 R,G,B values to binary string | |
RGBToBin = function(r,g,b){ | |
var bin = r << 16 | g << 8 | b; | |
return (function(h){ | |
return new Array(25-h.length).join("0")+h | |
})(bin.toString(2)) | |
} | |
// convert 0..255 R,G,B values to a hexidecimal color string | |
RGBToHex = function(r,g,b){ |
#/usr/lib/nagios/plugins/check_domain | |
#nagios plugins | |
#original: | |
#http://exchange.nagios.org/directory/Plugins/Internet-Domains-and-WHOIS/check_domain/details | |
# | |
#this plugins can check | |
# example.co.jp (level 3 domain) | |
# example.jp (level 2 domain) | |
# | |
#usage: |
A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."
This Gist MOVED to a public repository: P2P Index