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
@djismgaming
djismgaming / ffmpeg.md
Created June 12, 2019 12:59 — forked from protrolium/ffmpeg.md
using ffmpeg to extract audio from video files

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz:

@djismgaming
djismgaming / get-run-cmd
Created June 5, 2019 14:54 — forked from djmaze/get-run-cmd
Get run command from running Docker container
#!/bin/bash
set -eo pipefail
container=$1
image=$(docker inspect --format '{{.Config.Image}}' $container)
cmd=$(docker inspect --format '{{.Config.Cmd}}' $container)
if [[ $cmd == '<nil>' ]]; then cmd=''; fi
binds=$(docker inspect --format '{{.HostConfig.Binds}}' $container | sed "s/\[//; s/\]//")
if [[ $binds == '<nil>' ]]; then binds=''; fi
envs=$(docker inspect --format '{{.Config.Env}}' $container | sed "s/\[//; s/\]//")
@djismgaming
djismgaming / VAAPI-hwaccel-encode-Linux-Ffmpeg&Libav-setup.md
Created May 24, 2019 20:27 — forked from Brainiarc7/VAAPI-hwaccel-encode-Linux-Ffmpeg&Libav-setup.md
This gist contains instructions on setting up FFmpeg and Libav to use VAAPI-based hardware accelerated encoding (on supported platforms) for H.264 (and H.265 on supported hardware) video formats.

Using VAAPI's hardware accelerated video encoding on Linux with Intel's hardware on FFmpeg and libav

Hello, brethren :-)

As it turns out, the current version of FFmpeg (version 3.1 released earlier today) and libav (master branch) supports full H.264 and HEVC encode in VAAPI on supported hardware that works reliably well to be termed "production-ready".

@djismgaming
djismgaming / nginx.conf
Created December 1, 2018 10:44 — forked from nibral/nginx.conf
reverse proxy
server {
listen 80;
server_name example.com;
charset UTF-8;
auth_basic "Login message";
auth_basic_user_file /path/to/.htpasswd;
location / {
proxy_redirect off;