Skip to content

Instantly share code, notes, and snippets.

View jeremy-w's full-sized avatar

Jeremy W. Sherman jeremy-w

View GitHub Profile
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active November 17, 2026 15:42
Conventional Commits Cheatsheet
@acolyer
acolyer / service-checklist.md
Last active November 17, 2026 12:40
Internet Scale Services Checklist

Internet Scale Services Checklist

A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."

Basic tenets

  • Does the design expect failures to happen regularly and handle them gracefully?
  • Have we kept things as simple as possible?
@staltz
staltz / introrx.md
Last active November 17, 2026 12:40
The introduction to Reactive Programming you've been missing
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active November 17, 2026 12:39
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@jboner
jboner / latency.txt
Last active November 17, 2026 00:53
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers (~2012 except when noted)
----------------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD
@zhengjia
zhengjia / capybara cheat sheet
Created June 7, 2010 01:35
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')
@camtheman256
camtheman256 / fish_jj_prompt.fish
Last active November 16, 2026 22:34 — forked from hroi/fish_jj_prompt.fish
Jujutsu (jj) prompt for fish-shell with some modifications to use the label function to add colouring
# Place me in ~/.config/fish/functions
# Then add me to `fish_vcs_prompt`: `funced fish_vcs_prompt` and save it to
# your personal config: `funcsave fish_vcs_prompt;`
function fish_jj_prompt --description 'Write out the jj prompt'
# Is jj installed?
if not command -sq jj
return 1
end
@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active November 16, 2026 22:08
Hyperlinks in Terminal Emulators
@prologic
prologic / LearnGoIn5mins.md
Last active November 16, 2026 01:00
Learn Go in ~5mins
@willurd
willurd / web-servers.md
Last active November 15, 2026 14:45
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000