home

Snippets

Scripts

Kill all proccesses at port 3000

kill -9 $(lsof -ti:3000)

NPM / Yarn

Yarn 2 VSCode setup

yarn dlx @yarnpkg/sdks vscode

Spotify

Spotify tokens

curl -H "Authorization: Basic <base64 encoded client_id:client_secret>" -d grant_type=authorization_code -d code=<code> -d redirect_uri=http%3A%2F%2Flocalhost:3000 https://accounts.spotify.com/api/token

Not Playing

Spotify

© asobirov