Skip to content

Instantly share code, notes, and snippets.

View KiLLeRRaT's full-sized avatar

Albert Gouws KiLLeRRaT

View GitHub Profile
@KiLLeRRaT
KiLLeRRaT / manjaro-chroot.sh
Last active May 18, 2023 21:29
Mount a BTRFS partition and chroot into it
#!/bin/sh
# https://gist.github.com/KiLLeRRaT/c6e112fd61ebf0bcb865bc70f796e6b7
set -e
lsblk # FIND THE PARTITION NAME
echo "Enter the partition name: "
read PARTITIONNAME
@KiLLeRRaT
KiLLeRRaT / WiFi-Dimmer-Script-v0.3 - Dimmer with toggle switch.txt
Last active December 3, 2019 12:51
WiFi-Dimmer-Script-v0.3 - Dimmer with toggle switch.txt
>D
sw=0
swprev=0
tmp=0
cnt=0
tmr=0
hold=0
powert=0
slider=0
dim=""