Free Palestine 🇵🇸Stand for humanity! Together, we can put an end to the Gaza genocide. Let’s unite under hashtag #SAVEGAZA and ensure that every life in this region has access to the most basic necessities.

Cheat Sheet

A shortcut of terminal commands that I use frequently

Misc

Stopping and Removing All Containers

docker ps -aq | xargs docker stop | xargs docker rm

Kill Port 3000 🤷🏻

Because sometimes it's just not working

sudo kill -9 $(sudo lsof -t -i:3000)

Cleaning Up node_modules in Specific Directory

When you have lots of npm projects in a directory, you can use this to clean up all the node_modules

 npx npkill -d <directory>
 npx npkill -d .

Supabase

Fetch changes from Production to Local

supabase db diff --linked --file sync

Flutter

Run Build Runner with Delete Conflicts

dart run build_runner build --delete-conflicting-outputs