This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ####### Gitea CSS tweaks | |
Location: /custom/public/index.css | |
############## */ | |
a, .feeds .list ul li a { | |
color: black !important; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import time | |
def measure_temp(): | |
temp = os.popen("vcgencmd measure_temp").readline() | |
return (temp.replace("temp=","")) | |
while True: | |
print(measure_temp()) | |
time.sleep(1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#core clocks + voltage | |
echo "s 5 1427 990" > /sys/class/drm/card0/device/pp_od_clk_voltage | |
echo "s 6 1512 1000" > /sys/class/drm/card0/device/pp_od_clk_voltage | |
echo "s 7 1652 1060" > /sys/class/drm/card0/device/pp_od_clk_voltage | |
#memory bump | |
echo "m 2 900 950" > /sys/class/drm/card0/device/pp_od_clk_voltage | |
#apply | |
echo "c" > /sys/class/drm/card0/device/pp_od_clk_voltage |