Skip to content

Instantly share code, notes, and snippets.

@jmrlgg
jmrlgg / htop-1.0.2-temperature.patch
Created April 24, 2017 00:42 — 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.
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,
@jmrlgg
jmrlgg / redditbot.md
Created January 7, 2018 07:29 — forked from aggrolite/redditbot.md
Writing a reddit bot with Go and OAuth2