Skip to content

Instantly share code, notes, and snippets.

blueprint:
domain: automation
name: Low battery detection & notification for all battery sensors
description: >-
Regularly test all sensors with 'battery' device-class for crossing
a certain battery level threshold and if so execute an action.
***Blueprint Revision:*** *7 / 2023-01-04*
source_url: https://gist.github.com/itn3rd77/2cc639b6b903844e03bf6b58f2959795
input:
@gordlea
gordlea / edgerouter_ipv6_telus.sh
Last active October 24, 2024 02:01
edgerouter ipv6 config for telus purefibre
# current as of edgeos v1.10.5
# cobbled together from:
# https://medium.com/@nurblieh/ipv6-on-the-edgerouter-lite-c95e3cc8d49d
# https://heald.ca/configuring-telus-optik-ipv6-ubiquiti-edgerouter/
configure
edit firewall ipv6-name WANv6_IN
set default-action drop
set rule 10 action accept
@0xjac
0xjac / private_fork.md
Last active January 22, 2026 15:07
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git