Skip to content

Instantly share code, notes, and snippets.

set-option -g default-terminal "screen-256color"
# set-option -g default-terminal "xterm-256color"
# History
set -g history-limit 10000
# Start windows at 1 rather than 0
set -g base-index 1
# bind-key -n M-/ copy-mode
@antiboredom
antiboredom / table.py
Created October 28, 2021 21:17
print a text file in columns
#!/usr/local/bin/python3
import sys
from rich.console import Console
from rich.table import Table
import argparse
def chunks(lst, n):
"""Yield successive n-sized chunks from lst."""
@antiboredom
antiboredom / monoskop_scrape.py
Created March 28, 2026 14:52
monoskop scrape
import requests
import time
import json
url = "https://monoskop.org/api.php"
session = requests.Session()
all_pages = []
params = {