git checkout -b development a9c146a09505837ec03b
git branch development a9c146a09505837ec03b
public static class TrustedSSLSocketFactory extends SSLSocketFactory { | |
SSLContext sslContext = SSLContext.getInstance("TLS"); | |
public TrustedSSLSocketFactory(KeyStore truststore) | |
throws NoSuchAlgorithmException, KeyManagementException, | |
KeyStoreException, UnrecoverableKeyException { | |
super(truststore); | |
TrustManager tm = new X509TrustManager() { | |
public void checkClientTrusted(X509Certificate[] chain, |
// How to connect 5 publishers with 5 subscribers | |
// over TCP using ZeroMQ's XPUB/XSUB proxy. | |
// sub (connect) | |
// <-8701-> | |
// (bind) xpub <---> xsub (bind) | |
// <-8700-> | |
// (connect) pub | |
var zmq = require('zmq'); |
/* | |
Based on: | |
1. http://stephen.io/mediaqueries | |
2. https://css-tricks.com/snippets/css/media-queries-for-standard-devices/ | |
*/ | |
/* iPhone X in portrait & landscape */ | |
@media only screen | |
and (min-device-width : 375px) | |
and (max-device-width : 812px) |
#!/usr/bin/env node | |
const fs = require('fs'); | |
const moment = require('moment'); | |
const _ = require('lodash'); | |
const path = require('path'); | |
const agent = require('superagent-promise')(require('superagent'), Promise); | |
//Lang Codes https://ctrlq.org/code/19899-google-translate-languages |
#!/usr/bin/env node | |
const fs = require('fs'); | |
const moment = require('moment'); | |
const _ = require('lodash'); | |
const path = require('path'); | |
const agent = require('superagent-promise')(require('superagent'), Promise); | |
//Lang Codes https://ctrlq.org/code/19899-google-translate-languages |
{ | |
"version": 8, | |
"name": "Bright", | |
"sources": { | |
"mapbox": { | |
"url": "http://osm2vectortiles.tileserver.com/v1.json", | |
"type": "vector" | |
} | |
}, |
wget http://turnserver.open-sys.org/downloads/v3.2.4.4/turnserver-3.2.4.4-debian-wheezy-ubuntu-
mint-x86-64bits.tar.gz
tar -zxvf turnserver-3.2.4.4-debian-wheezy-ubuntu-mint-x86-64bits.tar.gz
wget http://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz