Skip to content

Instantly share code, notes, and snippets.

View boumannm's full-sized avatar
🎯
Focusing on my irl job at the moment.

Michael Boumann boumannm

🎯
Focusing on my irl job at the moment.
  • Netherlands
View GitHub Profile
@boumannm
boumannm / index.css
Created April 21, 2020 14:31
Gitea theme CSS tweaks
/* ####### Gitea CSS tweaks
Location: /custom/public/index.css
############## */
a, .feeds .list ul li a {
color: black !important;
}
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)
@boumannm
boumannm / amd-vega56-oc.sh
Created January 8, 2019 12:13
AMDGPU overclocking on LInux
#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