Skip to content

Instantly share code, notes, and snippets.

View EronHennessey's full-sized avatar

Eron Hennessey EronHennessey

View GitHub Profile
@EronHennessey
EronHennessey / mobi.py
Last active August 29, 2015 14:09 — forked from kroger/mobi.py
# -*- coding: utf-8 -*-
"""
sphinx.builders.mobi
~~~~~~~~~~~~~~~~~~~~
Build mobi files.
Originally derived from epub.py.
:copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
@EronHennessey
EronHennessey / analyze_dir.py
Created January 26, 2016 08:22
An investigation of file system entries in python.
#!/usr/bin/env python
import sys, os, shutil
# Check to see what entities are in the file system and categorize them by
# type.
def analyze_path(path):
"""Get the file system entries in a path and categorize them."""
@EronHennessey
EronHennessey / amazon-ec2-ftp.md
Last active August 22, 2016 02:58 — forked from gunjanpatel/amazon-ec2-ftp.md
amazon ec2 LAMP and FTP installation and setup