Skip to content

Instantly share code, notes, and snippets.

@thadk
thadk / 2mqtt-cmd.sh
Created December 11, 2023 22:39
WIP OpenERV mods 2023 using HASSIO and 2mqtt for serial<->MQTT fan control and CO2 integration
# the --network portion allows it to connect to the MQTT server in a separate docker container, may not be directly applicable
# also check the USB-serial device matches your system's, it seems to vary.
docker run --rm --name 2mqtt --network=container:addon_core_mosquitto --volume /mnt/data/supervisor/homeassistant/2mqtt.yaml:/app/config.yaml --device /dev/ttyACM0 --env TZ=America/New_York docker.io/mycontroller/2mqtt:1.4
pyodide on  tags/0.23.4 [!?] via ⬢ v18.12.1 on 🐳 v20.10.21 via pyodide via 🐍 3.11.2
➜ PYODIDE_PACKAGES="scipy" make
./tools/dependency-check.sh
# TODO(ryanking13): Link this to a side module not to the main module.
# For unknown reason, a side module cannot see symbols when libGL is linked to it.
embuilder build libgl
embuilder:INFO: building libGL
embuilder:INFO: ...success. Took (0.00s)
date +"[%F %T] Building pyodide.asm.js..."
[2023-08-11 10:00:37] Building pyodide.asm.js...
if [ "$(ls -A /library/incoming)" ]; then
calibredb add -r "/library/incoming" --library-path="/library/calibre-web]"
rm /library/incoming*
fi

Extracted from http://groups.yahoo.com/group/pagre/message/511 via https://archive.org/details/yahoo-groups-2016-12-04T02-30-46Z-f494f3 pagre. Referenced by https://www.quora.com/What-is-issue-entrepreneurship

[RRE]Vaclav Havel - Red Rock Eaters mailing list

Tue Aug 19 03:47:18 2003 UTC

The other day I read John Keane's biography of Vaclav Havel (Vaclav Havel: A Political Tragedy in Six Acts, London: Bloomsbury, 1999), and I'd like to reflect on the relevance of Havel's life and ideas to the current situation in the United States.

@thadk
thadk / README.md
Last active February 25, 2022 02:12 — forked from syntagmatic/README.md
Fisheye Nutrient Parallel Coordinates, 146 Dimensions

Improvements:

  • Click a food to sort dimensions by that foods y values
  • Scale to window size and resizes
  • Click label to invert axis
  • Drag label to reorder axes
  • Rendering progress bar
  • Keep selected button removes unselected data
  • Exclude selected button removes selected data
@thadk
thadk / test.txt
Last active August 3, 2021 13:07
test for githubactions 2
# temprepo
gistup
@thadk
thadk / economic-areas-bea-1pct.json
Created December 20, 2020 12:23
BEA's economic areas from https://geodata.lib.berkeley.edu/catalog/NTADBEA but reduced to 1% of its size.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@thadk
thadk / SketchSystems.spec
Last active November 1, 2019 04:21
ACRE App
ACRE App
Login page
doTheLogin -> Logged in page
Logged in page
doLogout -> Login page
Update My Info
ChooseWhatYouAreAdding -> Update My Info
Send -> Logged in page
Check Balance aka Payment History
ChooseYear -> Check Balance Populated