Skip to content

Instantly share code, notes, and snippets.

View dmd's full-sized avatar

Daniel M. Drucker, Ph.D. dmd

View GitHub Profile
That afternoon, on our way back to Sally’s, the curse of the Himalaya grabbed me, and I made a mad dash for the nearest restroom. After I’d finished, I gave the toilet bowl a quick glance before I flushed it. By then I’d learned to always check my bowel movements for blood or mucus, the telltale signs of dysentery.
Oh My God! I thought, as I stared into the toilet bowl, I am going to die, and it won’t be from sweating to death or being riddled by bullets. What I saw in the toilet made my whole body feel weak. I flushed it and hurried outside.
At first I didn’t say anything to Larry, because I couldn’t bring myself to accept what I’d just seen. But the mental picture of it kept flashing in my head. If my days were limited, and that seemed to be the obvious though dreaded conclusion, I should tell him right away. I knew he probably wouldn’t believe me right off; but later, when it happened again, he’d see for himself, and then we would rush to the hospital. But from what I’d just seen in the toilet, it was a
set nocp
" Plugins
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $HOME/.vimrc
endif
call plug#begin('~/.vim/plugged')
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
- id: '1733333946855'
alias: turn ON clean laundry lamp
description: ''
triggers:
- trigger: state
entity_id:
- input_select.washing_machine_status
to: Clean
conditions: []
actions:
{
"adjustments": {},
"album_info": [
{
"creation_date": "2024-08-14T13:03:12.429844-04:00",
"end_date": "2024-08-24T10:59:55.039000-04:00",
"folder_list": [
"E447A791-505A-4E93-B0D9-D4809AABAD7C",
"0DB2CC33-2E66-4018-B810-9182D09B5EED"
],
labels:
People: 14764
Clothing: 8257
Outdoor: 6060
Plant: 4725
Child: 4310
Land: 4217
Furniture: 3955
Art: 2937
Sky: 2932
from machine import Pin, Timer
import network
import urequests
import time
TIMEOUT = 10000
morse_code = {
'.-': 'A', '-...': 'B', '-.-.': 'C', '-..': 'D', '.': 'E', '..-.': 'F',
'--.': 'G', '....': 'H', '..': 'I', '.---': 'J', '-.-': 'K', '.-..': 'L',
#!/Users/dmd/Library/CloudStorage/Dropbox-Personal/dashare/timelapse/classify/bin/python
import sys
import os
import anthropic
from anthropic import Anthropic
from base64 import b64encode
from PIL import Image, ExifTags
import io
import glob
import sys
import os
import anthropic
from anthropic import Anthropic
from base64 import b64encode
from PIL import Image, ExifTags
import io
def fix_orientation(image):
try:
#!/bin/bash
# Check if a file is provided
if [ $# -eq 0 ]; then
echo "Please provide an MKV file as an argument."
exit 1
fi
input_file="$1"