Skip to content

Instantly share code, notes, and snippets.

@edguy3
edguy3 / dyndnsGoDaddy.sh
Created August 15, 2021 02:54
Update goDaddy record with current IP using API (like dynamic DNS)
#!/bin/bash
# This script is used to check and update your GoDaddy DNS server to the IP address of your current internet connection.
# Special thanks to mfox for his ps script
# https://github.com/markafox/GoDaddy_Powershell_DDNS
# and r0b0t at
# https://www.godaddy.com/community/Managing-Domains/Dynamic-DNS-Updates/td-p/7862/page/2
#
# First go to GoDaddy developer site to create a developer account and get your key and secret
#
@edguy3
edguy3 / signalwire_sms_webhook.php
Last active February 24, 2019 19:23
Respond to Signal wire incoming SMS webhook. PHP example.
<?php
// use composer to ‘require signalwire/signalwire’
require_once 'vendor/autoload.php';
// record input PLEASE CLEAN INPUT BEFORE HANDLING
syslog(LOG_WARNING, print_r($_POST, true));
syslog(LOG_WARNING, "MessageSid: ".$_POST["MessageSid"]);