Skip to content

Instantly share code, notes, and snippets.

@NotWadeGrimridge
NotWadeGrimridge / setup-qaac.sh
Created September 4, 2025 15:30
Setup qaac on Linux
#!/bin/bash
set -e
# go to https://store.rg-adguard.net/
# paste this in https://apps.microsoft.com/detail/9pktq5699m62
# find the entry that's named like "AppleInc.iCloud_*_x64_*.appx"
# paste the link below
ITUNES_URL=""
# update these if you like (latest as of 04 sept 2025)
From d293b67993b1d020667e3a1d665409440f393f43 Mon Sep 17 00:00:00 2001
From: NotWadeGrimridge <wade@6942020.xyz>
Date: Sat, 23 Aug 2025 18:17:51 +0530
Subject: [PATCH] feat: allow toggling sse for responses
Signed-off-by: NotWadeGrimridge <wade@6942020.xyz>
---
codex-rs/core/src/client.rs | 153 ++++++++++++++++--
codex-rs/core/src/config.rs | 12 ++
codex-rs/exec/src/lib.rs | 1 +
@NotWadeGrimridge
NotWadeGrimridge / xpost.py
Last active July 4, 2025 22:26
Tweet from your terminal
#!/usr/bin/env -S uv --quiet run --script
# /// script
# requires-python = ">=3.13"
# dependencies = [
# "beautifulsoup4",
# "curl-cffi",
# "pycryptodome",
# "xclienttransaction",
# ]
# ///
@NotWadeGrimridge
NotWadeGrimridge / aac-adm-convert.sh
Last active April 5, 2025 09:53
AAC converter (Apple Digital Master)
#!/usr/bin/env bash
set -eu
if [[ $# -eq 0 ]]; then
echo "Usage: $0 [-d] [-s] [-o output_dir] files..."
echo "Options:"
echo " -d Delete original files after processing (default: off)"
echo " -s Downsample to 44100 Hz if applicable (default: off)"
echo " -o dir Set output directory (default: aac)"