Skip to content

Instantly share code, notes, and snippets.

View dmd's full-sized avatar

Daniel M. Drucker, Ph.D. dmd

View GitHub Profile
dn: CN=dd328,CN=Users,DC=partners,DC=org
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn: dd328
sn: Drucker
l: Belmont
st: MA
title: Manager, McLean Imaging Center Info. Systems
11:39:50 > Discovery profile: Default discovery profile
11:39:50 > Discovery class: data-link (data-link layer)
11:39:50 > Discovery on: 192.168.0.0/24
11:39:50 > Discovery round starting.
11:39:50 > Host is up: 192.168.0.175
HW Address: 4C:20:B8:F2:FD:93
11:39:50 > Host is up: 192.168.0.1
HW Address: D8:47:32:DA:ED:88
HISTSIZE=10000000
SAVEHIST=10000000
setopt BANG_HIST # Treat the '!' character specially during expansion.
setopt EXTENDED_HISTORY # Write the history file in the ":start:elapsed;command" format.
setopt INC_APPEND_HISTORY # Write to the history file immediately, not when the shell exits.
setopt SHARE_HISTORY # Share history between all sessions.
setopt HIST_EXPIRE_DUPS_FIRST # Expire duplicate entries first when trimming history.
setopt HIST_IGNORE_DUPS # Don't record an entry that was just recorded again.
setopt HIST_IGNORE_ALL_DUPS # Delete old recorded entry if new entry is a duplicate.
[[ $UID = 0 ]] && ZSH_DISABLE_COMPFIX=true
HISTFILE=$HOME/.zsh_history
for lib ($HOME/dotfiles/zsh/*.zsh)
source $lib
autoload -U compaudit compinit
compinit -i -C -D
# lower case can mean upper case, but not vice versa
“My mother died,” Basso said. “Had you heard?”
Antigonus shook his head. “I’m sorry,” he said.
“So am I,” Basso replied, “but mostly because I realised I hardly felt anything when they told me. I waited for it to sink in, it has, and I still haven’t really felt anything. That’s appalling, don’t you think?”
“You should consider yourself lucky,” Antigonus replied. “One of the worst things that happens to a man has just happened to you, and you’ve escaped the suffering.”
Basso nodded. “Mostly,” he said, “it’s a nuisance; an inconvenience. For instance, I’m trying to remember something that happened when I was a kid. I think, I’ll ask Mother, and then I realise I can’t; it’s annoying, frustrating, it itches where I can’t reach, but it’s not grief. Unless I lie to myself, the most I can come up with is, it’s a loss of information, like a library burning down. There’s a whole chunk of my life for which I’m the only source of historical data—well, strictly speaking there’s my sister as well, but in practical ter
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'
import requests
import curses
from fuzzywuzzy import fuzz
# Function to initialize the board with random questions
def initialize_board():
board = []
for i in range(6):
category_data = requests.get("http://jservice.io/api/random?count=5").json()
board.append(category_data)
import requests
import curses
from fuzzywuzzy import fuzz
# Function to initialize the board with random questions
def initialize_board():
board = []
for i in range(6):
category_data = requests.get("http://jservice.io/api/random?count=5").json()
board.append(category_data)
import requests
from fuzzywuzzy import fuzz
from fuzzywuzzy import process
# Function to get a random question from the Jeopardy API
def get_random_question():
response = requests.get("http://jservice.io/api/random")
question_data = response.json()[0]
return question_data
Region: us-east-1
Image:
Os: centos7
HeadNode:
InstanceType: t2.micro
Networking:
SubnetId: subnet-02dca6ec049632f7f
Ssh:
KeyName: 20220920ec2
LocalStorage: