Skip to content

Instantly share code, notes, and snippets.

View dmd's full-sized avatar

Daniel M. Drucker, Ph.D. dmd

View GitHub Profile
#!/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.
font-family = Monaco Nerd Font Mono
font-size = 15
adjust-cell-height = 1
adjust-cell-width = -1
macos-titlebar-style = tabs
shell-integration-features = ssh-env,ssh-terminfo,sudo, no-cursor
background = #242424
minimum-contrast = 3
---
name: micvna-orthanc
description: Use when querying micvna (Orthanc DICOM server) for medical imaging data, looking up studies by MRN, accession numbers, or study dates. Essential for DICOM data workflows.
---
# micvna (Orthanc) DICOM Server Skill
## When to Use This Skill
Use this skill when:
type: custom:mushroom-template-card
entity: switch.bedroom_autohumidity
tap_action:
action: toggle
icon: mdi:toggle-switch
primary: "{{ iif(is_state(entity,'on'), 'Humidifier is On', 'Humidifier is Off') }}"
secondary: >
{{ iif(states('sensor.awair_element_121282_humidity') in
['unknown','unavailable'],
'—',
#import "@preview/fontawesome:0.6.0": *
// TODO(PT): Move to Fontawesome 7
// for now, specify Fontawesome 6
#fa-version("6")
// const color
#let color-darknight = rgb("#131A28")
#let color-darkgray = rgb("#333333")
#let color-gray = rgb("#5d5d5d")
#import "modern-cv-dmd.typ": *
#show: resume.with(
author: (
firstname: "Daniel M.",
lastname: "Drucker",
title: "Ph.D.",
email: "dmd@3e.org",
homepage: "3e.org",
phone: "(+1) 215-840-0323",