Skip to content

Instantly share code, notes, and snippets.

View wallentx's full-sized avatar
:shipit:
ȋ̴͎ ̶̘͝u̷̥͆s̴͖̾ē̷̠ ̶̟̉a̴͙̕ŗ̸͆č̶̬ḣ̷̭ ̴̡̄b̷̳̒ẗ̷͍ẘ̴̡

William Allen wallentx

:shipit:
ȋ̴͎ ̶̘͝u̷̥͆s̴͖̾ē̷̠ ̶̟̉a̴͙̕ŗ̸͆č̶̬ḣ̷̭ ̴̡̄b̷̳̒ẗ̷͍ẘ̴̡
View GitHub Profile
@wallentx
wallentx / profile-picutre.md
Created October 15, 2026 23:05
The backstory to why my profile picture is what it is
profilepicture.mp4
@wallentx
wallentx / tailscale.py
Created September 9, 2026 18:03
Tailscale panel script for wayle
#!/usr/bin/env python3
"""Tailscale status and explicit menu actions for the desktop bar."""
import html
import json
from pathlib import Path
import subprocess
import sys
def run(*args):
#!/usr/bin/env bash
set -eo pipefail
download_dir="."
while getopts ":d:v" opt; do
case ${opt} in
d)
download_dir=$OPTARG
#!/usr/bin/env bash
set -u -o pipefail
LIMIT="${LIMIT:-100}"
AFFILIATION="${AFFILIATION:-owner,collaborator,organization_member}"
ACTIONSTAT_CACHE_DIR="${ACTIONSTAT_CACHE_DIR:-${XDG_CACHE_HOME:-${HOME:-.}/.cache}/actionstat}"
ACTIONSTAT_JOBS="${ACTIONSTAT_JOBS:-4}"
ACTIONSTAT_RETRIES="${ACTIONSTAT_RETRIES:-4}"
ACTIONSTAT_RETRY_DELAY_SECONDS="${ACTIONSTAT_RETRY_DELAY_SECONDS:-2}"
ACTIONSTAT_RATE_LIMIT_COOLOFF_SECONDS="${ACTIONSTAT_RATE_LIMIT_COOLOFF_SECONDS:-60}"

Atmos-Like Spatial Audio on Linux with PipeWire

Who This Is For

This guide is for a Linux user who wants the best headphone spatial audio they can get, but has never configured PipeWire for this kind of DSP work.

The goal is to explain the moving parts first, then show which example config does what, and finally give you concrete download sources for the data files those configs expect.


#!/usr/bin/env bash
set -euo pipefail
usage() {
cat <<'EOF'
Usage:
alphabet-emoji [-w|-y|-m|-a] "text to spell"
Options:
-w white (default)
# Default OMZ theme for Archcraft
NUM_DIR=2
DIR_PATH="%F{8}%K{8} %F{7} %F{7}%$NUM_DIR~ %{%k%}%F{8}"
background_jobs="%(1j.%F{8}%K{8} %F{3} %{%k%}%F{8}%f.)"
non_zero_return_value="%(0?..%F{8}%K{8} %F{1} %{%k%}%F{8}%f)"
ZSH_THEME_GIT_PROMPT_PREFIX="%F{8}%K{8} %F{7} %K{8} "
ZSH_THEME_GIT_PROMPT_SUFFIX=" %{%k%}%F{8} %{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}  "
@wallentx
wallentx / .zshrc
Last active November 27, 2025 19:22
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="osx2"
for p in "${plugins[@]}"; do
target="${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/$p"
if [[ ! -d "$target" ]]; then
echo "[oh-my-zsh] Installing missing plugin: $p"
git clone "https://github.com/${p}/${p}.git" "$target" 2>/dev/null \
|| echo "[oh-my-zsh] Failed to auto-install $p"
fi

USB-C Receptacle Pinout (Color-Coded, Horizontal)

flowchart LR

  %% Bottom row: B-side pins (front view, pin side)
  subgraph Brow["B-side (Bottom Row)"]
    direction RL
    B12["B12<br />GND"]:::gnd ---
    B11["B11<br />TX2+"]:::ss ---
@wallentx
wallentx / cursor-cli-termux-installer
Last active October 11, 2026 22:10
Cursor CLI installer for Termux
#!/usr/bin/env bash
set -euo pipefail
# This script downloads the official Cursor Agent installer, programmatically
# modifies it for Android/Termux compatibility, and then executes it.
# It uses `sed` and temporary files to inject logic, making it resilient to
# version changes in the official installer.
# --- Helper Functions ---
step() { echo -e "\033[0;34m▸\033[0m $1"; }