Skip to content

Instantly share code, notes, and snippets.

@udance4ever
udance4ever / emulatorLauncher.py
Last active December 26, 2025 21:01
script to launch roms from Terminal.app, implements squashfs support, xbox360 support and ease integration w ES-DE (currently macOS)
#!/opt/homebrew/bin/python3
# Dec 26, 2025 (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 search
@sukhbinder
sukhbinder / duckchat.py
Last active December 13, 2025 10:14
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