Skip to content

Instantly share code, notes, and snippets.

@Zekfad
Zekfad / conventional-commits.md
Last active July 27, 2024 03:45
Conventional Commits Cheatsheet

Quick examples

  • feat: new feature
  • fix(scope): bug in scope
  • feat!: breaking change / feat(scope)!: rework API
  • chore(deps): update dependencies

Commit types

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • chore: Changes which doesn't change source code or tests e.g. changes to the build process, auxiliary tools, libraries
@eenblam
eenblam / linux_reading_list.md
Last active July 25, 2024 15:16
Linux Networking Reading List

Linux Networking Reading List

Currently in no particular order. Most of these are kind of ancient.

Where's all the modern documentation? So much of what I've turned up searching is other folks complaining about having few options beyond reading source code.

The OREILLY books, while dated, seem to be some of the best available. Note that these can be read with a 7-day trial. Do this! At least get through the introduction section and first chapter of each to see if it's what you're after.

https://www.netfilter.org/

@stevedoyle
stevedoyle / git_cheatsheet.md
Last active November 21, 2022 11:05
git cheatsheet

Git Cheatsheet

Fetching and Pulling

Task Command
Fetch for later merging git fetch [remote name]
Pull and merge git pull [remote name]
Pull and rebase local changes on top (instead of merging) git pull --rebase [remote name]
Clone only a subset of files git init repo
cd repo
git remote add origin url
git config core.sparsecheckout true
echo "path/*" >> .git/info/sparse-checkout
git pull --depth=1 origin master
@stevedoyle
stevedoyle / tmux-cheatsheet.markdown
Last active October 4, 2023 10:13 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@squarism
squarism / iterm2.md
Last active July 28, 2024 13:44
An iTerm2 Cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
@tuxfight3r
tuxfight3r / 01.bash_shortcuts_v2.md
Last active July 28, 2024 08:25
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line
@obstschale
obstschale / octave.md
Last active June 8, 2024 19:46
An Octave introduction cheat sheet.
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active July 28, 2024 21:36
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@jboner
jboner / latency.txt
Last active July 29, 2024 02:23
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
@stevedoyle
stevedoyle / Vimrc
Last active September 27, 2015 22:08
vimrc
" indendentation specific to file types
:filetype plugin indent on
filetype plugin on
" spaces instead of tabs
"set expandtab
" show line numbers
"set number