Skip to content

Instantly share code, notes, and snippets.

View ChrisG661's full-sized avatar
🏠
localhost

Christopher G ChrisG661

🏠
localhost
View GitHub Profile
@ChrisG661
ChrisG661 / i8kmon.py
Last active March 17, 2024 03:05 — forked from goophile/i8kmon.py
i8kmon/i8kfan for Dell Optiplex 7050 SFF desktop
#!/usr/bin/python3
import re
import subprocess
import time
# On my Dell Precision desktop, the `i8kmon` controls the fan level according to the ambient temperature, not the CPU temperature.
# Maybe the i8kutils only works for laptop? I don't know. Luckily, the `i8kfan` CAN control the motherboard fan and CPU fan.
# It's usage is `i8kfan - -`, the first number is for motherboard, the second for CPU. You should test the sequence first.
@ChrisG661
ChrisG661 / nokia-router-cfg-tool.py
Created March 18, 2021 05:48 — forked from thedroidgeek/nokia-router-cfg-tool.py
Nokia/Alcatel-Lucent router backup configuration tool
#!/usr/bin/env python3
#
# Nokia/Alcatel-Lucent router backup configuration tool
#
# Features:
# - Unpack/repack .cfg files generated from the backup and restore functionnality
# in order to modify the full router configuration
# - Decrypt/encrypt the passwords/secret values present in the configuration