- Updated on May 29 to accommodate etcd container not having
/bin/shavailable anymore.
curl -sL https://get.rke2.io | sh
systemctl daemon-reload
systemctl start rke2-server
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "log" | |
| "os" | |
| ) | |
| func main() { |
| // homerunner is Brad's shitty Docker wrapper after he got tired of running | |
| // HA nine-VM Kubernetes clusters. Earlier versions of this tried to use podman | |
| // and fancy cloud-init and CNI stuff but then I decided to go to the other | |
| // extreme and write something super specific to what I need and super dumb: | |
| // run my containers from gcr.io, and use my home Ceph cluster for mounts/state. | |
| // | |
| // This primarily runs Home Assistant, HomeSeer, an MQTT server, and some cameras. | |
| // And some omitted misc stuff. | |
| package main |
As per here Few days ago (after an update) FF simply refused to accept my self-signed certificate anymore, Firefox requires SAN (Subject Alternative Names) present:
It must be due to removed "subject common name" fallback support from certificate validation. This fallback mode was previously enabled only for manually installed certificates. The CA Browser Forum Baseline Requirements have required the presence of the "subjectAltName" extension since 2012, and use of the subject common name was deprecated in RFC 2818. Firefox from 101.0 onward no longer use certificate CN (Common Name) for matching domain name to certificate and have migrated to only using SAN (Subject Alternate Name) so if you self sign for internal devices you’ll need to regenerate.
| #!/bin/bash | |
| WSL_COMMIT_REF=linux-msft-wsl-5.15.90.4 | |
| apt update && apt install -y git build-essential flex bison libssl-dev libelf-dev bc dwarves | |
| mkdir src | |
| cd src | |
| git init | |
| git remote add origin https://github.com/microsoft/WSL2-Linux-Kernel.git | |
| git config --local gc.auto 0 | |
| git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +${WSL_COMMIT_REF}:refs/remotes/origin/build/linux-msft-wsl-5.15.y |
_ (underscore) to move the cursor at the beginning of line (doesn't switch to insert mode)
0 (zero) moves the cursor to the zeroth position of the line (doesn't switch to insert mode)$ (dollar) to move the cursor at the end of line (doesn't switch to insert mode)d$ will delete from wherever your cursor is till the end of the linef<character> to move cursor to the first occurrence of <character>
f( to move cursor to first occurence of (t<character> to move cursor to upto but not on the first occurrence of <character>t( to move cursor to first occurence of (