Skip to content

Instantly share code, notes, and snippets.

View chiedo's full-sized avatar

Chiedo John chiedo

  • GitHub
  • Harrisonburg, VA
View GitHub Profile
@chiedo
chiedo / copy-last-snapshot-to-other-region.py
Last active October 19, 2016 13:57
AWS EC2 EBS Backups
"""
Run this backup script daily with a cronjob. Will Store 4 backups of each at a time.
It could obviously be modified to support more backups. It is written in a quick and dirty fashion.
... It's a backup script that works. Who cares?
dependencies:
- EC2 API Tools
Be sure to set up environment variables for AWS_ACCESS_KEY and AWS_SECRET_KEY
"""
@chiedo
chiedo / trie.py
Last active February 3, 2021 19:32
Python Trie Implementation
#!/usr/bin/env python
"""Python trie implementation."""
__author__ = "Chiedo John"
__copyright__ = "Copyright 2015, Chiedo, Inc."
__license__ = "GPL"
__version__ = "1.0.0"
__maintainer__ = "Chiedo John"