The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
#!/usr/bin/python | |
# Use this script to update a DNS override using the webfaction API | |
# be sure to set your username, password, dns override, and ethenet interface. | |
# Then add a crontab entry for the script, I use every 5 minutes | |
# */5 * * * * /path/to/ddns.py | |
# This is safe as the script exit(0)'s if the ip is the same as wehat is recorded in the file. | |
# Webfaction documentation on DNS overrides | |
# http://docs.webfaction.com/user-guide/domains.html#overriding-dns-records-with-the-control-panel |
""" Generate lovely ideas for hack day talks """ | |
import random | |
import re | |
productions = { | |
'tech': [ | |
'HTML5', | |
'Audio', | |
'CoffeeScript', |