Skip to content

Instantly share code, notes, and snippets.

View kite-update.sh
#!/bin/env bash
# adapted from diko_d scripts
# untested, made by ziggurat
if [[ "${1}" == "install" ]]; then
if grep -Fxq "kite-update.sh" /opt/retropie/configs/all/emulationstation/gamelists/retropie/gamelist.xml; then
kitesection=$(
cat <<_END_
<game>
@sigboe
sigboe / suspend-modules
Last active August 20, 2019 21:26 — forked from mauron85/suspend-modules
Systemd unload modules on sleep
View suspend-modules
#!/bin/bash
# Put into /lib/systemd/system-sleep/suspend-modules
# chmod a+x /lib/systemd/system-sleep/suspend-modules
# Unloads kernel modules defined in /etc/suspend-modules.d/*.conf
# and /etc/suspend-modules
# with one module per line
# Too see credits, see git history
@sigboe
sigboe / vlc play
Last active September 1, 2016 11:56
View vlc play
#!/bin/bash
while true; do
vlc "/mnt/fileserver/folderwithfiles" --fullscreen --no-mouse-events --no-osd --no-audio ;
done