RandomUsefulStuff/README.md

29 lines
1.7 KiB
Markdown
Raw Normal View History

2021-04-28 08:01:08 +02:00
# RandomUsefulStuff
Just a collection of random useful code snippets (that can be used as programs on their own because why not)
2021-05-12 06:21:47 +02:00
BTW, come to https://discord.gg/uS7kGSH if youre interested in a technology / computer / retro computing focused Dircord server.
## Descriptions for each code snippet
2021-05-01 07:03:13 +02:00
### [disable_laptop_lid.sh](./disable_laptop_lid.sh)
Disables laptop lid state detection in Linux by unregistering it from the driver.
2021-05-01 07:03:13 +02:00
Dependencies: Linux kernel, bash, sysfs filesystem mounted on /sys
2021-05-01 07:03:13 +02:00
### [sensors.py](./sensors.py)
Can be used to get the state of a hardware sensor connected to the computer.
2021-05-01 07:03:13 +02:00
Dependencies: lm-sensors, python3
### [manual_control](./manual_control/manual_control.ino)
Arduino sketch that allows direct manual control of the pins over the serial interface. This is the older, fancier version which is only capable of controlling outputs. It has some hardcoded values that may need to be adjusted.
### [external_control](./external_control/external_control.ino)
A less fancy but generally improved rewritten version of the manual control Arduino sketch that is more feature-packed and better suited for interaction with programs while still being usable for humans.
2021-05-11 18:21:42 +02:00
### [ultimate.bashrc](./ultimate.bashrc)
2021-05-11 18:24:51 +02:00
The .bashrc I have in the user home skel of my server and home folders everywhere. Basically sets a nice prompt and some aliases. Also makes Nano the default editor because fuck vi.
2021-08-13 14:05:43 +02:00
### [goip_dyndns_updater.sh](./goip_dyndns_updater.sh)
A basic DynDNS updater script for GoIP that can be used if you have a router made by assholes that either cant document their shit (Hello Zyxel) or wont allow you to use your own DynDNS provider (Looking at you, TP-Link).