Skip to content

Instantly share code, notes, and snippets.

View roryaronson's full-sized avatar
🏄‍♂️

Rory Aronson roryaronson

🏄‍♂️
View GitHub Profile
@roryaronson
roryaronson / gist:efbc177f51cb3ac422fed7509367a238
Created June 20, 2016 23:31
Paired with production settings.yml (after running farmbot.rb)
---
defaults:
secrets_file: secrets.txt
mqtt_port: 1883
serial_ports: &1
- "/dev/ttyUSB0"
- "/dev/ttyACM0"
development:
secrets_file: secrets.txt
mqtt_port: 1883
@roryaronson
roryaronson / gist:e66e750c7fb83de1d777cc9799c24bcd
Created June 20, 2016 23:27
Paired with production settings.yml (before running farmbot.rb)
---
defaults:
secrets_file: secrets.txt
mqtt_port: 1883
serial_ports: &1
- "/dev/ttyUSB0"
- "/dev/ttyACM0"
development:
secrets_file: secrets.txt
mqtt_port: 1883
@roryaronson
roryaronson / gist:1f18c56fb8080fc68fbbe3b642ba3e63
Last active June 20, 2016 23:27
Paired with staging settings.yml (after running farmbot.rb)
---
defaults:
secrets_file: secrets.txt
mqtt_port: 1883
serial_ports: &1
- "/dev/ttyUSB0"
- "/dev/ttyACM0"
development:
secrets_file: secrets.txt
mqtt_port: 1883
@roryaronson
roryaronson / gist:8c82210f108c6513bee0466a85b404ef
Created June 20, 2016 23:25
Paired with staging settings.yml (before running farmbot.rb)
---
defaults:
secrets_file: secrets.txt
mqtt_port: 1883
serial_ports: &1
- "/dev/ttyUSB0"
- "/dev/ttyACM0"
development:
secrets_file: secrets.txt
mqtt_port: 1883
@roryaronson
roryaronson / gist:20a3a54f1980635e5fa0d4a7c5e03406
Created June 20, 2016 23:20
Staging settings.yml (after running farmbot.rb)
---
defaults:
secrets_file: secrets.txt
mqtt_port: 1883
serial_ports: &1
- "/dev/ttyUSB0"
- "/dev/ttyACM0"
development:
secrets_file: secrets.txt
mqtt_port: 1883
---
defaults:
secrets_file: secrets.txt
mqtt_port: 1883
serial_ports: &1
- "/dev/ttyUSB0"
- "/dev/ttyACM0"
development:
secrets_file: secrets.txt
mqtt_port: 1883
---
defaults:
secrets_file: secrets.txt
mqtt_port: 1883
serial_ports: &1
- "/dev/ttyUSB0"
- "/dev/ttyACM0"
development:
secrets_file: secrets.txt
mqtt_port: 1883
roryaronson@roryaronson-VirtualBox:~/farmbot-web-frontend$ npm install
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@1.0.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global node-gyp@3.3.1 should be installed with -g
> node-sass@3.8.0 install /home/roryaronson/farmbot-web-frontend/node_modules/node-sass
> node scripts/install.js
{"params":{"_id":"5733a0ff1178c90008000018","name":"New Sequence","color":"pink","s│···················
teps":[{"_id":"5733ac3f1178c9000800001b","command":{"x":"1000","y":"1000"},"message│···················
_type":"move_absolute","position":0},{"message_type":"wait","command":{"value":"300│···················
0"},"position":1},{"message_type":"move_absolute","command":{"x":"0","y":"0"},"posi│···················
tion":2}],"dirty":true},"method":"exec_sequence","id":"aa594d26-496a-4084-9d13-d9a7│···················
609de135"} │···················
Executed move_absolute after 0.19270800000000002 ms │···················
Executed wait after 3000.196247 ms │···················
Executed move_absolute after 0.317603 ms │···················
RPI MSG: G0 X1000 Y1000 Z0 │····
@roryaronson
roryaronson / gist:76c2af8818f66b71422a65c4442853b7
Created April 15, 2016 00:50
segmentation fault when pairing with the production web app
Want to run `ruby farmbot.rb` now?
y
Connecting...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12 0 12 0 0 29 0 --:--:-- --:--:-- --:--:-- 29
Conencting to localhost:1883
Connected!
/home/pi/.rvm/gems/ruby-2.3.0/gems/eventmachine-1.0.8/lib/eventmachine.rb:202: [BUG] Segmentation fault at 0x000000
ruby 2.3.0p0 (2015-12-25 revision 53290) [armv7l-linux-eabihf]