Skip to content

Instantly share code, notes, and snippets.

@JohannesFischer
Last active March 6, 2022 23:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohannesFischer/e1209bf1d4ab3f095e3a2d5077c9b77f to your computer and use it in GitHub Desktop.
Save JohannesFischer/e1209bf1d4ab3f095e3a2d5077c9b77f to your computer and use it in GitHub Desktop.
Today I learned

TIL - Things I learned that day

Inspect web pack bundle

$(npm bin)/webpack --json > stats.json
npx webpack-bundle-analyzer stats.json

Clear node module folders

npx npkill

Scaffold new projects with Vite

npm init @vitejs/app

Update Browserlist

npx browserslist@latest --update-db

Get CPU temperature on Mac

sudo powermetrics --samplers smc |grep -i "CPU die temperature"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment