start new:
tmux
start new with session name:
tmux new -s myname
# basic .muttrc for use with Gmail | |
# Change the following six lines to match your Gmail account details | |
set imap_user = "[email protected]" | |
set imap_pass = "" | |
set smtp_url = "smtp://[email protected]:587/" | |
set smtp_pass = "" | |
set from = "[email protected]" | |
set realname = "Firstname Lastname" | |
# |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
# from https://libbits.wordpress.com/2011/04/09/get-total-rsync-progress-using-python/ | |
import subprocess | |
import re | |
import sys | |
print('Dry run:') | |
cmd = 'rsync -az --stats --dry-run ' + sys.argv[1] + ' ' + sys.argv[2] | |
proc = subprocess.Popen(cmd, | |
shell=True, |
"""Contours with overlap control. | |
This script generates widely spaced black contours, with a gray patch in a | |
subregion where more finely-spaced colored contours are visible. The gray | |
patch covers the black contours. | |
""" | |
import numpy as np | |
import matplotlib.mlab as mlab | |
from matplotlib.patches import Rectangle |
set imap_user = '[email protected]' | |
set imap_pass = 'pass' | |
set spoolfile = imaps://imap.gmail.com:993/INBOX | |
set folder = imaps://imap.gmail.com:993 | |
set record="imaps://imap.gmail.com/[Gmail]/Sent Mail" | |
set postponed=”imaps://imap.gmail.com/[Gmail]/Drafts” | |
set message_cachedir=”~/.mutt/cache/bodies” | |
set certificate_file=~/.mutt/certificates | |
set smtp_url = "smtp://[email protected]:587/" |