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
from .env import Env | |
from .auxiliary import Color | |
from threading import Thread | |
import time | |
import sys | |
import struct | |
import json | |
import uuid |
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
{ | |
"package": "test", | |
"language": "python", | |
"author": "FarmBot, Inc.", | |
"description": "test", | |
"farmware_manifest_version": "2.0.0", | |
"package_version": "0.0.0", | |
"farmbot_os_version_requirement": ">= 8.0.0-any", | |
"url": "", | |
"zip": "https://github.com/FarmBot-Labs/farmware_manifests/archive/master.zip", |
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
{ | |
"package": "config test", | |
"language": "sh", | |
"author": "FarmBot, Inc.", | |
"description": "test", | |
"farmware_manifest_version": "2.0.0", | |
"package_version": "0.0.0", | |
"farmbot_os_version_requirement": ">= 8.0.0-any", | |
"farmware_tools_version_requirement": ">= 0.0.0", | |
"url": "", |
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
app/controllers/dashboard_controller.rb:106:in `direct_upload' | |
Invalid request: Invalid HTTP format, parsing fails. | |
/home/connor/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/thin-1.7.2/lib/thin/request.rb:84:in `execute' | |
/home/connor/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/thin-1.7.2/lib/thin/request.rb:84:in `parse' | |
/home/connor/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data' | |
/home/connor/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine' | |
/home/connor/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run' | |
/home/connor/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start' | |
/home/connor/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start' | |
/home/connor/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rack-2.0.7/lib/rack/handler/thin. |
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
13:09:55.470 [info] GET http://localhost:3000/api/storage_auth -> 200 (15.129 ms) | |
13:09:55.470 [debug] | |
>>> REQUEST >>> | |
(no query) | |
content-type: application/json | |
authorization: Bearer: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJib3QiLCJzdWIiOjEsImlhdCI6MTU2MzkxMjI2MywianRpIjoiMDQ4ZjQ2MjEtMTMxMC00MTc4LWJlMGQtMzQ3OTgyNmI3NWZlIiwiaXNzIjoiLy8xOTIuMTY4LjEuMTIzOjMwMDAiLCJleHAiOjE1NjczNjgyNjMsIm1xdHQiOiIxOTIuMTY4LjEuMTIzIiwiYm90IjoiZGV2aWNlXzEiLCJ2aG9zdCI6Ii8iLCJtcXR0X3dzIjoid3M6Ly8xOTIuMTY4LjEuMTIzOjMwMDIvd3MiLCJvc191cGRhdGVfc2VydmVyIjoiaHR0cHM6Ly9hcGkuZ2l0aHViLmNvbS9yZXBvcy9mYXJtYm90L2Zhcm1ib3Rfb3MvcmVsZWFzZXMvbGF0ZXN0IiwiYmV0YV9vc191cGRhdGVfc2VydmVyIjoiaHR0cHM6Ly9hcGkuZ2l0aHViLmNvbS9yZXBvcy9GYXJtQm90L2Zhcm1ib3Rfb3MvcmVsZWFzZXMvbGF0ZXN0In0.1l1JEW-LYKSR6Ws_dEIHGXL-q7am3eRxQtvL-t_DVTxnJd2br_E6aEt82rICi1iJjwdOKUIGkCqUgJwYu-VjjsAkcUfZMhUTJ0qUbI2_2rQi3qk0ndm2B0DNd-K8Te7WLwQATju-2es9XO4XDTfwNlPRg-tx3nU-k_AFnnjGjBAp28yjbptcd2ZSKmOk9WaJkuObaYancli-fdDnhlTFvCN_Y4YqQmuhieZNkGelr153xBHEks5BDv2PhaXVNsx28yTPkFGE7CWNBzP |
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
defmodule FarmbotCeleryScript.Scheduler do | |
@moduledoc """ | |
Handles execution of CeleryScript. | |
CeleryScript can be `execute`d or `schedule`d. Both have the same API but | |
slightly different behaviour. | |
A message will arrive in the callers inbox after either shaped like | |
{FarmbotCeleryScript.Scheduler, result} |
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
defmodule FarmbotExt.API do | |
alias FarmbotExt.{API, JWT} | |
alias FarmbotCore.JSON | |
alias FarmbotCore.Asset.{ | |
StorageAuth, | |
FbosConfig, | |
FirmwareConfig | |
} |
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
defmodule FarmbotCeleryScript.Compiler do | |
@moduledoc """ | |
Responsible for compiling canonical CeleryScript AST into | |
Elixir AST. | |
""" | |
require Logger | |
alias FarmbotCeleryScript.{ | |
AST, | |
Compiler, |
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
defmodule FarmbotCeleryScript.Compiler do | |
@moduledoc """ | |
Responsible for compiling canonical CeleryScript AST into | |
Elixir AST. | |
""" | |
require Logger | |
alias FarmbotCeleryScript.{ | |
AST, | |
Compiler, |
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
18:09:17.518 [error] Error running /usr/sbin/wpa_supplicant, ["-B", "-i", "wlan0", "-c", "/tmp/vintage_net/wpa_supplicant.conf.wlan0", "-dd"]: wpa_supplicant v2.7 | |
random: Trying to read entropy from /dev/random | |
Successfully initialized wpa_supplicant | |
Initializing interface 'wlan0' conf '/tmp/vintage_net/wpa_supplicant.conf.wlan0' driver 'default' ctrl_interface 'N/A' bridge 'N/A' | |
Configuration file '/tmp/vintage_net/wpa_supplicant.conf.wlan0' -> '/tmp/vintage_net/wpa_supplicant.conf.wlan0' | |
Reading configuration file '/tmp/vintage_net/wpa_supplicant.conf.wlan0' | |
ctrl_interface='/tmp/vintage_net/wpa_supplicant' | |
country='US' | |
bgscan='simple' | |
ap_scan=1 |