Skip to content

Instantly share code, notes, and snippets.

View dmd's full-sized avatar

Daniel M. Drucker, Ph.D. dmd

View GitHub Profile
# 2026-01-17 D
S: yesterday was a very great day of my life because I found the permit!
Well, the cats found the permit.
S building the Temple of the Permits. An earthquake from another goddess
destroys the entrance. S rebuilds it - the Second Temple! S: The bells are
ringing from the tallest towers! The second temple is OPEN!
S: The worshipper is flying! Could it be another goddess?
abbr e 'emacs -nw'
abbr gist 'gist -c'
abbr gc 'git commit'
abbr gr 'git checkout --'
abbr gs 'git status'
abbr --query s ; or abbr s 'sudo fish' # don't override cluster snippet
abbr sci 'ssh-copy-id'
abbr ta 'tmux attach'
abbr uq 'ug -% -jQU'
alias j 'z'
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://example.org/iiif/67331533/manifest",
"@type": "sc:Manifest",
"label": "Image 67331533",
"sequences": [
{
"@id": "https://example.org/iiif/67331533/sequence/normal",
"@type": "sc:Sequence",
"label": "Normal",
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://example.org/iiif/67331533/manifest",
"@type": "sc:Manifest",
"label": "Image 67331533",
"sequences": [
{
"@id": "https://example.org/iiif/67331533/sequence/normal",
"@type": "sc:Sequence",
"label": "Normal",
#!/usr/bin/env -S uv run --script
# /// script
# dependencies = ["requests"]
# ///
"""
Booked Scheduler API client library.
Common functions for interacting with the Booked Scheduler API at scandium.mclean.harvard.edu.
Usage:
#!/usr/bin/env python3
import argparse
import html
import json
import os
import re
import sys
import textwrap
import readline
from bisect import bisect_left, bisect_right
#!/usr/bin/env python3
import argparse
import json
import re
from pathlib import Path
import xml.etree.ElementTree as ET
from datetime import datetime
DOCBOOK_NS = "http://docbook.org/ns/docbook"
NS = {"db": DOCBOOK_NS}
#!/bin/bash
# 1. pulls the Tech schedule ICS from Booked
# 2. adds it to the scandiumexport git repo
# 3. push that repo to plesk which publishes it to https://www.mcleanmri.org/scandiumexport/techs.ics
# --- Configuration ---
TARGET_DIR="/home/scandium/scandiumexport"
FILENAME="techs.ics"
[root@gluten ~]# cat /etc/sssd/sssd.conf
[sssd]
config_file_version = 2
services = nss, pam
domains = cluster
[nss]
filter_users = root
filter_groups = root
putrid poems 2024
theme: dragons
The Grootslang from old Richtersveld
a number of posh dinners held.
The guests, as a group
were consigned to the soup.
“Not what we’d hoped for!”, they yelled.