Skip to content

Instantly share code, notes, and snippets.

@dubcl
dubcl / GroovyArcade_GroovyMAME_Audio_Issue.md
Created May 15, 2026 23:30
GroovyArcade / GroovyMAME Audio Issue

GroovyArcade / GroovyMAME Audio Issue Documentation

Summary

After replacing the USB audio device in a GroovyArcade system, several games running on GroovyMAME stopped producing audio, while others continued working normally.

The issue initially appeared to be related to:

  • ALSA
  • SDL audio backend
  • GroovyMAME timing
@dubcl
dubcl / Configure AB13X USB Audio on Linux.md
Last active May 15, 2026 20:16
Configure AB13X USB Audio on Linux

Configure AB13X USB Audio on Linux

This is a personal config for my groovy arcade install.

Include setup for stereo and mono output.

1. Plug in device and confirm detection

Check kernel messages:

@dubcl
dubcl / Caddyfile
Created July 31, 2023 21:20
Caddyfile simple basic auth
:80 {
root * /path/to/your/files
file_server {
browse
}
basicauth /* {
username hash
# hash is generated by ./caddy hash-password
}
}
for i in $(ls *.mkv);do ffmpeg -i "$i" -c copy -c:a aac "${i%.mkv}.mp4" ;done
@dubcl
dubcl / VMware vSphere 6.x Licence Keys
Created May 15, 2023 22:09 — forked from CHSuworatrai/VMware vSphere 6.x Licence Keys
VMware vSphere 6 and 7 Licence Keys
VMware vSphere 6 Enterprise Plus
1C20K-4Z214-H84U1-T92EP-92838
1A2JU-DEH12-48460-CT956-AC84D
MC28R-4L006-484D1-VV8NK-C7R58
5C6TK-4C39J-48E00-PH0XH-828Q4
4A4X0-69HE3-M8548-6L1QK-1Y240
VMware vSphere with Operations Management 6 Enterprise
4Y2NU-4Z301-085C8-M18EP-2K8M8
1Y48R-0EJEK-084R0-GK9XM-23R52
@dubcl
dubcl / cl_stream_radios.m3u8
Created May 11, 2023 14:23
CL stream radios
#EXTM3U
#EXTINF:0,Radio Futuro
https://18693.live.streamtheworld.com/FUTUROAAC.aac?csegid=12000&dist=futuro_cl-web-live_streaming_play&tdsdk=js-2.9&swm=false&pname=TDSdk&pversion=2.9&banners=300x250&gdpr=0&burst-time=15&sbmid=e9c174a4-eaab-4bfd-ee8d-313bfe70e916
@dubcl
dubcl / multipath-de4000.md
Created March 13, 2023 19:54
Multipath DE4000
devices {
  device {
    vendor "LENOVO"
    product "DE_Series"
    product_blacklist "Universal Xport"
    path_grouping_policy "group_by_prio"
    path_checker "rdac"
    features "2 pg_init_retries 50"
 hardware_handler "1 rdac"
@dubcl
dubcl / mutt_gmail_oauth2.md
Last active March 2, 2023 21:03
mutt + gmail + oauth2

you need a working gpg key, this is to encrypt the gmail.token file

set you gpg key id in the line 47

ENCRYPTION_PIPE = ['gpg', '--encrypt', '--recipient', 'YOUKEYHERE']

Note: Example how to get you key

@dubcl
dubcl / multipath4de4000h.conf
Created October 4, 2022 15:12
multipath for de4000h
devices {
device {
vendor "LENOVO"
product "DE_Series"
product_blacklist "Universal Xport"
path_grouping_policy "group_by_prio"
path_checker "rdac"
features "2 pg_init_retries 50"
hardware_handler "1 rdac"
prio "rdac"
#!/bin/bash
VER="0.94.2";
SCRIPTTITLE="PV - HVM - version $VER";
RED=$(tput setaf 1)
GREEN=$(tput setaf 2)
NORMAL=$(tput sgr0)
# Configure logging
tmp="/tmp"
logfile="$tmp/$(basename $0).$$.log"