Skip to content

Instantly share code, notes, and snippets.

View zerkz's full-sized avatar
🤘

Zack Whipkey zerkz

🤘
View GitHub Profile
@zerkz
zerkz / awdl-down.md
Last active July 8, 2026 03:16
Fix macOS AWDL-induced UDP loss (Moonlight frame drops)

awdl-down

macOS's AWDL interface (awdl0, used by AirDrop/AirPlay/Handoff) periodically pulls the WiFi radio off-channel. In my personal case, this causes ~12% time-based UDP downlink loss and latency spikes, regardless of bitrate or signal quality — seen as ~15% "network" frame drops in Moonlight. TCP mostly masks it, which makes it hard to diagnose.

Fix: disable the features that wake AWDL, and down awdl0 at boot via a one-shot LaunchDaemon (no resident process; it watches the first 3 minutes

@zerkz
zerkz / copy-fantasian-demo-save-to-full.sh
Last active June 11, 2026 03:04
Steam Deck: copy FANTASIAN Neo Dimension DEMO save into the full game (demo->full root.json bridge across Proton prefixes)
#!/usr/bin/env bash
# HOW TO RUN? OPEN TERMINAL (KONSOLE IN DESKTOP MODE) AND PASTE THE ONELINER BELOW, not including the pound sign:
# curl -fsSL https://gist.githubusercontent.com/zerkz/ff6774c8fbe45241fb6b798c2bdd5a33/raw/copy-fantasian-demo-save-to-full.sh | bash
#
# copy-fantasian-demo-save-to-full.sh
#
# Copies the FANTASIAN Neo Dimension *demo* save (root.json) into the
# *full* game's Proton prefix on a Steam Deck, so the demo progress
# carries over to the purchased game.
@zerkz
zerkz / claude-chromium-setup.sh
Last active March 21, 2026 14:36
claude code for "chromium" -- fix for extension not detected. tested on cachy-os + basic chromium
#!/bin/bash
: '
# Claude Code Browser Extension for Chromium-based Browsers (Linux)
A workaround script to enable the **Claude in Chrome** extension to work with Chromium-based browsers on Linux. This was generated in part by Claude!
https://gist.github.com/zerkz/a7cd6c1eb1c13141f8069699516272a8
## The Problem
@zerkz
zerkz / readme.md
Last active January 2, 2026 06:44
Fixing Stuck "Update Failed" Prompts on Rooted LG webOS TVs

If your rooted LG webOS TV keeps prompting you to retry a failed system update (especially after powering off during an update), this guide explains how to clear that state.

Prerequisites

  • Rooted LG webOS TV (tested on webOS 5.6.0)
  • SSH access to the TV (default root password is typically alpine, with sshd from Homebrew Channel enabled)

Wait, I need root?

@zerkz
zerkz / stuff.md
Created August 16, 2024 04:45
MFC-L2710DW gotchas

networking stuff -- limited wifi capability.

It does NOT support 802.11w. turn this off in openwrt settings, also limited wpa2, can use mixed mode however.

@zerkz
zerkz / ftl_multiverse_osx_whisky.md
Last active January 24, 2024 01:16
FTL/Faster Than Light multiverse (or other mods?) on Macbook/M1/M2/OS X using Game Porting Kit/WINE

Tested on M2 / Silicon, Sonoma Beta (may not be required, try Ventura and report back?).

  1. Install Whisky
  2. Setup a bottle/"wine container" for Steam (or label it "FTL" if you're not using Steam).
  3. Install Steam if that's what you're using to install FTL.
  4. Install your legally owned copy of this great game.
  5. Use something like the Control Panel (in the Config section of your bottle in Whisky) to install Java in your bottle. Java 8 JDK worked for me, 6 could as well.
    • You could install Java JDK from Oracle, but you'll have to agree to their crappy license and login.
    • Zulu JDK 8
  • You'll also need to install CCK after to supply physical fonts.
@zerkz
zerkz / door_viewer.service
Last active November 4, 2023 21:08
pi3-b door viewer setup
# /opt/systemd_services/front_door.service
[Unit]
Description=Live Door Viewer with RTSP server included.
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=zdware
ExecStart=/opt/scripts/libcamera_rtsp.sh
@zerkz
zerkz / config.boot
Created December 30, 2022 23:24 — forked from nomaster/config.boot
EdgeRouter: DNS forwarding to CloudFlare with DNSSEC
set service dns forwarding name-server 1.1.1.1
set service dns forwarding name-server 1.0.0.1
set service dns forwarding name-server '2606:4700:4700::1111'
set service dns forwarding name-server '2606:4700:4700::1001'
set service dns forwarding options dnssec
set service dns forwarding options trust-anchor=.,19036,8,2,49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5
set service dns forwarding options trust-anchor=.,20326,8,2,E06D44B80B8F1D39A95C0B0D7C65D08458E880409BBC683457104237C7F8EC8D
set service dns forwarding options dnssec-check-unsigned
set service dns forwarding options dnssec-timestamp=/config/dnsmasq/dnsmasq.time
@zerkz
zerkz / podman_build_install.md
Created June 19, 2022 19:58
Build/Install Podman from Source on Ubuntu/Debian/PopOS/Other Linux?

Build and Install Podman

  1. cd /tmp/
  2. git clone https://github.com/containers/podman
  3. cd podman
  4. Install build dependencies
  5. sudo make
  6. sudo make install
@zerkz
zerkz / remote-wsl.md
Last active April 21, 2022 04:43 — forked from mattbell87/remote-wsl.md
VSCode Remote: Connect to WSL2 from another machine