Skip to content

Instantly share code, notes, and snippets.

@dnknth
dnknth / shell-colors
Created March 19, 2020 08:28
Terminal colors for bourne shell
# See https://superuser.com/a/270241
if [ -t 1 ] ; then
BLACK="\033[30m"
RED="\033[31m"
GREEN="\033[32m"
YELLOW="\033[33m"
BLUE="\033[34m"
MAGENTA="\033[35m"
CYAN="\033[36m"
WHITE="\033[37m"
@dnknth
dnknth / Makefile
Last active April 20, 2023 18:46
Prepare an SD card with Alpine Linux for a Raspberry Pi
# Prepare an SD card with Alpine Linux for a Raspberry Pi
# See: https://wiki.alpinelinux.org/wiki/Raspberry_Pi
# Editable configuration
DISTRO = alpine
# ARCH = armhf
ARCH = aarch64
MAJOR_VERSION = 3.9
MINOR_VERSION = 2