Skip to content

Instantly share code, notes, and snippets.

@tntwist
tntwist / docker-compose.yml
Last active August 13, 2022 23:19
pi-hole and cloudflared(dns over https) with ipv6
# Requirements
#1. Enable IPv6 for the docker daemon:
#$ cat /etc/docker/daemon.json
#{
# "ipv6": true,
# "fixed-cidr-v6": "2001:db8:1::/64"
#}
#2. reload docker :
#$ sudo systemctl reload docker
#3. start:
@geerlingguy
geerlingguy / pi-cpu-stress.sh
Last active July 15, 2024 21:33
Raspberry Pi CPU temperature and throttling test script
#!/bin/bash
# Raspberry Pi stress CPU temperature measurement script.
#
# Download this script (e.g. with wget) and give it execute permissions (chmod +x).
# Then run it with ./pi-cpu-stress.sh
#
# NOTE: In recent years, I've switched to using s-tui. See:
# https://github.com/amanusk/s-tui?tab=readme-ov-file#options
# Variables.