Skip to content

Instantly share code, notes, and snippets.

View spinojara's full-sized avatar

Isak Ellmer spinojara

  • Lund University
  • Lund, Sweden
View GitHub Profile
@spinojara
spinojara / lichess-bot
Last active November 25, 2024 20:19
lichess-bot OpenRC Service
#!/sbin/openrc-run
command_background="yes"
pidfile="/var/run/lichess-bot.pid"
name="lichess-bot"
description="lichess-bot - A bridge between Lichess bots and chess engines"
directory="/usr/local/share/lichess-bot"
command="${directory}/venv/bin/python3"
comamnd_args="lichess-bot.py"
output_log="/var/log/lichess-bot.log"
error_log="/var/log/lichess-bot.err"
@spinojara
spinojara / eduroam.sh
Last active May 15, 2025 17:00
Lund University Eduroam NetworkManager
nmcli con add \
type wifi \
con-name "eduroam" \
ssid "eduroam" \
wifi-sec.key-mgmt "wpa-eap" \
802-1x.identity "<IDENTITY>@lu.se" \
802-1x.password "<PASSWORD>" \
802-1x.eap "peap" \
802-1x.phase2-auth "mschapv2"