Skip to content

Instantly share code, notes, and snippets.

Geoff Myers geoffmyers

Block or report user

Report or block geoffmyers

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@geoffmyers
geoffmyers / default-apps.duti
Last active Apr 10, 2019
Default Handlers for Extensions and Protocols
View default-apps.duti
# **************************************************
# Default Handlers for Extensions and Protocols
# Last Updated by Geoff Myers on June 28, 2018
# **************************************************
# **************************************************
# Extensions - Default Handlers
# **************************************************
# Apple Archive Utility
@geoffmyers
geoffmyers / cloudflare-ddns.sh
Last active Oct 8, 2017
Cloudflare Dynamic DNS Simple Update Script
View cloudflare-ddns.sh
#!/usr/local/bin/zsh
IP_ADDRESS=$(curl ipecho.net/plain ; echo)
curl -X PUT "https://api.cloudflare.com/client/v4/zones/{zone_identifier}/dns_records/{identifier}" \
-H "X-Auth-Email: {cloudflare_email_address}" \
-H "X-Auth-Key: {cloudflare_api_key}" \
-H "Content-Type: application/json" \
--data "{\"type\":\"A\",\"name\":\"{domain_name}\",\"content\":\"$IP_ADDRESS\"}"
You can’t perform that action at this time.