Just a collection of random useful code snippets
 
 
 
 
Go to file
BodgeMaster c704fda00a added file (to be improved) 2021-05-02 01:39:22 +02:00
manual_control added file (to be improved) 2021-05-02 01:39:22 +02:00
LICENSE Initial commit 2021-04-28 08:01:08 +02:00
README.md formatting 2021-05-01 07:03:13 +02:00
disable_laptop_lid.sh copied this from my laptop's /etc/rc.local 2021-04-28 08:05:28 +02:00
sensors.py added interpreter line 2021-05-01 07:05:06 +02:00

README.md

RandomUsefulStuff

Just a collection of random useful code snippets (that can be used as programs on their own because why not)

Descriptions for each code snippet

disable_laptop_lid.sh

Disables laptop lid state detection in Linux by unregistering it from the driver.

Dependencies: Linux kernel, bash, sysfs filesystem mounted on /sys

sensors.py

Can be used to get the state of a hardware sensor connected to the computer.

Dependencies: lm-sensors, python3