Skip to content

Instantly share code, notes, and snippets.

import logging
import os
import requests
logging.basicConfig(level=logging.DEBUG)
class DownloadSession(requests.Session):
buffer_size = 1024 * 1024
def __init__(self, user, password):
super(DownloadSession, self).__init__()
#!/usr/bin/env bash
if [ $# -lt 2 ] ; then
echo "usage: $0 in.mov out.ogg"
exit 1
fi
IN=$1
OUT=$2

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: