Skip to content

Instantly share code, notes, and snippets.

View raku-cat's full-sized avatar
🐕

Raku raku-cat

🐕
View GitHub Profile
- client_id: 'netbirdclientid'
client_name: 'NetBird'
audience: ['netbird']
client_secret: '$pbkdf2-sha512$abcd123456'
public: 'false'
authorization_policy: 'two_factor'
consent_mode: 'implicit'
require_pkce: false
pkce_challenge_method: ''
redirect_uris:
server {
server_name netbird.apps.my.site;
listen 80;
listen [::]:80;
location / {
return 301 https://$server_name$request_uri;
}
NETBIRD_MGMT_API_ENDPOINT=https://netbird.apps.my.site
NETBIRD_MGMT_GRPC_API=https://netbird.apps.my.site
AUTH_AUDIENCE=netbird
AUTH_CLIENT_ID=netbirdclientid
AUTH_CLIENT_SECRET=secret
AUTH_AUTHORITY=https://auth.raku.party
USE_AUTH0=false
AUTH_SUPPORTED_SCOPES=openid email profile offline_access
AUTH_REDIRECT_URI=/peers
AUTH_SILENT_REDIRECT_URI=/add-peers
[Unit]
Description=NetBird dashboard
[Container]
Image=docker.io/netbirdio/dashboard:latest
PublishPort=8080:80
EnvironmentFile=/opt/netbird/dashboard.env
[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"