Add the following to App_Resources/Android/app.gradle
ext {
googlePlayServicesVersion = '10.0.1'
}
{ | |
"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", |
/* | |
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'); |
Add the following to App_Resources/Android/app.gradle
ext {
googlePlayServicesVersion = '10.0.1'
}
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; | |
} |
/** | |
* LZW Compression | |
* LGPL License | |
*/ | |
// LZW-compress a string | |
function lzw_encode(s) { | |
var dict = {}; | |
var data = (s + "").split(""); | |
var out = []; |