Skip to content

Instantly share code, notes, and snippets.

View mr-c's full-sized avatar

Michael R. Crusoe mr-c

View GitHub Profile
@mr-c
mr-c / compare.py
Created September 24, 2014 00:50 — forked from ctb/compare.py
#!/usr/bin/env python
import sys
import screed
if len(sys.argv) != 4:
print >>sys.stderr, "USAGE: compare.py <mutations.txt> <orig.fasta> <corrected.fasta>"
sys.exit(1)
fp_out = open('fp.out', 'w')
@mr-c
mr-c / gitter-backup.sh
Last active July 28, 2021 10:18 — forked from dale3h/gitter-backup.sh
Perform local backups of Gitter.im chat rooms.
#!/bin/bash
#
# Perform local backups of Gitter.im chat rooms.
GITTER_ARCHIVE_URL="https://gitter.im/%s/archives/%s"
usage() {
echo "usage: $(basename $0) -f -r <chat-room> [-o <output-dir>] [-s <YYYY/MM/DD>] [-e <YYYY/MM/DD>]" 1>&2
exit 1
}