Skip to content

Instantly share code, notes, and snippets.

@elijahc
elijahc / homebrew-rvm.md
Created February 17, 2026 08:25 — forked from denji/homebrew-rvm.md
Homebrew + RVM > Awesome

The MBP is my development machine, so I needed all of my tools installed with the ability to update them with ease. In the past, I used MacPorts to take care of my MySQL, Memcached, and Ruby installions and it worked just fine. This time around however, I wanted something new and fun. Homebrew.

Homebrew is a new package manager for OS X. Unlike Fink or MacPorts, Homebrew integrates with the core operating system, reducing the number of extra libraries to install etc. Another neat feature is the ability to write software package recipes in Ruby, awesome.

Here are some raw installation instructions (clean system). I like to keep everything under user ownership to make life more enjoyable, say no to sudo.

You will need the latest version of xcode, you can get it here. After the installation is complete, you may continue.

sudo mkdir /usr/local

Full Session Transcript - 2026-01-27

Session ID: 013a5ea6-c503-4660-b5cc-27fddcd4aa71 Channel: webchat


User [19:27:19]

A new session was started via /new or /reset. Say hi briefly (1-2 sentences) and ask what the user wants to do next. If the runtime model differs from default_model in the system prompt, mention the default model in the greeting. Do not mention internal steps, files, tools, or reasoning.

Git commands

There's only a few git commands I use often enough that I have them memorized. I've used others, but I have to lookup their syntax and what they do.

clone

git clone [url]

Grabs a remote repo (usually a github repo url for me) and fetchs all the files to the local system

git clone https://github.com/elijahc/MyRepo

@elijahc
elijahc / Anesthesiology-core-review-BASIC-hsl.md
Last active August 19, 2024 01:28
Anesthesiology Core Review: Part One Basic Exam
<title>Anesthesiology-core-review-BASIC-hsl</title>
@elijahc
elijahc / keppra_case_study.ipynb
Last active March 15, 2023 20:30
Single compartment PK model
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@elijahc
elijahc / meds.py
Created March 15, 2023 00:32
Single compartment pk model for drug administration
from scipy.stats import truncnorm
from scipy.integrate import odeint
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
def gen_norm_dist(clip_a,clip_b,u=None):
if u is None:
u = (clip_a+(clip_b-clip_a)/2)
@elijahc
elijahc / VA_templates.txt
Created August 29, 2022 17:32
CPRS templates
PHYSICAL EXAMINATION:
General: NAD
HEENT: normocephalic, atraumatic, hard of hearing
Lungs: CTAB
Cardiovascular: RRR, no murmurs rubs or gallops
Abdomen: mild TTP diffusely on deep palpation
GU: no foley present
Extremities: no swelling, lesions, or peripheral edema
Neurological: AOx3
Skin: no rashes

Cirrhosis - ESLD

Cirrhosis - ESLD (Childs-Pugh ***, MELD ***, Transplant Status***)
? Childs-Pugh: (http://gihep.com/?page_id=43)
? MELD-Na: (http://gihep.com/?page_id=49)
? Cause: Alcoholic, Hepatitis C, NASH, Toxin, AIH, PBC, PSC
? Decompensated: Prior variceal bleed, SBP, medically refractory ascites

- Consult: Hepatology 
@elijahc
elijahc / readme.md
Last active December 23, 2020 02:23

Epilepsy in PRS and LSsc