1 x Master - Public IP: 1.0.0.1, Private IP: 10.0.0.1 (example)
1 x Agent/Node - Public IP: 1.0.0.2, Private IP: 10.0.0.2 (example)
Security group
- 22, 80, 443, 6443, 2379, 2380, 10250
/** | |
* LZW Compression | |
* LGPL License | |
*/ | |
// LZW-compress a string | |
function lzw_encode(s) { | |
var dict = {}; | |
var data = (s + "").split(""); | |
var out = []; |
server { | |
root /var/www/<domain>.com; | |
index index.php index.html index.htm index.nginx-debian.html; | |
server_name <domain>.com www.<domain>.com; | |
location / { | |
try_files $uri $uri/ =404; | |
} |
Add the following to App_Resources/Android/app.gradle
ext {
googlePlayServicesVersion = '10.0.1'
}
/* | |
In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp | |
server, but for some reason omit a client connecting to it. I added an | |
example at the bottom. | |
Save the following server in example.js: | |
*/ | |
var net = require('net'); |
{ | |
"name": "my-app", | |
"version": "1.0.0", | |
"description": "My test app", | |
"main": "src/js/index.js", | |
"scripts": { | |
"jshint:dist": "jshint src/js/*.js", | |
"jshint": "npm run jshint:dist", | |
"jscs": "jscs src/*.js", | |
"browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", |