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 / ai-skill-research-refs.md
Last active September 19, 2026 18:14
"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 August 22, 2026 19:34
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 March 2, 2026 12:43
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)
@mjeffryes
mjeffryes / delete_em.js
Created February 29, 2024 23:46
Deleting many old prerelease versions from pypi
// PyPI doesn't seem to offer a delete API, so this is my Hack for deleting a large number of prerelease versions:
// 1) Go to the package managmenet page
// 2) Open devetools
// 3) Delete a package manually
// 4) find ths CSRF token from the manual request
// 5) add the token and the versions to deleted to the below code
// ^) execute it in the dev console
token = "your csrf token"
versions = [