Skip to content

Instantly share code, notes, and snippets.

Avatar

Kailai Shao iskl

  • Shanghai / Hangzhou, China
View GitHub Profile
@andelf
andelf / update3322.sh
Created Jun 24, 2013
update 3322.org ddns
View update3322.sh
#!/bin/bash
USERNAME="YOUR_USERNAME"
PASSWORD="YOUR_PASSWORD"
IP=$(curl -s http://ip.3322.net)
HOSTNAME="YOURDOMAIN.3322.org"
DATE=$(date)