Just a collection of random useful code snippets
 
 
 
 
Go to file
BodgeMaster a9d3f5273c found out what that mysterious comment was supposed to say 2021-05-04 06:47:01 +02:00
manual_control found out what that mysterious comment was supposed to say 2021-05-04 06:47:01 +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 some comments so Panini will always know what is going on 2021-05-02 07:53:50 +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