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
esphome: | |
name: kitchen_shtc3 | |
platform: ESP8266 | |
board: d1_mini | |
wifi: | |
ssid: "*******" | |
password: "*******" | |
# Enable fallback hotspot (captive portal) in case wifi connection 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
ACRO_LOCKING,0 | |
ACRO_PITCH_RATE,180 | |
ACRO_ROLL_RATE,180 | |
ADSB_ENABLE,0 | |
AFS_ENABLE,0 | |
AHRS_COMP_BETA,0.1 | |
AHRS_CUSTOM_PIT,0 | |
AHRS_CUSTOM_ROLL,0 | |
AHRS_CUSTOM_YAW,0 | |
AHRS_EKF_TYPE,2 |
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 client = mqtt.connect('mqtt://192.168.1.235:1883/',{ | |
protocolId: 'MQIsdp', | |
protocolVersion: 3, | |
username: 'user', | |
password: 'pass' | |
}); | |
client.subscribe('foo', function() { | |
console.log('subscribed'); |
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
λ npm install serialport-v4.0.7-node-v51-win32-x64.tar.gz | |
npm WARN May not delete: F:\Spatial Flow\node\ArduinoSerial\node_modules | |
npm ERR! path F:\Spatial Flow\node\ArduinoSerial\node_modules\.staging\node_modules-f94a02c6 | |
npm ERR! code ENOENT | |
npm ERR! errno -4058 | |
npm ERR! syscall rename | |
npm ERR! enoent ENOENT: no such file or directory, rename 'F:\Spatial Flow\node\ArduinoSerial\node_modules\.staging\node_modules-f94a02c6' -> 'F:\Spatial Flow\node\ArduinoSerial\node_modules' | |
npm ERR! enoent This is related to npm not being able to find a file. | |
npm ERR! enoent |
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
F:\Spatial Flow | |
λ mkdir node && cd n* | |
F:\Spatial Flow\node | |
λ mkdir ArduinoSerial | |
F:\Spatial Flow\node | |
λ cd ArduinoSerial\ | |
F:\Spatial Flow\node\ArduinoSerial |
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
@echo off | |
rem Directory to boost root | |
set boost_dir=boost_1_64_0 | |
rem Number of cores to use when building boost | |
set cores=%NUMBER_OF_PROCESSORS% | |
rem What toolset to use when building boost. | |
rem Visual Studio 2012 -> set msvcver=msvc-11.0 |
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
PS C:\Users\CJ\OpenDroneMap> ls | |
Directory: C:\Users\CJ\OpenDroneMap | |
Mode LastWriteTime Length Name | |
---- ------------- ------ ---- | |
d----- 02/03/2017 14:48 .git | |
d----- 02/03/2017 14:48 contrib |
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
# dump | |
# Betaflight / NAZE 3.1.3 Feb 2 2017 / 13:45:08 (73b498e) | |
name - | |
resource BEEPER 1 A12 | |
resource MOTOR 1 A08 | |
resource MOTOR 2 A11 | |
resource MOTOR 3 B06 | |
resource MOTOR 4 B07 | |
resource MOTOR 5 B08 | |
resource MOTOR 6 B09 |
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
# usage | |
# $ R CMD BATCH script.r | |
library(ggplot2) | |
library(reshape2) | |
library(gridExtra) | |
################################################################################ |