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
# Paths {{{ | |
set folder = ~/Mail # mailbox location | |
set alias_file = ~/.mutt/alias # where to store aliases | |
set header_cache = ~/.mutt/cache/headers # where to store headers | |
set message_cachedir = ~/.mutt/cache/bodies # where to store bodies | |
set certificate_file = ~/.mutt/cerficates # where to store certs | |
set mailcap_path = ~/.mutt/mailcap # entries for filetypes | |
set tmpdir = ~/.mutt/temp # where to keep temp files | |
set signature = ~/.mutt/sig # my signature file |
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
#!/usr/bin/env python | |
import copy, sys | |
from pyPdf import PdfFileWriter, PdfFileReader | |
input = PdfFileReader(sys.stdin) | |
output = PdfFileWriter() | |
for p in [input.getPage(i) for i in range(0,input.getNumPages())]: | |
q = copy.copy(p) | |
(w, h) = p.mediaBox.upperRight | |
p.mediaBox.upperRight = (w/2, h) | |
q.mediaBox.upperLeft = (w/2, h) |
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
javascript:document.querySelector(%22video%22).webkitSetPresentationMode(%22picture-in-picture%22); |