This file contains hidden or 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
#!/usr/bin/env python3 | |
""" | |
TiddlyWiki 5 saver in the form of a Python 3 http.server. | |
Start script in directory with TiddlyWiki's, go to http://localhost:8181, | |
select the TiddlyWiki you want, and this server should handle saving via | |
TiddlyWiki 5 PUT save method. | |
Based on: https://gist.github.com/jimfoltz/ee791c1bdd30ce137bc23cce826096da | |
- why not just use the Ruby one? some environments don't have Ruby, some |
This file contains hidden or 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
#!/usr/bin/env python | |
import argparse | |
from email import message_from_string | |
import smtplib | |
import sys | |
def justsend(): | |
parser = argparse.ArgumentParser(description="Just send and email message to a SMTP server.") # noqa |
This file contains hidden or 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 __future__ import print_function | |
from ofxparse import OfxParser | |
import os | |
import re | |
import sys | |
if len(sys.argv) != 1: | |
print ('This utility does not take command-line arguments') | |
exit() |