Empty Response
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
# How to install FarmBot Web API on a Fresh Ubuntu 17 machine. | |
# Remove old (possibly broke) docker versions | |
sudo apt-get remove docker docker-engine docker.io | |
# Install docker | |
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common --yes | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable" --yes | |
sudo apt-get update --yes |
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
{ | |
"Jest Test": { | |
"prefix": "describe", | |
"body": [ | |
"describe(\"$1\", () => {", | |
" it(\"$2\", () => {", | |
" });", | |
"});" | |
], | |
"description": "A describe block for a Jest test" |
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 wasmCode = new Uint8Array([0,97,115,109,1,0,0,0,1,177,128,128,128,0,9,96,0,0,96,1,127,1,127,96,0,1,127,96,1,127,0,96,2,127,127,0,96,2,127,127,1,127,96,5,127,127,127,127,127,0,96,3,127,127,127,0,96,4,127,127,127,127,0,2,157,128,128,128,0,2,3,101,110,118,7,103,101,116,99,104,97,114,0,2,3,101,110,118,7,112,117,116,99,104,97,114,0,1,3,224,128,128,128,0,95,3,2,2,2,3,2,2,3,2,3,2,3,1,4,2,1,5,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,8,2,0,4,133,128,128,128,0,1,112,1,72,72,5,131,128,128,128,0,1,0,2,6,129,128,128,128,0,0,7,216,134,128,128,0,95,6,109,101,109,111,114,121,2,0,6,112,117,116,107,101,121,0,2,5,108,108,107,101,121,0,3,10,107,101,121,87,97,105,116,105,110,103,0,4,6,103,101,116,107,101,121,0,5,4,116,101,108,108,0,6,3,112,111,112,0,7,3,116,111,115,0,8,4,112,117,115,104,0,9,4,100,112,111,112,0,10,5,100,112,117,115,104,0,11,4,114,112,111,112,0,12,5,114,112,117,115,104,0,13,7,114,101,97,100,77,101,109,0 |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Tests", | |
"type": "node", | |
"request": "launch", | |
"program": "${workspaceRoot}/node_modules/jest-cli/bin/jest.js", | |
"stopOnEntry": false, | |
"args": [ |
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
// Place your settings in this file to overwrite the default settings | |
{ | |
"search.exclude": { | |
"**/.git": true, | |
"**/node_modules": true, | |
"**/bower_components": true, | |
"**/tmp": true, | |
"**/dist": true, | |
"**/deps": true, | |
"**/_build": true |
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
/** Everything the farmbot knows about itself at a given moment in time. */ | |
export interface BotStateTree { | |
/** REMOVE OTHER STUFF FOR CLARITY */ | |
process_info: { | |
farm_events: ProcessInfo[]; | |
regimens: ProcessInfo[]; | |
/** THIS IS NEW: */ | |
farmwares: FarmwareManifest[]; | |
}; | |
}; |
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
[{"id":4,"created_at":"2017-05-16T16:26:13.261Z","updated_at":"2017-05-16T16:26:13.261Z","device_id":2,"meta":{},"name":"Cabbage 2","pointer_type":"Plant","radius":50.0,"x":2.0,"y":2.0,"z":2.0,"openfarm_slug":"cabbage"},{"id":3,"created_at":"2017-05-16T16:26:13.250Z","updated_at":"2017-05-16T16:26:13.250Z","device_id":2,"meta":{},"name":"Cabbage 1","pointer_type":"Plant","radius":50.0,"x":1.0,"y":1.0,"z":1.0,"openfarm_slug":"cabbage"},{"id":2,"created_at":"2017-05-16T16:26:13.231Z","updated_at":"2017-05-16T16:26:13.231Z","device_id":2,"meta":{},"name":"Cabbage 0","pointer_type":"Plant","radius":50.0,"x":0.0,"y":0.0,"z":0.0,"openfarm_slug":"cabbage"},{"id":7,"created_at":"2017-05-16T16:23:36.290Z","updated_at":"2017-05-16T16:23:36.290Z","device_id":3,"meta":{},"name":"untitled","pointer_type":"GenericPointer","radius":1.5,"x":69.0,"y":424.0,"z":176.0},{"id":6,"created_at":"2017-05-16T16:23:36.278Z","updated_at":"2017-05-16T16:23:36.278Z","device_id":3,"meta":{},"name":"untitled","pointer_type":"GenericPointer" |
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
wget \ | |
--recursive \ | |
--no-clobber \ | |
--page-requisites \ | |
--html-extension \ | |
--convert-links \ | |
--restrict-file-names=windows \ | |
--domains guides.rubyonrails.org \ | |
--no-parent \ | |
http://guides.rubyonrails.org/ |
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
:1000000006C1000016C1000014C1000012C10000AA | |
:1000100010C100000EC100000CC100000AC10000A8 | |
:1000200008C1000006C1000004C1000002C10000B8 | |
:1000300000C10000FEC00000FCC00000FAC00000CB | |
:10004000F8C00000F6C00000F4C00000F2C00000DC | |
:10005000F0C00000EEC00000ECC00000C0C1000015 | |
:10006000E8C00000E6C00000E4C00000E2C00000FC | |
:10007000E0C00000DEC00000DCC00000DAC000000C | |
:10008000D8C00000D6C00000D4C00000D2C000001C | |
:10009000D0C00000CEC00000CCC00000CAC000002C |