Skip to content

Instantly share code, notes, and snippets.

View raku-cat's full-sized avatar
๐Ÿ•

Raku raku-cat

๐Ÿ•
View GitHub Profile
[Unit]
Description=Coturn TURN/STUN server
PartOf=neko-host.pod
[Container]
Pod=neko-host.pod
Network=host
Image=ghcr.io/coturn/coturn:latest
Exec=-n --realm=localhost --fingerprint --listening-ip=0.0.0.0 --external-ip=192.168.1.10 --listening-port=3478 --min-port=49160 --max-port=49200 --log-file=stdout --user=neko:neko --lt-cred-mech
DKMS (dkms-3.3.0) make.log for bcachefs/1.34.0 for kernel 6.18.2-lqx1-2-lqx (x86_64)
Sat Jan 3 07:31:18 PM CST 2026
Building module(s)
# command: make -j24 KERNELRELEASE=6.18.2-lqx1-2-lqx -C /usr/lib/modules/6.18.2-lqx1-2-lqx/build M=/var/lib/dkms/bcachefs/1.34.0/build
make: Entering directory '/usr/lib/modules/6.18.2-lqx1-2-lqx/build'
make[1]: Entering directory '/var/lib/dkms/bcachefs/1.34.0/build'
CC [M] src/fs/bcachefs/alloc/accounting.o
CC [M] src/fs/bcachefs/alloc/background.o
CC [M] src/fs/bcachefs/alloc/backpointers.o
@raku-cat
raku-cat / ztnet-dns.py
Last active August 3, 2025 05:28
Python script to generate a DNS zone file for hickory-dns using the ztnet api. Mostly machine generated with AI.
#!/usr/bin/env python3
# ztnet-dns: Generate and update a Hickory DNS zone file from ZTNet API
import os
import sys
import re
import argparse
import json
import requests
from datetime import datetime
@raku-cat
raku-cat / measure_click_gtk.py
Last active July 22, 2025 22:54
Made quick and dirty using chatgpt
import gi
gi.require_version("Gtk", "4.0")
from gi.repository import Gtk, GLib, Gdk
import time
class MouseTimer(Gtk.Application):
def __init__(self):
super().__init__()
self.press_time = None
00:00:00.000 [INFO] [sway/main.c:321] Sway version 1.11
00:00:00.000 [INFO] [sway/main.c:322] wlroots version 0.19.0
00:00:00.001 [INFO] [sway/main.c:78] Linux partyvan 6.15.5-lqx1-1-lqx #1 ZEN SMP PREEMPT_DYNAMIC Sun, 06 Jul 2025 15:06:16 +0000 x86_64 GNU/Linux
00:00:00.001 [INFO] [sway/main.c:94] Contents of /etc/lsb-release:
00:00:00.001 [INFO] [sway/main.c:78] DISTRIB_ID="Arch"
00:00:00.001 [INFO] [sway/main.c:78] DISTRIB_RELEASE="rolling"
00:00:00.001 [INFO] [sway/main.c:78] DISTRIB_DESCRIPTION="Arch Linux"
00:00:00.001 [INFO] [sway/main.c:94] Contents of /etc/os-release:
00:00:00.001 [INFO] [sway/main.c:78] NAME="Arch Linux"
00:00:00.001 [INFO] [sway/main.c:78] PRETTY_NAME="Arch Linux"
00:00:00.000 [INFO] [sway/main.c:302] Sway version 1.12-dev-94c819cc1 (Jul 9 2025, branch 'master')
00:00:00.000 [INFO] [sway/main.c:303] wlroots version 0.20.0-dev
00:00:00.001 [INFO] [sway/main.c:78] Linux partyvan 6.15.5-lqx1-1-lqx #1 ZEN SMP PREEMPT_DYNAMIC Sun, 06 Jul 2025 15:06:16 +0000 x86_64 GNU/Linux
00:00:00.001 [INFO] [sway/main.c:94] Contents of /etc/lsb-release:
00:00:00.001 [INFO] [sway/main.c:78] DISTRIB_ID="Arch"
00:00:00.001 [INFO] [sway/main.c:78] DISTRIB_RELEASE="rolling"
00:00:00.001 [INFO] [sway/main.c:78] DISTRIB_DESCRIPTION="Arch Linux"
00:00:00.001 [INFO] [sway/main.c:94] Contents of /etc/os-release:
00:00:00.001 [INFO] [sway/main.c:78] NAME="Arch Linux"
00:00:00.001 [INFO] [sway/main.c:78] PRETTY_NAME="Arch Linux"
โ— bsapiratevan
State: degraded
Units: 398 loaded (incl. loaded aliases)
Jobs: 0 queued
Failed: 1 units
Since: Thu 2025-03-20 03:29:40 CDT; 3 months 22 days ago
systemd: 257.7-1-arch
CGroup: /
โ”œโ”€init.scope
โ”‚ โ””โ”€1 /usr/lib/systemd/systemd --system --deserialize=62 splash
โ— partyvan
State: running
Units: 481 loaded (incl. loaded aliases)
Jobs: 0 queued
Failed: 0 units
Since: Sat 2025-07-12 03:27:10 CDT; 30min ago
systemd: 257.7-1-arch
CGroup: /
โ”œโ”€6518 sway --unsupported-gpu
โ”œโ”€6537 waybar -b bar-0
โ— partyvan
State: running
Units: 481 loaded (incl. loaded aliases)
Jobs: 0 queued
Failed: 0 units
Since: Sat 2025-07-12 03:27:10 CDT; 25min ago
systemd: 257.7-1-arch
CGroup: /
โ”œโ”€init.scope
โ”‚ โ””โ”€1 /usr/lib/systemd/systemd --switched-root --system --deserialize=40
This file has been truncated, but you can view the full file.
======================
Proton: 1725481090 GE-Proton9-13
SteamGameId: 394690
Command: ['/home/glizzy/.local/share/ValveSteam/steamapps/common/Tower Unite/Tower.exe', '-vr']
Options: {'forcelgadd'}
depot: 0.20240820.99315
pressure-vessel: 0.20240820.0 scout
scripts: 0.20240820.0
sniper: 0.20240820.99315 sniper 0.20240820.99315
Kernel: Linux 6.10.10-lqx2-1-lqx #1 ZEN SMP PREEMPT Sun, 15 Sep 2024 19:59:39 +0000 x86_64