This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018/11/18 15:39:08 Tracing this script execution as [1542555548] | |
2018/11/18 15:39:08 State of iptables rules before run: | |
2018/11/18 15:39:08 > iptables -t nat -vnL | |
2018/11/18 15:39:08 < Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes) | |
pkts bytes target prot opt in out source destination | |
Chain INPUT (policy ACCEPT 0 packets, 0 bytes) | |
pkts bytes target prot opt in out source destination | |
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: map-service-69bdb954f7-xv7bg | |
Namespace: rhom | |
Priority: 0 | |
PriorityClassName: <none> | |
Node: k8s-agents-10327390-2/10.4.0.4 | |
Start Time: Sun, 18 Nov 2018 07:39:02 -0800 | |
Labels: linkerd.io/control-plane-ns=linkerd | |
linkerd.io/proxy-deployment=map-service | |
name=map-service | |
pod-template-hash=2568651093 |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO linkerd2_proxy::app::main using controller at Some(Name(NameAddr { name: DnsName(DNSName("proxy-api.linkerd.svc.cluster.local")), port: 8086 })) | |
INFO linkerd2_proxy::app::main routing on V4(127.0.0.1:4140) | |
INFO linkerd2_proxy::app::main proxying on V4(0.0.0.0:4143) to None | |
INFO linkerd2_proxy::app::main serving Prometheus metrics on V4(0.0.0.0:4191) | |
INFO linkerd2_proxy::app::main protocol detection disabled for inbound ports {25, 3306} | |
INFO linkerd2_proxy::app::main protocol detection disabled for outbound ports {25, 3306} | |
TRCE linkerd2_proxy::dns DNS config: ResolverConfig { domain: None, search: [Name { is_fqdn: false, labels: [rhom, svc, cluster, local] }, Name { is_fqdn: false, labels: [svc, cluster, local] }, Name { is_fqdn: false, labels: [cluster, local] }, Name { is_fqdn: false, labels: [uc1bvt4gewcubnx5wtdxw4b3bb, cx, internal, cloudapp, net] }], name_servers: NameServerConfigGroup([NameServerConfig { socket_addr: V4(10.0.0.10:53), protocol: Udp, tls_dns_name: None }, NameServerConfig { socket_a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyspark import SparkConf, SparkContext | |
def location_deserializer(line): | |
columns = line.split(",") | |
if len(columns) < 4: | |
return [] | |
try: | |
return [{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Store = require('nitrogen-leveldb-store'), | |
nitrogen = require('nitrogen'); | |
var config = { | |
host: process.env.HOST_NAME || 'api.nitrogen.io', | |
http_port: process.env.PORT || 443, | |
protocol: process.env.PROTOCOL || 'https', | |
api_key: "75fecc9fef5fb9ba488e987216442595" | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// provisioning | |
var device = new nitrogen.Device({ | |
name: deviceAllJoynId, | |
nickname: deviceAllJoynId | |
}); | |
service.connect(device, function(err, session, device) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### On your computer | |
# 1. Join "MongoDB" | |
# 2. Trick gyp into installing the header files | |
npm install node-gyp -g | |
node-gyp install 0.10.29 | |
cd ~/.node-gyp | |
tar -czxf 0.10.29.tgz 0.10.29/ | |
scp 0.10.29.tgz pi@$IP_ADDRESS:0.10.29.tgz |
NewerOlder