Skip to content

Instantly share code, notes, and snippets.

@udance4ever
udance4ever / emulatorLauncher.py
Last active April 25, 2026 21:41
script to launch roms from Terminal.app & ease integration w ES-DE (macOS) esp for steam, xbox360 & ps4; implements .squashfs support
#!/opt/homebrew/bin/python3
# April 8, 2026 (created: Feb 5, 2025)
#
# emulatorLauncher helper script used to
# 1) make it easy to launch roms from CLI (Terminal.app)
# 2) implement .squashfs support (compatible with Batocera Linux)
# 3) ease integration with ES-DE (esp in macOS)
# 4) implement rom root search path (NOTE: need to tailor below)
@sukhbinder
sukhbinder / duckchat.py
Last active April 6, 2026 16:53
Chat with DuckDuckGo AI Chat CLI with Python
# /// script
# dependencies = [
# "requests",
# ]
# ///
import requests
import json
import sys
from threading import Thread
@ileathan
ileathan / AuroraRestoreThumbnails.sh
Created October 27, 2023 03:30
Restores xbox 360 thumbnails (root required)
set -o errexit -o nounset
# The idea is simple, the format Aurora uses is #GameID_DatabaseID where the GameID stays the same and the DatabaseID changes, so we check only the first 8 chars of the backup and the new and if they match we copy over the backups cover file to the new gamedata.
for file in GameData.bak/*; do
# Remove the following as they arnt games?
for file2 in GameData/*; do
if [ "${file2:9:8}" == "00000000" ]; then
continue
fi
if [ "${file2:9:2}" == "FF" ]; then