Skip to content

Instantly share code, notes, and snippets.

@joemiller
joemiller / he-dns-update.sh
Last active May 4, 2024 22:15
script for updating dynamic DNS records on he.net (hurricane electric)
#!/bin/bash
#
# Script for updating DNS records on Hurricane Electirc's DNS system (https://dns.he.net).
#
# The record will be updated with the IP address that originates the request.
#
# Usage
# -----
#
# Create config file `/etc/he-dns-update.conf`:
@Dianoga
Dianoga / nest.devicetype.groovy
Last active September 16, 2018 02:09
Nest Device Type for SmartThings
/**
* Nest Direct
*
* Author: dianoga7@3dgo.net
* Date: 2013-07-18
* Code: https://gist.github.com/Dianoga/6055918
*
* INSTALLATION
* =========================================
* 1) Create a new device type (https://graph.api.smartthings.com/ide/devices)