Skip to content

Instantly share code, notes, and snippets.

quelleck /
Last active June 2, 2023 21:21 — forked from AGWA/
Enable and disable the HDMI port on the Raspberry Pi: `rpi-hdmi on` to turn on, `rpi-hdmi off` to turn off.
# Enable and disable HDMI output on the Raspberry Pi
is_off ()
vcgencmd display_power | grep "display_power=0" >/dev/null
case $1 in
DomPizzie /
Last active September 22, 2023 15:06
A simple template
fomightez / remove blank lines
Last active September 8, 2023 13:52
remove all blank lines using regular expressions