# install at https://multipass.run/
multipass launch --name microk8s-flux --mem 2G
multipass shell microk8s-flux
# assume ubuntu with snap installed, if not install it via
apt install snapd
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 ubuntu:focal | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN apt-get update \ | |
| && apt-get install -y eatmydata \ | |
| && eatmydata apt-get install -y \ | |
| openjdk-11-jdk awscli azure-cli # just some big packages to notice the speedup \ | |
| && rm -rf /var/lib/apt/lists/* |
- Dissecting Go Binaries
- Go: Overview of the Compiler
- Go compiler internals: adding a new statement to Go - Part 1
- Go compiler internals: adding a new statement to Go - Part 2
- Reversing GO binaries like a pro
- How a Go Program Compiles down to Machine Code
- Analyzing Golang Executables
- Go Reverse Engineering Tool Kit
- go-internals book
- [Reconstructing Program Semantics from Go Binaries](http://home.in.tum.de/
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: "3.3" | |
| services: | |
| traefik: | |
| image: "traefik:v2.2" | |
| container_name: "traefik" | |
| command: | |
| - "--api=true" | |
| - "--api.dashboard=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
| from hidapi import Device | |
| vid = 0x04d9 | |
| pid = 0xa052 | |
| try: | |
| print("Opening the device") | |
| h = Device(vendor_id=vid, product_id=pid, blocking=False) | |
| #h.open(vid, pid) # TREZOR VendorID/ProductID |
talosctl gen config talos-kubevirt https://talos-kubevirt.home.arpa:6443 --additional-sans 192.168.1.70,talos-kubevirt --install-disk /dev/vda --output-dir $(pwd)/talos
❯ cat deploy.sh
#kubectl --kubeconfig $HOME/.kube/poweredge delete -f ./kubevirt/
#sleep 12
#kubectl --kubeconfig $HOME/.kube/poweredge apply -f ./kubevirt/
#sleep 120Although @setup/node as a built-in cache option, it lacks an opportunity regarding cache persistence. Depending on usage, the action below might give you faster installs and potentially reduce carbon emissions (♻️🌳❤️).
Yarn 3+/4+ with nodeLinker: node-modules. (Not using yarn ? see the corresponding pnpm 7/8+ action gist)
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
| #!/bin/sh | |
| set -eu | |
| COMMAND="$1" | |
| KERNEL_VERSION="$2" | |
| INITRD="${KERNEL_INSTALL_STAGING_AREA}/initrd.img-${KERNEL_VERSION}" | |
| [ "$COMMAND" = add ] || exit 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
| """ | |
| * TS0601 ZG-204ZM | |
| * _TZE200_kb5noeto | |
| * Works with HA 2024.11 - updated by @txip (Update 2) | |
| * https://de.aliexpress.com/item/1005006174074799.html ("Color": Mmwave PIR) | |
| * https://github.com/13717033460/zigbee-herdsman-converters/blob/6c9cf1b0de836ec2172d569568d3c7fe75268958/src/devices/tuya.ts#L5730-L5762 | |
| * https://www.zigbee2mqtt.io/devices/ZG-204ZM.html | |
| * https://smarthomescene.com/reviews/zigbee-battery-powered-presence-sensor-zg-204zm-review/ | |
| * https://doc.szalarm.com/zg-205ZL/cntop_zigbee_sensor.js | |
| * https://github.com/Koenkk/zigbee2mqtt/issues/21919 |
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
| #!/bin/sh /etc/rc.common | |
| START=50 | |
| USE_PROCD=1 | |
| NAME=co2mon | |
| PROG=/root/co2mon/hidapi_co2mon.py | |
| start_service() { | |
| local url=$(uci -q get co2mon.@co2mon[0].url) |