This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
scraps [2020/12/28 14:55]
scraps [2021/07/21 18:16]
Line 1: Line 1:
 ====== Scraps ====== ====== Scraps ======
 +Bits and pieces I want to be able to grab quickly. This page will change frequently.
 +===== ntplogtemp =====
 +/usr/local/bin/ntplogtemp -o -l /chronyLogs/temps
 +sed '/ZONE0/d' -i /chronyLogs/temps
 +sed '/sensor/d' -i /chronyLogs/temps
 +sed -i 's/LM0/CPU/g' /chronyLogs/temps
 +sed -i 's/LM1/CPU/g' /chronyLogs/temps
 +===== Quick Pi ID =====
 +Easy way to get a quick visual indicator to ID a Pi you're remoted into:
 +Blink pwr LED at 1Hz:
 +<code>echo timer | sudo tee /sys/class/leds/led1/trigger</code>
 +Set pwr LED back to monitor voltage:
 +<code>echo input | sudo tee /sys/class/leds/led1/trigger</code>
 +===== Build GPSD =====
 +scons target_python=python3.7 pps=yes bluez=no tsip=no tripmate=no tnt=no \
 +superstar2=no skytraq=no sirf=no oncore=no navcom=no mtk3301=no itrax=no \
 +geostar=no fv18=no fury=no evermore=no earthmate=no ashtech=no aivdm=no
 +===== Disable GUI Ubuntu/Debian =====
 +sudo systemctl set-default multi-user
 ===== Raspberry Pi Heartbeat ===== ===== Raspberry Pi Heartbeat =====
 <code file=config.txt> <code file=config.txt>
scraps.txt ยท Last modified: 2021/12/16 01:37 by john
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0