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
  • https://github.com/stdlib-workflows — GitHub Actions CI/CD reusable workflow standard library / This org exists for exploration of the possibilities of having shared reusable workflows / things like reusable-tox.yml could go here (if this one didn't go into @tox-dev), https://github.com/stdlib-workflows/packaging may end up hosting a workflow for building pure-python wheels and sdists (a wrapper for calling python -Im build + storing the artifacts, to be invoked at the beginning of CI/CD workflows prior to testing; it could also host reusable-cibuildwheel.yml before it goes under PyPA or keep hosting it, if it never does, so it doesn't need to remain copied across ansible/pylibssh and aio-libs/* repos)
  • https://github.com/co-maintainers — Co-Authored-By: Agent skills for FOSS maintenance at scale / This org will hopefully host some agentic skill-wrapped content aimed at simplifying lives of FOSS maintainers at scale, something along the lines of ansible/pylibssh#867, perhaps
@webknjaz
webknjaz / ai-skill-research-refs.md
Last active October 23, 2026 13:01
"ai" agent skills
  • https://github.com/co-maintainers — my home for future skills for FOSS maintenance | unclear structure / undesided whether there should be one big repo with many skill folders vs. many skill repos with top-level SKILL.md in them

@webknjaz
webknjaz / ep2026-talk-references.md
Last active November 19, 2026 18:25
EuroPython 2026: Defending Open Source from "AI" Slop: A Maintainer's Practical Guide
@woodruffw
woodruffw / branches-disallow-advisory.json
Created March 30, 2026 17:57
Example rulesets used by Astral
{
"name": "no-push-advisory-branches",
"target": "branch",
"enforcement": "active",
"conditions": {
"repository_name": {
"include": [
"ruff",
"ty",
"uv"
@schiberis
schiberis / ha_water_leak_alarm.yaml
Last active November 10, 2026 15:28
Sends mobile push and/or HA UI persistent notifications with minimal controls. No siren/switch options.
blueprint:
name: Water Leak Alarm – mobile + HA UI notifications (modern syntax)
description: >
IKEA BADRING (or any wet/dry sensor). Choose mobile push and/or
HA UI (persistent) notifications. Minimal, future-proof syntax.
domain: automation
input:
leak_sensor:
name: Leak sensor entity
@DavBoot01
DavBoot01 / README.md
Last active July 17, 2026 16:13
Manage moving of workspaces among multiple monitors in hyprland

Introduction

The goal is to replicate the user experience found in KDE or Gnome, where workspaces are shared across all monitors and can be switched simultaneously.

In KDE and Gnome, there is no concept of per-monitor workspaces by default—there is a single, unified workspace that spans all monitors. It is possible to decouple them, but this is not the default behavior.

In Hyprland, each monitor has its own set of workspaces. The purpose of this script is to provide similar functionality: with a single command, all monitors switch their workspaces simultaneously and in the same direction.

Scenario

@webknjaz
webknjaz / generative-ai-llm-spam-handling.md
Last active July 19, 2026 13:35
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:

Draziw.Button.Mines
ag.video_solutions.wedotv
ahf.dummynation
ai.socialapps.speakmaster
air.com.beachbumgammon
air.com.freshplanet.games.SongPop2
air.com.gamesys.mobile.slots.jpj
air.com.goodgamestudios.empirefourkingdoms
air.com.kitchenscramble.goo
air.com.lalaplay.rummy45
(
disconnect() {
local dev="$1" mac="$2"
echo "$dev: disconnect $mac" > /dev/kmsg
ubus call "hostapd.$dev" del_client "{'addr':'$mac','reason':8,'deauth':true,'ban_time':0}"
}
checkalive() {
local dev="$1" mac="$2" inactive
inactive="$(iw dev "$dev" station get "$mac" 2>/dev/null | sed -n 's/.*inactive time:[[:space:]]*\([0-9]*\).*/\1/p')"
#!/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)