This file contains 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
git rev-list --all | ( | |
while read revision; do | |
git grep -I -F $1 $revision | |
done | |
) |
This file contains 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
import imaplib | |
import optparse | |
def delete_mail(email, password, label, search): | |
mail = imaplib.IMAP4_SSL('imap.gmail.com') | |
mail.login(email, password) | |
mail.select(label) | |
typ, data = mail.search(None, search) | |
for num in data[0].split(): |