Skip to content

Instantly share code, notes, and snippets.

View AlyxPink's full-sized avatar

Alyx AlyxPink

View GitHub Profile
@AlyxPink
AlyxPink / transcode_opus-ogg_to_aac-m4a.sh
Created June 10, 2025 03:33
Script created with LLM to convert tons of audio files to another format, recursively, using a network attached disk on Windows
#!/bin/bash
set -euo pipefail
# MUST CONFIGURE THIS PATH
NAS_MOUNT="/mnt/z/Audio" # Windows/WSL: /mnt/z/...
# OR for Linux: "/mnt/nas_audio"
# Configuration Options
DRY_RUN=true
OVERWRITE=false
@AlyxPink
AlyxPink / deadname_rewriter.sh
Created March 18, 2024 09:38
A far from perfect script helping you out to rewrite your author name and email in the git history of your repositories
# !/bin/bash
# Please don't trust me, I made this thing in a hurry and I'm not a Git expert.
# I copy pasted stuff from here and there, quickly read some git documentation and
# made some trial and error locally.
# I've noticed that for some repositories it did not work, and also some commits went from "Verified" to "Unverified".
# I'm not sure why, I'm not sure how to fix it, the public keys match sooooo. That's an issue for future me.
# Create a mailmap in ~/.config/git/.mailmap (or anywhere else as long as you use it in the next command):
#