- edit
Makefile
set OPENCV=1 and GPU=1 namespace error
opencv/opencv#10963 (comment)CVAPI(cv::Rect)cvGetWindowImageRect(const char* name);
https://stackoverflow.com/questions/48611228/yolo-compilation-with-opencv-1-fails
This file contains 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
#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 |
apm install termrk
To use ctrl+`
to toggle
keymap.cson
'atom-workspace':
'ctrl-\`': 'termrk:toggle'
This file contains 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
. /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 |
This file contains 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
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 |
This file contains 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 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()); |
This file contains 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
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 |
This file contains 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
#!/bin/sh | |
# Usage: ./start_minicom 1 ACM # uses /dev/ttyACM1 | |
#Start a minicom to show arduino serial output | |
# first argument to set the proper /dev/tty index | |
# second argument to set the name of /dev/tty index | |
Didx="0" | |
Dtype="USB" |
This file contains 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
ddns-update-style none; | |
option domain-name "thpi"; | |
option domain-name-servers 208.67.222.222, 208.67.220.220; | |
default-lease-time 86400; | |
max-lease-time 604800; | |
authoritative; |
This file contains 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
const baseUrl = "https://aal-programme-info-day-2020.b2match.io/participants" | |
const data = require("./data.json") | |
const participantRow = (participant) => { | |
let { | |
id, | |
user, | |
organisation_name, | |
organisation_type, |