% git clone --depth 1 https://github.com/home-assistant/core
% grep -l climate */const.py | awk -F/ '{print $1}' | xargs -n1 sh -c 'jq .iot_class $1/manifest.json | grep -q local && echo "* https://www.home-assistant.io/integrations/$1"' -
% git clone --depth 1 https://github.com/home-assistant/core
% grep -l climate */const.py | awk -F/ '{print $1}' | xargs -n1 sh -c 'jq .iot_class $1/manifest.json | grep -q local && echo "* https://www.home-assistant.io/integrations/$1"' -
| % gcc main.c $(pkg-config --libs x11 xi --cflags) -o xinput-example | |
| % ./xinput-example | |
| Pointer id:2 at location 1011,756 |
wpa_supplicant.conf at top-level of SD card (boot)ssh file on top-level of SD card.apt-get update + apt-get upgrade)curl -fsSL https://get.docker.com | sudo shWifi/SSH tips from this site: https://raspberrytips.com/raspberry-pi-wifi-setup/#Raspberry_Pi_WiFi_Headless_Configuration
| package main | |
| import ( | |
| "encoding/base64" | |
| "crypto/x509" | |
| "fmt" | |
| "github.com/elastic/go-elasticsearch/v8" | |
| "io/ioutil" | |
| "log" | |
| "net/http" |
| $ test1=foo | |
| $ set -a | |
| $ test2=foo | |
| $ test3=foo | |
| $ set +a | |
| $ env | grep test | |
| test2=foo | |
| test3=foo |
| % docker build -t rust . | |
| ... | |
| # Export the image to tarball, which itself contains tarballs and a manifest.json | |
| % docker save -o rust.tar rust | |
| # Extract the last layer | |
| # tar's -O flag extracts a single entry from the tarball. | |
| # The file we want is the last "Layer" in the manifest.json | |
| % tar -xf rust.tar -O $(tar -xf rust.tar -O manifest.json | jq -r '.[].Layers[-1]') > curlbash.tar |
| import Svg exposing (..) | |
| import Svg.Attributes exposing (..) | |
| import List | |
| cycles = 2 | |
| yScale = 50 | |
| lineThickness = 20 | |
| i = List.range 0 (cycles * 360) |