Skip to content

Instantly share code, notes, and snippets.

View greginvm's full-sized avatar
🗿

Gregor Ratajc greginvm

🗿
View GitHub Profile
@greginvm
greginvm / restore_grub_manjaro.txt
Last active November 10, 2022 03:46
Restore GRUB in UEFI + LVM + LUKS setup (Manjaro)
Setup: UEFI, LVM + LUKS encrypted drive
Bootloader: Grub
Links:
- https://wiki.manjaro.org/index.php/Restore_the_GRUB_Bootloader
-
Restore GRUB (boot into live env):
# get the encrypted partition (crypto_LUKS)
lsblk -f
@greginvm
greginvm / gist:73f4b94a28b5fea0642c686e185db99a
Created January 29, 2024 18:56
worms .steam/steam/steamapps/common/WormsWMD
#!/bin/bash
export LC_ALL=C
export STEAM_RUNTIME_LIBS="$HOME/.local/share/Steam/ubuntu12_32/steam-runtime/"
export LD_LIBRARY_PATH="$STEAM_RUNTIME_LIBS/amd64/lib/x86_64-linux-gnu:$STEAM_RUNTIME_LIBS/amd64/usr/lib/x86_64-linux-gnu"
# export LD_LIBRARY_PATH="$HOME/.steam/bin32/steam-runtime/lib/x86_64-linux-gnu:$HOME/.steam/bin32/steam-runtime/usr/lib/x86_64-linux-gnu:/usr/lib:/usr/local/lib:/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH"
# LC_ALL=C %command%