Skip to content

Instantly share code, notes, and snippets.

View btoconnor's full-sized avatar

Brian O'Connor btoconnor

View GitHub Profile
diff --git a/tvapp/tuner/antenna.py b/tvapp/tuner/antenna.py
index f6c9615..f34105b 100644
--- a/tvapp/tuner/antenna.py
+++ b/tvapp/tuner/antenna.py
@@ -97,9 +97,11 @@ class AntennaTuner(Tuner):
Tuner.__init__(self, "unused_str_adapter_%s" % url, prefix, type_)
self.encoder_cmd = None
self.tuner_cmd = None
+ self.monitor_cmd = None
diff --git a/fw/main/CMakeLists.txt b/fw/main/CMakeLists.txt
index f8b09c7..c4c2552 100644
--- a/fw/main/CMakeLists.txt
+++ b/fw/main/CMakeLists.txt
@@ -1,5 +1,5 @@
idf_component_register(
SRCS "main.c" "battery.c" "bme280.c" "datalog.c" "deepsleep.c"
- "network.c" "ota.c" "mqtt.c"
+ "network.c" "ota.c" "mqtt.c" "homeassistant.c"
INCLUDE_DIRS "."
/home/brian/Programming/breakbase/app/javascript/components/WatsonAndHolmes/Private/Layout.tsx: SyntaxError: Unexpected token, expected "}" (55:32)
53 | <WatsonAndHolmesPrivateBoard
54 | currentUserId={currentOccupant.user.id}
> 55 | game={room.game! as PrivateWatsonAndHolmesGame}
| ^
56 | showCase={showCase}
57 | />
58 | );
;; Please create a Gist with the contents of this buffer.
;; MAKE SURE TO REMOVE ANY SENSITIVE INFORMATION FIRST
(:emacs-version "GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14)\n of 2020-03-26, modified by Debian" :prettier-el-version "1.0.0" :buffer-file-name "/home/brian/Programming/breakbase/app/javascript/components/WatsonAndHolmes/Private/Board/components/CarriageStop.tsx" :remote-id nil :major-mode web-mode :exec-path
("/home/brian/.rvm/gems/ruby-2.7.1/bin" "/home/brian/.rvm/gems/ruby-2.7.1@global/bin" "/home/brian/.rvm/rubies/ruby-2.7.1/bin" "/home/brian/.rvm/bin" "/home/brian/.local/bin" "/home/brian/.local/bin" "/home/brian/.nvm/versions/node/v12.16.3/bin" "/usr/local/sbin" "/usr/local/bin" "/usr/sbin" "/usr/bin" "/sbin" "/bin" "/usr/games" "/usr/local/games" "/snap/bin" "/usr/lib/emacs/26.3/x86_64-linux-gnu")
:env
("_=/usr/bin/emacs" "OLDPWD=/home/brian/Programming/breakbase" "rvm_path=/home/brian/.rvm" "IRBRC=/home/brian/.rvm/ru
diff --git a/app/models/product_application.rb b/app/models/product_application.rb
index 5aeae567e9..8c8ef6c649 100644
--- a/app/models/product_application.rb
+++ b/app/models/product_application.rb
@@ -107,4 +107,29 @@ class ProductApplication < ApplicationRecord
validates :ein, format: { with: /\A\d{2}-\d{7}/ }, allow_blank: true
validates :business_property_own_or_lease, inclusion: { in: [BUSINESS_PROPERTY_OWN, BUSINESS_PROPERTY_LEASE] }, allow_blank: true
+
+ # The attributes being validated below are those that should be present in the event that they went through simple app. That being said
diff --git a/app/models/product_application.rb b/app/models/product_application.rb
index 5aeae567e9..8c8ef6c649 100644
--- a/app/models/product_application.rb
+++ b/app/models/product_application.rb
@@ -107,4 +107,29 @@ class ProductApplication < ApplicationRecord
validates :ein, format: { with: /\A\d{2}-\d{7}/ }, allow_blank: true
validates :business_property_own_or_lease, inclusion: { in: [BUSINESS_PROPERTY_OWN, BUSINESS_PROPERTY_LEASE] }, allow_blank: true
+
+ # The attributes being validated below are those that should be present in the event that they went through simple app. That being said
diff --git a/config/webpacker.yml b/config/webpacker.yml
index 29e4e56..201f080 100644
--- a/config/webpacker.yml
+++ b/config/webpacker.yml
@@ -35,8 +35,10 @@ development:
dev_server:
host: localhost
port: 3003
- hmr: false
+ hmr: true
package main
import (
"bufio"
"fmt"
"os"
"strconv"
"strings"
)
package main
import (
"bufio"
"fmt"
"os"
"strconv"
"strings"
)
/**
* Retrieves all the rows in the active spreadsheet that contain data and logs the
* values for each row.
* For more information on using the Spreadsheet API, see
* https://developers.google.com/apps-script/service_spreadsheet
*/
function readRows() {
var sheet = SpreadsheetApp.getActiveSheet();
var rows = sheet.getDataRange();
var numRows = rows.getNumRows();