Skip to content

Instantly share code, notes, and snippets.

@metrovoc
metrovoc / README.md
Last active March 14, 2026 17:40
macOS Tahoe audio glitch workaround: kill all CoreAudio clients + daemons to restore degraded audio without reboot

macOS Tahoe Audio Glitch: Diagnosis & Workaround

Symptom

On macOS Tahoe (26.x, tested on 26.3 / M3 MacBook Air), system audio gradually degrades over time — volume drops significantly and sound becomes muffled across all outputs (built-in speakers, Bluetooth headphones, etc.) at the same volume setting.

  • Onset is intermittent: anywhere from hours to days after a clean reboot.
  • coreaudiod sometimes shows elevated CPU usage during the degraded state.
  • A full reboot reliably restores normal audio. The issue then eventually recurs.
@metrovoc
metrovoc / rollback.sh
Last active November 10, 2025 06:52
A simple rollback script for minecraft servers
#!/bin/bash
# --- Configuration ---
# The name of the screen session your Minecraft server is running in.
SCREEN_SESSION_NAME="archwood"
# The script used to start the server. This will be terminated to prevent auto-restart.
SERVER_WRAPPER_SCRIPT="startserver.sh"
# A UNIQUE string from your server's startup command to reliably identify the process.
╭──────────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code! │
│ │
│ /help for help, /status for your current setup │
│ │
│ cwd: /Users/tovkaic/Desktop/Dev/yui-kernel-claude │
╰──────────────────────────────────────────────────────╯
Tips for getting started: