Skip to content

Instantly share code, notes, and snippets.

View lildadou's full-sized avatar

Daniel Liabeuf lildadou

View GitHub Profile
@lildadou
lildadou / update-wilhelm-sr-modloader.sh
Created February 19, 2026 22:13
Update script Wilhelm-af/StarRupture-ModLoader
#!/bin/bash
DIR_SOURCE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
#script needs elevated privileges
if [ ${UID} != 0 ];then
err "script should be run as root or sudo"
fi
LANG=C
APP_GITHUB_URL="https://github.com/Wilhelm-af/StarRupture-ModLoader"
@lildadou
lildadou / clean.sh
Created May 31, 2017 21:19
Normalize FLAC header of your library
#!/bin/bash
padding_low_limit=256
padding_high_limit=8192
padding_setup=2044
seekpoint_interval_limit=20
seekpoint_setup=6s
for album in ./*/*/
do
before_clean_disk_usage=$(du --max-depth=0 "$album" | awk '{print $1}')