Skip to content

Instantly share code, notes, and snippets.

Avatar

[foo] bar foobarhl

View GitHub Profile
View gist:c58b045666f45fc2983dcae328017bac
# with appologies to Adam Patrick Devlin / Edward Daniel Chester / Eric Idle / Graham Chapman / John Cleese / Mark James Morriss / Michael Palin / Neil Innes / Scott Edward Morriss / Terry Gilliam and Sony
Brave [redacted] ran away.
Bravely ran away away.
When danger reared it's ugly head,
He bravely turned his tail and fled.
Yes, brave [redacted] turned about
And gallantly he chickened out.
Swiftly taking to his feet,
@foobarhl
foobarhl / cloudflare-ddns-update.sh
Last active Sep 17, 2021 — forked from Tras2/cloudflare-ddns-update.sh
A bash script to update a Cloudflare DNS A record with the external IP of the source machine
View cloudflare-ddns-update.sh
#!/bin/bash
# A bash script to update a Cloudflare DNS A record with the external IP of the source machine
# Used to provide DDNS service for my home
# Needs the DNS record pre-creating on Cloudflare
## Based on https://gist.github.com/Tras2/cba88201b17d765ec065ccbedfb16d9a with updates to use
## per-zone configurable access tokens available in the API sections of your Cloudflare profile
## - info@foo-games.com