Skip to content

Instantly share code, notes, and snippets.

View keikun555's full-sized avatar
๐Ÿ“š
CS Ph.D. Student at Cornell University

Kei Imada keikun555

๐Ÿ“š
CS Ph.D. Student at Cornell University
View GitHub Profile
@tjbcg
tjbcg / build_sioyek.sh
Last active February 19, 2026 14:21
An almost self-contained bash script that builds sioyek from scratch on macOS
#!/usr/bin/env bash
export QT_VERSION=6.9.2
set -e
COLOR='\033[1;32m'
NC='\033[0m' # No Color
log() {
@eyecatchup
eyecatchup / git-commit-log-stats.md
Last active January 17, 2026 04:27
Some commands to get git commit log statistics for a repository on the command line.

git commit stats

Commands to get commit statistics for a Git repository from the command line -
using git log, git shortlog and friends.




@jboner
jboner / latency.txt
Last active February 20, 2026 22:54
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers (~2012)
----------------------------------
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
@danielestevez
danielestevez / gist:2044589
Last active November 6, 2025 20:14
GIT Commit to an existing Tag
1) Create a branch with the tag
git branch {tagname}-branch {tagname}
git checkout {tagname}-branch
2) Include the fix manually if it's just a change ....
git add .
git ci -m "Fix included"
or cherry-pick the commit, whatever is easier
git cherry-pick {num_commit}