Skip to content

Instantly share code, notes, and snippets.

@Blackshome
Blackshome / low-battery-notifications-and-actions.yaml
Last active November 30, 2025 16:13
low-battery-notifications-and-actions.yaml
blueprint:
name: Low Battery Notifications & Actions
description: >
# 🪫 Low Battery Notifications & Actions
**Version: 3.3**
🚀 Stay Charged, Stay Smart! Let's automate and take charge of your battery maintenance!🔋⚡
@smstec
smstec / iptables-pihold-bypass.sh
Created December 12, 2018 18:19
Bypass pihole for certain IP addresses.
#!/bin/bash
# -- Assumptions/Warnings:
# -- You're not using any kind of NAT or custom iptables rules already on the Pi (as these will be wiped)
# -- <PUT_IP_ADDRESS_HERE> is the device you wish to exclude
# -- 1.1.1.1 is the DNS server you wish excluded devices to use (this is the cloudflare server)
# -- stolen from https://www.reddit.com/r/pihole/comments/56y6lb/ignore_one_device_completely/d8niqzi
# Run as root/sudo it.
sysctl net.ipv4.ip_forward=1
@aaomidi
aaomidi / extensions.txt
Last active October 16, 2025 19:55
List of nearly all video file extensions
webm
mkv
flv
vob
ogv
ogg
rrc
gifv
mng
mov