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 / breaking-classless-routes-openwrt-google-home.sh
Created November 23, 2025 23:33
Notes from troubleshooting the OpenWRT config when Google Home's routes were broken af
uci del dhcp.lan.dhcp_option
uci add_list dhcp.lan.dhcp_option='6,192.168.1.1'
uci add_list dhcp.lan.dhcp_option='121,10.60.0.1/32,192.168.1.1'
uci add_list dhcp.lan.dhcp_option='249,10.60.0.1/32,192.168.1.1'
uci add_list dhcp.lan.dhcp_option='121,10.20.0.1/32,192.168.1.1'
uci add_list dhcp.lan.dhcp_option='249,10.20.0.1/32,192.168.1.1'
uci add_list dhcp.lan.dhcp_option='121,10.0.0.1/32,192.168.1.1'
uci add_list dhcp.lan.dhcp_option='249,10.0.0.1/32,192.168.1.1'
uci add_list dhcp.lan.dhcp_option='121,10.60.0.10/32,192.168.1.1'
uci add_list dhcp.lan.dhcp_option='249,10.60.0.10/32,192.168.1.1'

aio-libs: aiohttp and the ecosystem

The [aio-libs] organization maintains a suite of [foundational asyncio libraries for Python][ecosystem], including [aiohttp], a widely used HTTP client/server library. These libraries form the async backbone of many production systems and open source projects.

[![Matrix Room Badge]][Matrix Room URL] [![Matrix Space Badge]][Matrix Space URL]

We’ll be sprinting on open issues across [aiohttp] and [its dependencies][ecosystem], including bug fixes, documentation improvements, test enhancements, and broader ecosystem support. All experience levels are welcome.

@webknjaz
webknjaz / generative-ai-llm-spam-handling.md
Last active November 26, 2025 09:44
This Gist collects opinions and pointers on fighting LLM spam on GitHub

Tip

See a fully generated Claude summary of this gist, traversing a few hundred related links: https://claude.ai/public/artifacts/de2ffa40-98dc-4458-b1b5-f3e645bf7840

Note that this document has factual errors so double-check before citing it. The general sentiment is sound, though.

Important

Folks from CHAOSS have recently started gathering similar information at their Awesome LLM Policies page and I might start contributing there instead:

@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 / 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
@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
@webknjaz
webknjaz / README.md
Created June 27, 2023 22:00
Testing CherryPy's TLS setup

The provided below cp_tls_builtin.py and cp_tls_pyopenssl.py modules are almost bare minimum CherryPy apps set up to serve a static string over HTTPS. I say "almost" because having an HTTP handler mounted isn't really necesary to verify that TLS works but having it provides a nice visual cue when using curl, for example.

This instruction assumes that you have a freshly made virtualenv where you executed something like pip install 'CherryPy[ssl]' trustme. The ssl extra is only needed to pull in pyOpenSSL and isn't needed for the built-in stdlib TLS adapter. The trustme project is needed for demonstration purposes — it'll