Skip to content

Instantly share code, notes, and snippets.

@sankao
sankao / setup_remote_debug.sh
Created February 10, 2026 10:01
Remote debug setup script
#!/usr/bin/env bash
#
# Remote Debug Setup
# This script lets a friend connect to your computer remotely to help
# troubleshoot issues. It installs the tools needed for a secure connection.
#
# Usage: bash setup_remote_debug.sh
# bash setup_remote_debug.sh --dry-run (preview without changing anything)
#
@sankao
sankao / z13-audio-fix-summary.md
Last active September 8, 2026 09:58
ROG Flow Z13 2025 Audio fix

ROG Flow Z13 2025 Audio fix

ROG Flow Z13 2025 (ai max 395) Audio Fix

Disclaimer: I don't know much about kernel development, this fix was figured out with AI assistance.
My problem was that the speakers work but are way quieter than Windows. Kernel logs show:

cs35l41-hda: Falling back to default firmware.

The fix is simple: copy-paste the ROG Ally entry with a different device ID. It solves the audio problem subjectively (we're far from amazing sound, but at least twice as loud).

#msg_input, #msg_input+#primary_file_button {
border-color: rgba(160,160,162,.7)!important;
}
#msg_form #primary_file_button:not(:hover):not(.active) {
color: #A0A0A2!important;
}
#msg_input, #col_channels, ts-message, #team_menu {
font-family: Courier!important;