Skip to content

Instantly share code, notes, and snippets.

quelleck /
Last active January 13, 2024 07:45 — 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
quelleck /
Last active April 14, 2017 03:04 — forked from MattWilcox/
Fetch, build, and install the latest nginx with the latest OpenSSL for RaspberryPi
#!/usr/bin/env bash
# names of latest versions of each package
export VERSION_PCRE=pcre-8.40
export VERSION_OPENSSL=openssl-1.1.0e
export VERSION_NGINX=nginx-1.12.0
# URLs to the source directories