- Move all emails older than 7 days to Archive/All Mail
in:inbox older_than:7d -is:starred
- Move all emails you are cc'ed on older than 3 days to Archive/All Mail
cc:me older_than:3d -is:starred
in:inbox older_than:7d -is:starred
cc:me older_than:3d -is:starred
| import cv2 | |
| import numpy as np | |
| import argparse | |
| from pathlib import Path | |
| import sys | |
| parser = argparse.ArgumentParser(description="Remove dust from an image with IR information in the alpha channel") | |
| parser.add_argument('image', |
| ### Basic ### | |
| # The directory to store the downloaded file. | |
| dir=${HOME}/Downloads | |
| # Downloads the URIs listed in FILE. | |
| input-file=${HOME}/.aria2/aria2.session | |
| # Save error/unfinished downloads to FILE on exit. | |
| save-session=${HOME}/.aria2/aria2.session | |
| # Save error/unfinished downloads to a file specified by --save-session option every SEC seconds. If 0 is given, file will be saved only when aria2 exits. Default: 0 | |
| save-session-interval=60 | |
| # Set the maximum number of parallel downloads for every queue item. See also the --split option. Default: 5 |
| #! /usr/bin/env python | |
| # from http://stackoverflow.com/questions/11524586/accessing-logcat-from-android-via-python | |
| import Queue | |
| import subprocess | |
| import threading | |
| import datetime | |
| class AsynchronousFileReader(threading.Thread): | |
| ''' |