a collection of my code snippets, handy commands, and quick tips i use or want to remember.

~~~~ ~~~~ ~~~~ ~~~~
eza alias
alias ls="eza --color=always --long --git --icons=always --no-time --no-user"
remove input focus
focus-visible:outline-none
generates 16 character random hash
openssl rand -hex 16
generates rsa key
ssh-keygen -t rsa
find the process
lsof -i tcp:3000
removes all files from git tracking
git rm -r --cached .
omit in union
// Source - https://stackoverflow.com/a/57103940
// Posted by jcalz, modified by community. See post 'Timeline' for change history
// Retrieved 2026-03-26, License - CC BY-SA 4.0

type DistributiveOmit<T, K extends keyof any> = T extends any
  ? Omit<T, K>
  : never;