Skip to content

Instantly share code, notes, and snippets.

View dmd's full-sized avatar

Daniel M. Drucker, Ph.D. dmd

View GitHub Profile
[TOC]
# 1
## Small Blue Thing / Suzanne Vega
Today I am a small blue thing
Like a marble or an eye
(setq-default inhibit-startup-screen t)
(setq inhibit-splash-screen t)
(setq inhibit-startup-message t)
(setq initial-scratch-message "")
(setq initial-major-mode 'fundamental-mode)
(menu-bar-mode 0)
(require 'package)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/"))
(setq-default inhibit-startup-screen t)
(setq inhibit-splash-screen t)
(setq inhibit-startup-message t)
(setq initial-scratch-message "")
(setq initial-major-mode 'fundamental-mode)
(menu-bar-mode 0)
(require 'package)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/"))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Daniel D. ;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(define mertwig
(lambda (mine his)
(define first-n
(lambda (ilist n)
(cond [(or (null? ilist) (zero? n)) '()]
[else (cons (first ilist) (first-n (rest ilist) (sub1 n)))] )))
#!/cm/shared/anaconda3/bin/python3
# coding: utf-8
import pandas as pd
import matplotlib.pyplot as plt
from glob import glob
import os
os.chdir('/home/ddrucker/usage-reports')
files = sorted(glob('data.2021*'))[-5:]
capyland 2015-01-07/01 04 Small Blue Thing.mp3
capyland 2015-01-07/04 Language.mp3
capyland 2015-01-07/06 06 Dimming Of The Day.m4a
capyland 2015-01-07/02 Gypsy.mp3
capyland 2015-01-07/07 11 Love Song.m4a
capyland 2015-01-07/03 Night Vision.mp3
capyland 2015-01-07/05 13 Trees Still Bend.mp3
capyland 2017-09-20/3 Rosemary.m4a
capyland 2017-09-20/5 Gypsy.mp3
capyland 2017-09-20/4 Northwest Passage (shortened).m4a
Generating detailed summary of the adapter, it may take a while to complete.
CLI Version = 007.1020.0000.0000 July 1, 2019
Operating system = Linux 3.10.0-693.el7.x86_64
Controller = 0
Status = Success
Description = None
Basics :
#!/usr/bin/python3
import re
import datetime
def title(s,d):
if datetime.datetime.strptime(d,'%Y%m%d') < datetime.datetime(2003, 1, 1, 0, 0):
return 'do_not_file','do_not_file'
ret = re.sub('[^0-9a-zA-Z]+', ' ', s)
This was announced last night at the university, during her retirement party.
Portrait photograph of Robert Spayde Kennedy and unidentified men in Building 50.
Portrait photograph of the exterior of the facility, and Fortier is one of a space probe.
Black and white photograph of Milton S. Livingston, left, with his siblings in front of an American flag on the bench.
Contact sheet with 14 images from a distance.
Some of Despradelle's interesting projects a hung picuture is visible on the lawn at Alumni Day, 1952.
Contact sheet of 29 photographs of Andr Marchal, seated right, with James R. Killian, Howard Wesley Johnson head a team of nearly 300 M.I.T. engineers and technicians in the wheel-like scientific satellite.
Black and white portrait of Burdette H. Buckingham.
Photograph of a lecture as part of the fireplace and the textile industries.
Black and white photo of a version that has been cut from the rear of the presentation to Killian.
#!/bin/bash
# Update the temperature database
# I don't use netcat because I'm a real man and don't
# rely on external tools, especially not ones that take
# a WHOLE SECOND to time out before they return.
rrdtool update /var/log/imt/temperature.rrd N:$(
exec 3<>/dev/tcp/localhost/imtuc