Skip to content

Instantly share code, notes, and snippets.

View johnhawkinson's full-sized avatar

John Hawkinson johnhawkinson

  • MIT
  • Cambridge, MA
View GitHub Profile
@brettp
brettp / thread-index.py
Last active July 3, 2024 10:56
Python implementation for Outlook's thread-index headers for message threading
import struct
import time
import sys
import base64
import hashlib
import datetime
def parse_thread_index(index: 'str') -> ("tuple (str, array [datetime.datetime, ...])"):
import binascii