Skip to content

Instantly share code, notes, and snippets.

View djismgaming's full-sized avatar
😅
DockerMania!

Ismael djismgaming

😅
DockerMania!
View GitHub Profile
@djismgaming
djismgaming / ddr-extreme.md
Created December 30, 2025 05:41 — forked from d3v1an7/ddr-extreme.md
Setting up Stepmania to look/feel like DDR Extreme

Setting up Stepmania to look/feel like DDR Extreme

The first time I played DDR was on a 6th Mix DDR MAX cabinet, but I spent most of my time with this massive custom LED wall screen that housed DDR Extreme. So when I got a foam pad for home, I wanted to replicate what felt most comfortable.

I'm sure it's not pixel perfect, and there are probably some arcade features/behaviours I'm missing, but this setup is close enough for me!

  1. Download Beware's Stepmania Extreme build (direct)

If you don't mind using an older version of Stepmania, you're probably good to go and can ignore the rest!

@djismgaming
djismgaming / GameMaster.sh
Created May 20, 2025 15:58 — forked from adultalldabloons/GameMaster.sh
Myrient downloader for ArkOS
#!/bin/bash
# Licensed under the MIT License – https://opensource.org/licenses/MIT
DOWNLOAD_LOCATION="/roms"
if mountpoint -q /roms2; then
DOWNLOAD_LOCATION="/roms2"
fi
declare -A system_to_url
@djismgaming
djismgaming / pxe_tftp_openwrt.md
Created July 27, 2023 20:38 — forked from rikka0w0/pxe_tftp_openwrt.md
PXE on OpenWrt with a different TFTP server

In this configuration, DHCP will run on the OpenWrt Box, while the TFTP server (the one serves the boot files) runs on a different computer.

1. Add to /etc/config/dhcp on OpenWrt Box

config boot linux
        option filename 'pxelinux.0'
        option serveraddress '192.168.?.?'
        option servername '?'
@djismgaming
djismgaming / gist:911f7bf91bad6e6dabc0a2c1bebf2281
Created April 26, 2023 07:52
LXC USB Passthrough (Proxmox)
1. Plug USB device
root@proxmox01:~# lsusb
[...]
Bus 004 Device 005: ID 0658:0200 Sigma Designs, Inc.
[...]
2. Take a look of device
root@proxmox01:~# ls -l /dev/bus/usb/004/005
crw-rw-r-- 1 root root 189, 388 Oct 25 16:19 /dev/bus/usb/004/005
127.0.0.1 d1s31zyz7dcc2d.cloudfront.net
127.0.0.1 amzdigital-a.akamaihd.net
127.0.0.1 amzdigitaldownloads.edgesuite.net
127.0.0.1 softwareupdates.amazon.com
127.0.0.1 updates.amazon.com
127.0.0.1 arcus-uswest.amazon.com
127.0.0.1 arcus-useast.amazon.com
#!/bin/sh
#sed -i 's/peer.ip/0/g' server/index.js
#sed -i 's/sender.ip/0/g' server/index.js
# make the snapdrop clients be all in a single room
# USE WITH CARE
# Will make it so even local and internet clients see each other
# Put this one in your home folder
# This next one makes edit of aliases faster by opening directly in nano and then applying the changes just after edit
alias aliasc='nano ~/.bash_aliases && source ~/.bash_aliases'
# manage docker containers
alias dcd='docker-compose down'
# alias dcu='docker-compose up -d'
alias dcu='docker-compose up -d --remove-orphans'
alias dcp='docker-compose pull'
@djismgaming
djismgaming / linuxsetup.sh
Last active December 30, 2019 12:37
debian linux system setup, as root on OMV5
#!/bin/bash
echo Updating all repos...
sleep 2
apt update
echo Select your desired desktop environment...
sleep 2
tasksel
echo Installing more packages...
echo Inspect those to be installed by the command before accepting...
sleep 3
@djismgaming
djismgaming / omv5rdp.sh
Last active February 10, 2021 03:31
OMV 5 remote desktop
tasksel
# select the environment
# apt install xrdp tigervnc-standalone-server
apt install xrdp xorgxrdp
# connect from rdp client (select xvnc not xorg only if using tigervnc*)
@djismgaming
djismgaming / chroot.sh
Created October 9, 2019 15:06
chroot to fix grub/fstab
$ sudo fdisk -l (From this you need to find the device name of your physical drive that won't boot, something like “/dev/sdxy″ - where x is the drive and y is the root partition. Since I was using a software RAID, root (/) was on md1)
$ sudo mount /dev/sdxy /mnt (Mount the root partition)
$ sudo mount --bind /dev /mnt/dev
$ sudo mount --bind /proc /mnt/proc
$ sudo mount --bind /sys /mnt/sys
$ sudo chroot /mnt (This will change the root of executables to your your drive that won't boot)
$ grub-mkconfig -o /boot/grub/grub.cfg (insure that there are NO error messages)
$ grub-install /dev/sdx (NOTE that this is the drive and not the partition. try grub-install --recheck /dev/sdxy if it fails)
Ctrl+D (to exit out of chroot)
$ sudo umount /mnt/dev