Skip to content

Instantly share code, notes, and snippets.

@KaiStarkk
KaiStarkk / README.md
Last active July 25, 2025 04:38
shameful_scraper - AI solution finder for the shameless podcast competition

Shameful Podcast ARG Solver

This tool was created for the Shameful Podcast competition. It performs the following tasks:

  • Monitors the podcast RSS feed and downloads the latest episode automatically.
  • Transcribes the episode using a local AI model running in PyTorch using CUDA cores to massively parallelize on the GPU.
  • Identifies the secret word for each episode using fuzzy string searching.
  • Determines the secret phrase by applying a coherence algorithm to find the most likely arrangement of the five words.

On the day of the competition, this tool solved the challenge just 9 seconds (!) after the episode was published.

@KaiStarkk
KaiStarkk / README.md
Last active July 25, 2025 04:38
wallpyper - a python wallpaper changer for reddit.

Wallpyper

A python wallpaper changer for reddit.

@KaiStarkk
KaiStarkk / README.md
Last active July 25, 2025 04:39
launchbox-VAPF-helper - this helper program is to enable setting up VAPF in LaunchBox

launchbox-VAPF-helper

This is a helper program. All credit for VAPF belongs with its author. VAPF can be found at https://www.orphanedgames.com/APF/apf_emulation/apf_emulation.html This helper program is to enable setting up VAPF in LaunchBox. This allows you to emulate APF MP-1000(/Imagination Machine[^1]) games.

Steps to set up Launchbox

  1. Setup 1a. Download VAPF from link above. 1b. Save to your LaunchBox emulators folder 1c. Clone this repo inside the VAPF directory
@KaiStarkk
KaiStarkk / main.py
Last active July 25, 2025 04:41
r36sync - tool for synchronising local directory to the R36 handheld console
import os
import subprocess
from distutils.util import strtobool
def run_rsync(source, destination, dry_run=False):
"""
Run rsync command to sync files between source and destination.
"""
flags = "-avh --update --delete"
if dry_run:
@KaiStarkk
KaiStarkk / qbittorrent-totals.sh
Created July 25, 2025 02:48
Bash script to tally torrent sizes
#!/bin/bash
# Replace with your actual credentials
#USERNAME="YOUR_USERNAME"
#PASSWORD="YOUR_PASSWORD"
#DOMAIN="YOUR_DOMAIN"
# Login and capture the cookie in memory
COOKIE=$(curl -s -i --data "username=$USERNAME&password=$PASSWORD" https://$DOMAIN/api/v2/auth/login | grep -Fi Set-Cookie | sed -E 's/Set-Cookie: ([^;]+).*/\1/')
@KaiStarkk
KaiStarkk / nssm-list.ps1
Created July 25, 2025 01:47
PowerShell script to list services installed with NSSM
# Get all services and filter for those managed by NSSM
$services = Get-WmiObject win32_service | Where-Object { $_.PathName -like '*nssm*' } |
Select-Object Name, DisplayName, State, PathName
# Check if any services were found
if ($services) {
# Output the services to the console
$services | Format-Table -AutoSize
} else {
Write-Host "No NSSM services found."
@KaiStarkk
KaiStarkk / Kai's Definitive Console List.md
Created November 15, 2024 07:47
Kai's Definitive Console List
Type Gen Manufacturer Name # Games Significance
Arcade Namco System 22
Arcade Sammy AtomisWave
Arcade Sega Hikaru
Arcade Sega Model 1
Arcade Sega Model 2
Arcade Sega Model 3
Arcade Sega NAOMI
Arcade Sega NAOMI 2
public abstract class EventBusBase
{
protected readonly List<Object> _publishers = new();
// More EventBus implementation.
// Notably, doesn't have a member for the event, nor any methods
// accessing the event, because it won't be possible to override
// the event in sub-classes with different delegates. So most methods
// have to be repeated as below.
}
}