Skip to content

Instantly share code, notes, and snippets.

View pjobson's full-sized avatar
🥄
p̰͍͖̄̀ͬ̒̎̅a̲͚̯̱̺͗̿̓̆͊̀͌ǘ̳̹͙͔̘̈ͭ̋̒ͭ̋lͫ̔ͯ̂ ͎͖͍̤ͣͧ̀ͨj̾o̹̗͍̲̽ͥ́̊͐b̪ͬͪͫ̂s̙̫͕̼̭͛̍̔on̽

Paul Jobson pjobson

🥄
p̰͍͖̄̀ͬ̒̎̅a̲͚̯̱̺͗̿̓̆͊̀͌ǘ̳̹͙͔̘̈ͭ̋̒ͭ̋lͫ̔ͯ̂ ͎͖͍̤ͣͧ̀ͨj̾o̹̗͍̲̽ͥ́̊͐b̪ͬͪͫ̂s̙̫͕̼̭͛̍̔on̽
View GitHub Profile
@pjobson
pjobson / python3.14.x_yt-dlp_deprecation.txt
Last active July 11, 2026 19:45
Build Python 3.14.x Install - yt-dlp deprecation error
# If you're on an older version of linux with Python 3.10.x, you
# can do this to avoid the python deprecation warning.
# I was having some problems compliling correctly with the listed
# installation instructions, so I made this primarily for myself.
# Deprecated Feature: Support for Python version 3.10 has been deprecated. Please update to Python 3.11 or above
# Yes, this is for Linux geared towards Mint/Ubuntu. No, I don't know how to do Windows stuff, maybe install WSL.
# This installs python to /opt/python/3.14.6
# Add to .bashrc: alias yt-dlp="/opt/python/3.14.6/bin/python3.14 ~/.local/bin/yt-dlp "
@pjobson
pjobson / yt-dlmv.sh
Created July 10, 2026 23:25
yt-dlp music video script
#!/bin/bash
# You'll need to update:
# * path to python3
# * path to yt-dlp
# * path to ffmpeg
# * download archive path
/opt/python/3.14.6/bin/python3 \
/home/pjobson/.local/bin/yt-dlp \
@pjobson
pjobson / smashRtoRestart.lua
Last active June 13, 2026 02:27
Balatro Mod - Smash R to Restart
--- STEAMODDED HEADER
--- MOD_NAME: Smash R to Restart
--- MOD_ID: SmashRtoRestart
--- MOD_AUTHOR: [pjobson]
--- MOD_DESCRIPTION: Press R 5 times in a row to start a new random run, this is useful if you play balatro via synergy and holding the R key does not work.
--- PRIORITY: 0
--- BADGE_COLOUR: E63946
--- DISPLAY_NAME: Smash R to Restart
----------------------------------------------
--- STEAMODDED HEADER
--- MOD_NAME: Moar Speeds
--- MOD_ID: MoarSpeeds
--- MOD_AUTHOR: [Steamo]
--- MOD_DESCRIPTION: Moar Speeds options!
----------------------------------------------
------------MOD CODE -------------------------
Neverwinter Nights
CH37D-QXPRX-34U7F-9FL3N-QLKTC-CFGCT-3J9DG
CNUKW-CMFYT-3GTPE-DTE4U-PWF4G-CKQFM-FTMNN
TVGDE-K9VJD-LPLHJ-NKGVD-4F4LQ-KULEH-6NW7R
WV3F9-D4EJ4-V6DTN-NA9H9-FXPRC-H4PQR-DQLMJ
H66DJ-WEAMG-GKNDP-TVQQL-YTK4M-PD6VK-QH6QF
WAHK9-CNH9V-AACRV-9WG7C-9WFQR-X4XKT-9KK7C
6LPFW-UH4KR-LWJHT-JALPQ-XPDDE-34T69-AC4NR
N3YAY-J9JFQ-34XDH-TAE7M-3N693-FARCP-AGT96
C4M7Q-UUYEV-GUP3H-DLV4W-AUH9Y-47TWQ-UWFL9
#!/bin/bash
SRC_DIR="$1"
DEST_DIR="$2"
if [ -z "$SRC_DIR" ] || [ -z "$DEST_DIR" ]; then
echo "Usage: $0 <source_dir> <dest_dir>"
exit 1
fi
@pjobson
pjobson / denon_http_cmds.md
Last active July 23, 2025 14:23
Denon AVR-3311 HTTP Control

Denon HTTP Commands

Various Denon receivers such as the Denon AVR-3311CI with ethernet connectivity use a GoAhead-Webs server offering a basic control panel for modifying the reciver's functionality w/o having to use the remote or panel controls.

This is an attempt to document said controls.

My receiver is at 10.10.10.214 you'll either need to put yours at that IP or modify these slightly to your needs.

@pjobson
pjobson / jellyfin_custom_ffmpeg.md
Last active February 6, 2026 22:03
Jellyfin Custom Install

Installing Jellyfin w/ Custom FFMPEG

I do things a bit more custom on my server than most folks.

I was getting this error when running sudo systemctl status jellyfin.service

MediaBrowser.Common.FfmpegException: Failed to find valid ffmpeg

The status also showed it was trying to start with its own ffmpeg install.

@pjobson
pjobson / disable_pci_device.md
Created May 1, 2025 11:46
Instructions for Disabling a PCI Device Linux

Instructions for Disabling a PCI Device Linux

I want to disable the onboard WiFi card, as I use a better USB one. Having both of them was causing weird conflicts where they'd both try to connect to the network at the same time and would keep the machine from connecting outside of the netowrk.

Start with:

lspci
@pjobson
pjobson / update-chirp.sh
Created April 26, 2025 20:00
Installs/Updates CHIRP
#!/bin/bash
# This was written for Mint/Ubuntu, should be pretty easy to update for other distros
# install python wxgtk4.0 & pipx
sudo apt install python3-wxgtk4.0 pipx -y
# get the next release
NEXT=$(curl -s https://archive.chirpmyradio.com/chirp_next/ | grep "next-" | head -n1 | sed -e 's/.\+href="//' | sed -e 's/">.\+//')
# find the whl file