Skip to content

Instantly share code, notes, and snippets.

View webknjaz's full-sized avatar
🇺🇦
#StandWithUkraine: https://github.com/vshymanskyy/StandWithUkraine

Sviatoslav Sydorenko (Святослав Сидоренко) webknjaz

🇺🇦
#StandWithUkraine: https://github.com/vshymanskyy/StandWithUkraine
View GitHub Profile
@webknjaz
webknjaz / signoff
Created May 6, 2024 21:52 — forked from dhh/signoff
#!/usr/bin/env bash
# Abort sign off on any error
set -e
# Start the benchmark timer
SECONDS=0
# Repository introspection
OWNER=$(gh repo view --json owner --jq .owner.login)
@webknjaz
webknjaz / wifi-6-mesh.md
Last active March 9, 2024 01:48
My research on building a well-covered high-speed network for the future new house with focus on effortless Wi-Fi client roaming with 802.11ax (tri-band WiFi 6E with 8x8 MU-MIMO capabilities), 3 APs, 802.11r, 802.11k, 802.11v, 802.11s, 802.11w and 10GB-compatible CAT6 Ethernet backchannel

💭 Thoughts

I want to have:

  • 3 APs that would approximately evenly cover:
    • ground floor
    • second floor
    • garage space
    • bonus: reach some of the backyard/garden
  • Multipath connections between the APs
  • Bonded channels between the APs and the managed network switches (LACP 1+1 = 2Gbps)
@webknjaz
webknjaz / openwrt-network-access-recovery.md
Last active March 1, 2024 00:51
These are some hints on how to reach an OpenWRT dumb AP with link-local IPv6 when IPv4 fails
  1. Reproduce the launcher folder layout after the initial data sync
  2. Fingerprint
  3. Font size -> XL
  4. Night Mode / Vision Comfort / Digital Wellbeing
  5. Bitwarden
  6. FreeOTP+
  7. MojeID klíč
  8. SwiftKey
  9. Pair Bluetooth devices (like car audio, headphones, keyboards, trackballs etc.)
  10. SMS backup recovery / Truecaller
$ MACOS_VM_VERSION=12.4
$ MACOS_VM_CODENAME=$(softwareupdate --list-full-installers 2>&1 | grep "Version:\s$(echo "${MACOS_VM_VERSION}" | sed 's#\.#\\.#g')[0-9.]*," | awk -F' macOS ' '{print$2}' | awk -F, '{print$1}' | uniq)
$ MACOS_VM_NAME="ansible-core-ci-template-macos-${MACOS_VM_VERSION}-playground"
$ MACOS_INSTALLER_NAME="Install macOS ${MACOS_VM_CODENAME}"
$ MACOS_INSTALLER_VOLUME_NAME="${MACOS_VM_CODENAME}"-"${MACOS_VM_VERSION}"
$ MACOS_INSTALLER_VOLUME_PATH="/Volumes/${MACOS_INSTALLER_VOLUME_NAME}"
$ MACOS_DOWNLOADED_INSTALLER_APP_PATH="/Applications/${MACOS_INSTALLER_NAME}.app"
$ MACOS_CREATEINSTALLMEDIA_BIN_PATH="${MACOS_DOWNLOADED_INSTALLER_APP_PATH}/Contents/Resources/createinstallmedia"
$ MACOS_ORIGINAL_INSTALLER_VOLUME_PATH="/Volumes/${MACOS_INSTALLER_NAME}"
@webknjaz
webknjaz / smart-home-mesh.md
Last active December 12, 2023 15:09
Smart Home | Home Assistant | Zigbee research

💭 Thoughts

I want to have:

  • an HA instance deployed to my k8s cluster made of 3 Raspberry Pi nodes
  • a mesh of Zigbee devices covering both floors of my house
  • minimized interferrence with the 2.4 GHz band Wi-Fi channels

🔎 Findings

  • a Zigbee network requires a device called coordinator
  • there may be only one Zigbee coordinator per network