Skip to content

Instantly share code, notes, and snippets.

@RealDeco
RealDeco / SendSpin_Muse_Luxe_V1.yaml
Last active February 21, 2026 19:37
Simple Sendsping MediaPlayer configuration for Muse Luxe v1
substitutions:
startup_sound_file: https://github.com/RealDeco/xiaozhi-esphome/raw/main/sounds/Home_Connected.flac
esphome:
name: esphome-web-0096f0
friendly_name: Muse Luxe
min_version: 2026.2.0
name_add_mac_suffix: false
on_boot:
priority: -100
@danielsreichenbach
danielsreichenbach / WoW-5.4.8-download-all-locales.sh
Created May 12, 2023 23:15
Grabs a copy of all files required for a full WoW 5.4.8 client installation
#!/bin/sh
echo "Fetching 5.4.8 MFIL"
BASE_URL="http://dist.blizzard.com.edgesuite.net"
if [ ! -f "wow-18414-447E3E618F731CCBF4F7D2C4E56C5644.mfil" ]; then
curl -L# "${BASE_URL}/wow-pod-retail/NA/15890.direct/wow-18414-447E3E618F731CCBF4F7D2C4E56C5644.mfil" -o "wow-18414-447E3E618F731CCBF4F7D2C4E56C5644.mfil"
fi
echo "Creating game folder 5.4.8"
mkdir -p 5.4.8
@emirefek
emirefek / bw-rc1-esphome.yaml
Last active December 11, 2025 17:52
Blitzwolf BW-RC1, IR receiver and transmitter. ESPhome example Yaml. Working fine.
# Blitzwolf BW-RC1 IR Controller
# ESPhome example yaml for IR transmitting and reciving
substitutions:
device_name: bw-rc1
ir_receiver_pin: GPIO05 # IR Receiver
ir_transmitter_pin: GPIO14 # IR Transmitter
restart_button_pin: GPIO13 # Button
status_led_pin: GPIO04 # Blue LED
@Airradda
Airradda / BepInExConsoleFix.sh
Created April 13, 2019 02:53
BepInEx Console Fix Script
if [[ $# -lt 1 ]]; then
echo "Usage: winecfg.sh <appid>"
exit
fi
if !([[ -d "/vol/data/SteamLibrary/steamapps/compatdata/$1/pfx/" ]]); then
echo "PFX dir for the given app id does not exist"
exit
fi
@drmalex07
drmalex07 / README-fail2ban-openvpn.md
Created March 3, 2019 13:34
Block unauthorized requests to OpenVPN using fail2ban. #openvpn #fail2ban

Block unauthorized requests to OpenVPN using fail2ban.

The following is based on https://stefan.angrick.me/block-unauthorized-openvpn-logins-using-fail2ban.

1. Create filter confifuration

Add a filter configuration under /etc/fail2ban/filter.d/openvpn.conf. The contents would be something like (regular expressions may need adjustments):

[INCLUDES]
before = common.conf
@LukeZGD
LukeZGD / NekoparaExtraction.md
Last active October 25, 2025 08:13
Nekopara Data Extraction for Vol. 1, 0, 2, 3, 4, and Extra

Nekopara Data Extraction for Vol. 1, 0, 2, 3, 4, and Extra

  • This guide can also be used in other VNs that have the Kirikiri/CatSystem2 engine

Tools Needed:

@en4rab
en4rab / CF-U1-BIOS.md
Last active March 4, 2026 12:46
Recovering the BIOS password from a Panasonic CF-U1 mk2 (AMI Aptio UEFI)

Recovering the BIOS password from a Panasonic CF-U1 mk2 (AMI Aptio UEFI)

A mess of my own making

While messing with a CF-U1 handheld PC that I bought off ebay I managed to mess up the BIOS and it seems it reverted to previous settings which included an unknown BIOS password, it would however still boot into windows. Since I could still boot windows I was able to dump the bios flash using AFUWINGUI.EXE the version I used was 3.09.03.1462 which is available here:
https://www.ami.com/support-other/ Click on Aptio 4 AMI Firmware Update Utility

@brettp
brettp / win10.xml
Created February 19, 2017 15:40
Win10 libvirt config
<domain type='kvm' id='1' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>Win10</name>
<uuid>4fd8244a-6bd8-4065-be0a-df53872e94ed</uuid>
<memory unit='KiB'>14680064</memory>
<currentMemory unit='KiB'>14680064</currentMemory>
<memoryBacking>
<hugepages/>
</memoryBacking>
<vcpu placement='static'>8</vcpu>
<cputune>
@nucular
nucular / lzss.py
Created October 5, 2016 16:43
Implementation of the Lempel–Ziv–Storer–Szymanski algorithm in Python
"""
Implementation of the Lempel–Ziv–Storer–Szymanski algorithm, ported from the
C implementation by Haruhiko Okumura
https://oku.edu.mie-u.ac.jp/~okumura/compression/lzss.c
Public Domain
"""
class LZSSBase(object):
def __init__(self, infile, outfile, EI=11, EJ=4, P=1, N=0, F=0, rless=0, init_chr=b' '):
self.infile = infile
@miek
miek / GSG case
Last active January 8, 2025 14:58
Unofficial case for YARD Stick One and Ubertooth One from Great Scott Gadgets - http://greatscottgadgets.com/