Skip to content

Instantly share code, notes, and snippets.

View mcandre's full-sized avatar

Andrew mcandre

  • Milwaukee, WI
View GitHub Profile
@mcandre
mcandre / ai-gaps.md
Last active April 11, 2026 03:09
AI Gaps

AI Gaps

If AI is so good, then:

  • Why does code generation continue to hallucinate nonexistent API members?
  • Why does tech advice hallucinate nonexistent UI controls?
  • Where are the AI based apps to automatically skip and hide all ads across all platforms, devices, and apps?
  • Why are software services riddled with decades old bugs and UX quirks?
  • Why do calendar and mailing address UI elements still suck?
  • Why is dark mode so incomplete across platforms?
@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.
@mcandre
mcandre / github-fix-local-missing-contributor-gpg-keys.md
Last active January 23, 2026 17:10
GitHub Fix Local Missing Contributor GPG Keys

GitHub: Fix Local Missing Contributor GPG Keys

APPLICATION

curl https://github.com/web-flow.gpg | gpg --import
git config --global log.showSignature true

VERIFICATION

@mcandre
mcandre / vscode-prettify-code.md
Last active January 19, 2026 04:02
VSCode: Prettify code

VSCode: Prettify Code

  1. Install an appropriate syntax plugin with prettifying capability (category:formatters <language>).
  2. Select the desired editor tab.
  3. Press Alt + Shift + F.
@mcandre
mcandre / docker-fix-missing-local-images.md
Created January 2, 2026 20:37
Docker Fix Missing Local Images

Docker Fix Missing Local Images

buildx

Docker's buildx subsystem may not automatically load built images into the normal Docker cache, depending on the Docker configuration.

  1. Select a supported Docker platform for your host environment (e.g. linux/arm64, linux/amd64, etc).
  2. Run docker buildx build [--builder <builder>] --platform <platform>.

Plain Vanilla Docker

@mcandre
mcandre / accelerate-zsh.md
Created November 28, 2025 06:58
Accelerate zsh

Accelerate zsh

  1. Temporarily enclose your ~/.zshrc file with benchmark instructions:
zmodload zsh/zprof
...
zprof
@mcandre
mcandre / .tool-versions
Last active April 27, 2026 20:25
ComfyUI Background Service
# asdf
# https://asdf-vm.com/
#
# ~/nfsshare/.tool-versions
python 3.14.2