Skip to content

Instantly share code, notes, and snippets.

View kacevoid's full-sized avatar

kacevoid kacevoid

View GitHub Profile
@typicalfo
typicalfo / boof.py
Last active October 12, 2025 02:26
shhhh
#!/usr/bin/env python3
"""
boof - Bluetooth speaker management utility
Connects to and stops music on multiple speakers
"""
import json
import subprocess
import time
import re
@bashbunni
bashbunni / .zshrc
Last active October 31, 2025 10:48
CLI Pomodoro for Linux (zsh)
# study stream aliases
# Requires https://github.com/caarlos0/timer to be installed. spd-say should ship with your distro
declare -A pomo_options
pomo_options["work"]="45"
pomo_options["break"]="10"
pomodoro () {
if [ -n "$1" -a -n "${pomo_options["$1"]}" ]; then
val=$1
@Gulluth
Gulluth / ttrpg-srd-guide.md
Last active October 18, 2025 17:51
A Step-by-Step Guide to creating a TTRPG SRD

Howdy there stranger! I am Gulluth, also known by those who dwell inside Vaarn's Interior as the Desolate Drifter. This here guide was prompted when that nomad fella’ named Graculus Droog asked me about how to go about creating an SRD for his new tee-tee-arr-pee-gee called Blood Heist. Ya see, I was the one that assembled all of them digital bits, them ones and zeros, into an order that can be fetched by ye browser and serialized straight through your optical nerves and into your brain; splain to ya’s on how to play his other game Vaults of Vaarn.

The following is a process on how I would set up a brand new SRD. This will outline the considerations I had which lead to the choices I made, and the steps I followed when creating the Vaults of Vaarn SRD. I will revise this guide as new details emerge from my fragmented memory, or for clairity based on feedback I receive.

Considerations

  • Public Facing. I was making this for my personal use, but I wanted others to benifit from my
@manio143
manio143 / Stride Editor design document.md
Last active April 10, 2024 02:03
Stride Editor current design document

Current Stride Editor design document

This document is meant to describe the architecture of the current Stride Editor, so that it's easier to read its source code and rewrite it in a better way. This is in now way a complete document as the Editor is about 35k LOC. I'm slowly going to read through the more interesting parts and note down my thoughts.

View hierarchy

  • GameStudioWindow
    • static top bar menu
    • static asset context menu
    • static key bindings (start/cancel build, run game, open debug window, copy asset, show add asset dialog)
  • static toolbar tray (icon buttons)
@zenxedo
zenxedo / TrueNAS Setup.md
Last active February 22, 2025 07:31 — forked from jacobblock/FreeNAS.md
Ultimate FreeNAS 11.3 iocage Setup

TrueNAS

I will be moving from FreeNAS jails to ubuntu with docker, docker compose, and portainer. FreeNAS support and updates are lacking. There are many advantages to making the switch and with ZFS on linux I think FreeNAS may be a thing of the past. Stay tuned for a new guide of my latest setup. Check out my other gists for progress on the switch. https://gist.github.com/mow4cash/626275e095f7f90898944a85d66b3be6

WARNING READ THIS: This page contains incomplete and possibly incorrect info. The page is constantly being edited and worked on. Many of these should work but some may be broken. Read the code carefully to understand what you are doing, stuff may be need to be changed for your own use. This includes but not limited too JAIL AND ROUTER IPs, YOUR FREENAS MAIN VOLUME,THE MOST RECENT RELEASE OF DOWNLOADED FILES Use at your own risk.There may be helpful info in the comments.

Find me in the FreeNAS forums

@gbaman
gbaman / HowToOTG.md
Last active October 31, 2025 04:03
Simple guide for setting up OTG modes on the Raspberry Pi Zero

Raspberry Pi Zero OTG Mode

Simple guide for setting up OTG modes on the Raspberry Pi Zero - By Andrew Mulholland (gbaman).

The Raspberry Pi Zero (and model A and A+) support USB On The Go, given the processor is connected directly to the USB port, unlike on the B, B+ or Pi 2 B, which goes via a USB hub.
Because of this, if setup to, the Pi can act as a USB slave instead, providing virtual serial (a terminal), virtual ethernet, virtual mass storage device (pendrive) or even other virtual devices like HID, MIDI, or act as a virtual webcam!
It is important to note that, although the model A and A+ can support being a USB slave, they are missing the ID pin (is tied to ground internally) so are unable to dynamically switch between USB master/slave mode. As such, they default to USB master mode. There is no easy way to change this right now.
It is also important to note, that a USB to UART serial adapter is not needed for any of these guides, as may be documented elsewhere across the int