Skip to content

Instantly share code, notes, and snippets.

@jmrlgg
jmrlgg / redditbot.md
Created Jan 7, 2018 — forked from aggrolite/redditbot.md
Writing a reddit bot with Go and OAuth2
View redditbot.md
@jmrlgg
jmrlgg / htop-1.0.2-temperature.patch
Created Apr 24, 2017 — forked from rstemmer/htop-1.0.2-temperature.patch
Adds a new Meter to htop that displays your core temperatures. You need the lm_sensors package to use this meter. After applying this patch, you have to call ./autogen.sh before configuring and compiling.
View htop-1.0.2-temperature.patch
diff -urN htop-1.0.2-orig/CRT.c htop-1.0.2/CRT.c
--- htop-1.0.2-orig/CRT.c 2013-03-23 14:10:29.500604247 +0100
+++ htop-1.0.2/CRT.c 2013-03-23 14:11:01.916663508 +0100
@@ -59,6 +59,9 @@
UPTIME,
BATTERY,
TASKS_RUNNING,
+ TEMPERATURE_COOL,
+ TEMPERATURE_MEDIUM,
+ TEMPERATURE_HOT,