Kill Port

lsof -ti :3001 2>/dev/null | xargs kill -9 2>/dev/null; sleep 1; lsof -ti :3001 2>/dev/null || echo "Port 3001 is free"

Read more

git cleanup

git verify-pack -v .git/objects/pack/ * .idx | sort -k3 -n | tail -5 git filter-repo \ --path-glob '*.zip' \ --path-glob '…

Read more