Skip to content

Instantly share code, notes, and snippets.

@james-ingold
james-ingold / update_route53_dns.py
Created July 29, 2021 21:45
Python script to bulk update DNS entries in Route53
#!/usr/bin/env python
"""
Bulk Update DNS on AWS Route53
"""
import argparse
import sys
import boto3
parser = argparse.ArgumentParser()
# -*- coding: utf-8 -*-
"""
Builds epub book out of James Clear's essays: http://jamesclear.com/articles
Copyright: Licensed under the GPL-3 (http://www.gnu.org/licenses/gpl-3.0.html)
Requires python-epub-library: http://code.google.com/p/python-epub-builder/
"""
import re, ez_epub, urllib2, genshi
from BeautifulSoup import BeautifulSoup
@james-ingold
james-ingold / pgessays.py
Last active October 12, 2016 17:02 — forked from olasitarska/pgessays.py
Builds epub book out of Paul Graham's essays.
# -*- coding: utf-8 -*-
"""
Builds epub book out of Paul Graham's essays: http://paulgraham.com/articles.html
Author: Ola Sitarska <ola@sitarska.com>
Copyright: Licensed under the GPL-3 (http://www.gnu.org/licenses/gpl-3.0.html)
This script requires python-epub-library: http://code.google.com/p/python-epub-builder/
"""
import re, ez_epub, urllib2, genshi
from BeautifulSoup import BeautifulSoup