Skip to content

Instantly share code, notes, and snippets.

Rob McGinley mcginleyr1

Block or report user

Report or block mcginleyr1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
git rev-list --all | (
while read revision; do
git grep -I -F $1 $revision
mcginleyr1 /
Last active Dec 15, 2015
Delete all contents of a Gmail Folder. Good for cleaning up overloaded folders.
import imaplib
import optparse
def delete_mail(email, password, label, search):
mail = imaplib.IMAP4_SSL('')
mail.login(email, password)
typ, data =, search)
for num in data[0].split():
You can’t perform that action at this time.