apm install termrk
To use ctrl+`
to toggle
keymap.cson
'atom-workspace':
'ctrl-\`': 'termrk:toggle'
NET_NAME="project_default" | |
NAME="nats" | |
IP=docker network inspect $NET_NAME | grep $NAME -A 3 | grep "IP" | grep -Po "([0-9]+.[0-9]+.[0-9]+.[0-9])" | |
echo $IP |
var mqtt = require('mqtt'); | |
var client1 = mqtt.connect('mqtt://172.20.0.2'); | |
var client2 = mqtt.connect('mqtt://172.20.0.3'); | |
client1.on('connect', function () { | |
client1.subscribe("foo") | |
}); | |
client1.on('message', function (topic, message) { | |
console.log("got msg", topic, message.toString()); |
while [ 1 ]; do | |
{ echo -ne "HTTP/1.0 200 OK\r\nContent-Length: $(wc -c <index.html)\r\n\r\n"; cat index.html; } | nc -l 8080 | |
done |
. /data/opt/intel/computer_vision_sdk_2018.2.300/bin/setupvars.sh | |
. openvino/env.sh | |
CGO_LDFLAGS="$CGO_LDFLAGS -lopencv_calib3d" | |
LD_LIBRARY_PATH=/home/l/git/github.com/openvino-docker/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH | |
LD_LIBRARY_PATH=/data/opt/intel/computer_vision_sdk_2018.2.300/deployment_tools/inference_engine/lib/ubuntu_16.04/intel64:$LD_LIBRARY_PATH | |
export CGO_LDFLAGS | |
export LD_LIBRARY_PATH |
apm install termrk
To use ctrl+`
to toggle
keymap.cson
'atom-workspace':
'ctrl-\`': 'termrk:toggle'
Makefile
set OPENCV=1 and GPU=1namespace error
opencv/opencv#10963 (comment)CVAPI(cv::Rect)cvGetWindowImageRect(const char* name);
https://stackoverflow.com/questions/48611228/yolo-compilation-with-opencv-1-failsThis is a summary of this nice tutorial.
Download the TensorFlow models repository.
#Get a release here https://github.com/google/protobuf/releases | |
sudo -s | |
cd /usr/local/include | |
mkdir google | |
wget https://github.com/google/protobuf/releases/download/v3.5.0/protoc-3.5.0-linux-x86_64.zip -O protoc.zip | |
unzip protoc.zip -d tmp |