16 lines
517 B
Markdown
16 lines
517 B
Markdown
# 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](./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](./sensors.py)
|
|
Can be used to get the state of a hardware sensor connected to the computer.
|
|
|
|
Dependencies: lm-sensors, python3
|