Skip to content

Instantly share code, notes, and snippets.

View mylesagray's full-sized avatar
🏗️
Stacking turtles

Myles Gray mylesagray

🏗️
Stacking turtles
View GitHub Profile
@paulicarmody
paulicarmody / cf_ddns.sh
Created March 27, 2013 09:04
CloudFlare DynamicDNS Updater, ideal for a Raspberry Pi running behind a dynamically assigned IP address. Simply change the following details within the script to match your own domain, CloudFlare username and API key then add the bash script to a cron job to update at a time of your choosing.
wget -qO- https://www.cloudflare.com/api.html?a=DIUP\&hosts=yourdomain.org\&u=cloudflare_userid\&tkn=cloudflare_apikey\&ip=`wget -qO- http://ip.skafari.com`
@robbyrussell
robbyrussell / ohmyzsh-dropbox-sync.sh
Created February 8, 2012 15:20
Keep your @ohmyzsh ~/.zshrc in sync via dropbox
# Was asked how I keep my zshrc config sync'd between my computers with Dropbox
# Add a new directory in your Dropbox (or use an existing one)
mkdir -p ~/Dropbox/ohmyzsh
# move existing file to Dropbox
mv ~/.zshrc ~/Dropbox/ohmyzsh/zshrc
# symlink file back to your local directory
ln -s ~/Dropbox/ohmyzsh/zshrc ~/.zshrc