Skip to content

Instantly share code, notes, and snippets.

@shellexy
shellexy / cf-ddns.sh
Created January 23, 2018 15:09 — forked from fffonion/cf-ddns.sh
Dynamic DNS script using Cloudflare API v4
#!/bin/bash
# can be A or AAAA
do_record=AAAA
# the interface to get ipv6 address
iface=eth0
# the static suffix we should add to
v6_suf=53
mail="me@email.com"
@shellexy
shellexy / 0_reuse_code.js
Last active August 29, 2015 14:10
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@shellexy
shellexy / gist:2850745
Created June 1, 2012 09:33 — forked from zythum/gist:2848881
google收录的敏感词