Skip to content

Instantly share code, notes, and snippets.

View salamcast's full-sized avatar

Abu Khadeejah Karl Holz salamcast

  • Holz.one
  • Toronto, Canada
View GitHub Profile
@salamcast
salamcast / plus2pc.sh
Created June 2, 2025 18:55
extract batocera plus image to .pc folder
#!/bin/bash
#
# #############################################################
# these work in batocera plus, will need to be edited further for regular batocera
#
# https://wiki.batocera.org/systems:windows
# https://wiki.batocera.org/systems:mugen
#
# edit the autorun.cmd might need more editing to work
# after you can compress them into a squashfs
@salamcast
salamcast / import_csv.py
Last active April 7, 2025 20:05
import csv to MySQL
"""
uv project toml
---------------
[project]
name = "mysql_csv_import"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
@salamcast
salamcast / convert_pbp.sh
Created March 8, 2025 03:12
Convert encrypted PSN Classic PSX PBP file to an unencrypted PBP file
#!/bin/bash
# the purpose of this script is to make all the PSN PSX games I purchased on my PS3, PSP, PS Vita
# playable in DuckStation and Batocera
#
# you will need to build the following projects:
#
# https://github.com/AKuHAK/psxtract
# https://github.com/bryanperris/PSXPackager
#
# I downloaded the zip files and build them that way, you might need to fix the path for your setup
@salamcast
salamcast / setup_dev_zsh-ubuntu.sh
Created February 11, 2025 01:19
add zsh to ubunu/debian with icons and a cool look
#!/bin/bash
# borrowed from https://github.com/RamiKrispin/awesome-ds-setting
# a great guide from Remi Krispin, thank you!
# he has a telegram chanel that has dev and data tutorials posted if you want to learn more
# his setup is MacOS based, I'm using this on Ubuntu on an OrangePi 5 plus
#
# homebrew dosen't work on Linux ARM64
# using apt
sudo apt-get install zsh jq