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
#!/bin/bash | |
# | |
# Inspects branch name and checks if it contains a Jira ticket number (i.e. ABC-123). | |
# If yes, commit message will be automatically prepended with [ABC-123]. | |
# | |
# Useful for looking through git history and relating a commit or group of commits | |
# back to a user story. | |
# |
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 | |
"""Converts a directory full of .eml files to a single Unix "mbox" file. | |
Accepts as input either an individual .eml file or a directory containing one | |
or more .eml files. | |
The output mbox will be created if it doesn't already exist. If it exists, | |
it will be appended to. There is no checking for duplicates, so use caution. | |
If duplicate filtering is desired, it could be added to add_file_to_mbox(). |