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 / references.md
Last active July 19, 2026 13:35
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)
@Blackshome
Blackshome / low-battery-notifications-and-actions.yaml
Last active August 13, 2026 23:33
low-battery-notifications-and-actions.yaml
blueprint:
name: Low Battery Notifications & Actions
description: >
# 🪫 Low Battery Notifications & Actions
**Version: 3.5**
🚀 Stay Charged, Stay Smart! Let's automate and take charge of your battery maintenance!🔋⚡
@AzimsTech
AzimsTech / !OpenWrt-Stuffs.md
Last active August 6, 2026 20:46
Installing and Using OpenWrt

![banner][banner-img]

📖 Table of Contents

  • 🛠 Setup & Configuration
    • [🔑 SSH into OpenWrt][ssh]
    • [🌐 Configure using LuCI][luci-config]
  • [🖥️ Configure using CLI][cli-config]