This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simple script used to send an HTML file as an HTML formatted email, | |
# using any SMTP service. Used for testing HTML emails. | |
# The core message-sending code is taken from the docs: | |
# http://docs.python.org/2/library/email-examples.html | |
# The code for correctly authenticating against Gmail comes from: | |
# http://kutuma.blogspot.co.uk/2007/08/sending-emails-via-gmail-with-python.html | |
import smtplib | |
import argparse | |
from getpass import getpass | |
from email.mime.multipart import MIMEMultipart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from IPython import embed; embed() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DIR=$(dirname $(readlink -f "$0")) | |
java -cp $(echo $DIR/lib/*.jar | tr ' ' ':'):config schemacrawler.Main "$@" |