Page cover

Code

Python

Virtual Environment

Create the environment
python -m venv env_name
Activate it
source env_name/bin/activate
Install requirements
pip install -r requirements.txt
Check Library Version
pip show <library_name>
GO
Install Individual packages
go get github.com/ffuf/ffuf
Update Dependencies
go get -u github/fatih/color@latest
Create mod folder
go mod init <projectfolder>
Add Dependencies
go mod ini
Compile Code
go build
Run code
go run <code>
Clean Unused dependencies
go mod tidy
List all dependencies
go list -m all
Dart
Run the code
dart run
Clean Cache
dart pub cache clean
Download Dependencies
dart pub get
Check for Outdated packages
dart pub outdated
Update Dependencies
dart pub upgrade
Look for issues
dart analyze
List packages
dart pub global list
Flutter
Build APK
flutter build apk
Build Web
flutter build web
Run the app in the web-server
flutter run -d web-server
Check for issues
flutter doctor
Clean Cache
flutter clean
Get Dependencies
flutter pub get
Upgrade SDK
flutter upgrade
Check for Outdated packages
flutter pub outdated
Show logs
flutter logs
Generate Flutter icons
flutter pub run flutter_launcher_icons:main
Cmake

Setup the project

mkdir build && cd build
Configure the project in the parent directory
cmake ..
Builds the project
make

Last updated