Skip to content

Instantly share code, notes, and snippets.

@ArminJo
ArminJo / 433MHzSenderPT2262.cpp
Created September 12, 2020 09:17
Arduino 433 MHz sender for PT2262/PT2272 sender/receiver chip combinations.
/*
* 433MHzSenderPT2262.cpp
*
* 433 MHz sender for PT2262/PT2272 sender/receiver chip combinations.
* https://cdn-shop.adafruit.com/datasheets/PT2262.pdf
*
* Copyright (C) 2020 Armin Joachimsmeyer
* armin.joachimsmeyer@gmail.com
*
* 433MHzSenderPT2262 is free software: you can redistribute it and/or modify
@corny
corny / dynv6.sh
Last active December 30, 2025 08:38
Update script for dynv6.com to set your IPv4 address and IPv6 prefix
#!/bin/sh -e
hostname=$1
device=$2
file=$HOME/.dynv6.addr6
[ -e $file ] && old=`cat $file`
if [ -z "$hostname" -o -z "$token" ]; then
echo "Usage: token=<your-authentication-token> [netmask=64] $0 your-name.dynv6.net [device]"
exit 1
fi