Skip to content

Instantly share code, notes, and snippets.

@itsdogtime
itsdogtime / insert_srt.py
Last active September 18, 2019 04:18
misc ffmpeg things
# -*- coding: utf-8 -*-
#!/usr/bin/python3
import subprocess
import glob
import re
import os
_OUT_FOLDER = "processed/"
@itsdogtime
itsdogtime / imapfilter.py
Last active May 2, 2018 03:49
Simple script to manage emails since thunderbird filters kind of suck.
#!/usr/env/python
import imaplib
import sys
import email
import logging
import logging.handlers
import traceback
from time import sleep
@itsdogtime
itsdogtime / demo.py
Last active August 6, 2022 20:15
automatically record and archive CPMA demos
import subprocess
import os
import re
import glob
import shutil
import datetime
user = ""
base_dir = ""
cpm_dir = base_dir + ""