Skip to content

Instantly share code, notes, and snippets.

View mcandre's full-sized avatar

Andrew mcandre

View GitHub Profile
@mcandre
mcandre / all-macos-terminal-emulators-are-bad.md
Last active November 19, 2026 21:15
All macOS Terminal Emulators are Bad

All macOS Terminal Emulators are Bad

All macOS terminal emulators are bad. Yes, even the ones written in Rust.

You don't so much choose a competitor as choose which set of bugs are most tolerable for your situation.

Common quirks across emulators:

  • Poor multiple terminal tabs UX
  • Poor zsh right prompt support
@mcandre
mcandre / jellyfin-ignores.md
Created November 17, 2026 18:41
Jellyfin .ignore's

Jellyfin .ignore's

Despite what Jellyfin documentation claims, .ignore files do not seem to use precisely git .gitignore syntax.

In addition to hard brackets: [, ] requiring UNIX sh style backslash escaping: \[, \], Jellyfin .ignore patterns also require parentheses: (, ) to be similarly escaped: \(, \), as well as curly braces: {, } to be escaped: \{, \}.

If the file path is a directory, then apply a trailing (forward) slash: /. Unclear whether directories require this, or may be optional (like with git).

Use cat to confirm the .ignore contents as seen on disk.

@mcandre
mcandre / jellyfin-hyperlink-hack.md
Last active November 17, 2026 05:22
Jellyfin Hyperlink Hack
@mcandre
mcandre / jellyfin-ui-fixes.css
Last active November 30, 2026 17:23
Jellyfin UI Fixes
/* Streamline cards */
.countIndicator,
.cardIndicators .unplayedItemCount {
display: none !important;
}
/* Fix HUD */
.alphaPicker-fixed-right,
.endsAt,
.endsAtText {
@mcandre
mcandre / appimage-prerequisites.md
Created October 19, 2026 22:57
AppImage Prerequisites

AppImage Prerequisites

Despite official documentation, AppImage executables often involved additional system requirements:

  • Target host ISA(s) rather than container guest ISA(s)
  • Elevated security permissions in Docker run flags: --device /dev/fuse --cap-add SYS_ADMIN
  • Build OS Packages: appstream, appstream-util, ca-certificates, curl, file, fuse, gpg
  • Run OS Packages: file, fuse
@mcandre
mcandre / macos-native-resource-widgets.md
Created June 11, 2026 18:40
macOS: Native Resource Widgets
@mcandre
mcandre / ffmpeg-reencode-video.md
Created April 3, 2026 22:21
ffmpeg rencode video

ffmpeg reencode video

Many video playback systems struggle to process legacy formats (AVI, MPEG, MPG, WMV, etc.)

Recommend reencoding these into MP4 format.

ffmpeg -i <input-file> -c:v libx264 -c:a aac <output-basename>.mp4
@mcandre
mcandre / ubuntu-ad-block.md
Created March 27, 2026 21:05
Ubuntu Ad Block

Ubuntu Ad Block

Out of the box, Canonical Ubuntu spams users with intrusive advertisesments for Pro services, such as when running sudo apt upgrade.

Fix

sudo dpkg-divert --divert /etc/apt/apt.conf.d/20apt-esm-hook.conf.bak --rename --local /etc/apt/apt.conf.d/20apt-esm-hook.conf
@mcandre
mcandre / install-dest.sh
Created March 20, 2026 05:22
dest scratchpad
#!/bin/bash
unset IFS
set -eu
if [ -z "${DEST:-}" ]; then
exit
fi
mkdir -p "$DEST"
@mcandre
mcandre / mazda-favorites-fix.md
Created February 22, 2026 02:38
Mazda Favorites Fix

Mazda Favorites Fix

  1. Start the car.
  2. Activate the entertainment system. If mecessary, press and hold the volume knob down into the console.
  3. Press the Favorites console button.
  4. Wiggle the big button right to navigate to the Options pane.
  5. Rotate the big button clockwise to Edit.
  6. Press the big button down to navigate to the Edit view.
  7. Rotate the big button right to navigate to Delete Favorite(s).
  8. Use the big button to manually select all favorites.