Skip to content

Instantly share code, notes, and snippets.

View skylerwlewis's full-sized avatar

Skyler Lewis skylerwlewis

View GitHub Profile
@eculver
eculver / Auto-refresh bookmarklet
Created January 2, 2010 01:02
Auto-refresh bookmarklet
// origin: http://www.google.com/support/forum/p/Chrome/thread?tid=1a37ccbdde5902fd&hl=en
javascript:
timeout=prompt("Set timeout [s]");
current=location.href;
if(timeout>0)
setTimeout('reload()',1000*timeout);
else
location.replace(current);
function reload(){
@crmcmullen
crmcmullen / config.boot for CenturyLink Fiber + ER-X-SFP
Created January 15, 2017 01:49
Working default config.boot file for Ubiquiti EdgeRouter X SFP router running v1.9.0+ to replace the CenturyLink Fiber modem
@skylerwlewis
skylerwlewis / netlify-ddns.sh
Last active October 29, 2024 01:24
Netlify Dynamic DNS
#!/bin/bash
#
# This is a Bash script to update a Netlify subdomain A record with the current external IP.
#
# Repo: https://github.com/skylerwlewis/netlify-ddns
# Gist: https://gist.github.com/skylerwlewis/ba052db5fe26424255674931d43fc030
#
# Usage:
# netlify-ddns.sh <ACCESS_TOKEN> <DOMAIN> <SUBDOMAIN> <TTL> [<CACHED_IP_FILE>]
#