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
"""Analyze a log of a text communication, looking for distinct discussions.""" | |
from collections import Counter, deque | |
import re | |
import string | |
import sys | |
LINE_RE = re.compile(r"^(?P<timestamp>[\d:]+)\s" | |
r"<\W?(?P<nick>[\w|^`[\]]+)>\s" | |
r"(?P<message>.*)$") |
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
[alias] | |
prunelocal = !sh -c 'git branch --merged | grep -v "^*" | xargs git branch -d' | |
pruneorigin = prune-remote origin | |
################## | |
# Helper aliases # | |
################## | |
# prune-remote <remote name> |