Skip to content

Instantly share code, notes, and snippets.

View MuhammedAlkhudiry's full-sized avatar

Muhammed Alkhudiry MuhammedAlkhudiry

  • Tamkeen Technologies
  • Saudi Arabia
View GitHub Profile
@oskarhertzman
oskarhertzman / package.json
Last active January 24, 2024 18:31
React Native scripts
"scripts": {
"start": "watchman watch-del-all && react-native start --reset-cache",
"react:link": "react-native link",
"android": "react-native run-android",
"android:shake": "adb shell input keyevent 82",
"android:clean": "cd android && ./gradlew clean && ./gradlew cleanBuildCache && cd .. ",
"android:build:store:aab": "cd android && ./gradlew bundleStoreRelease && cd ..",
"android:build:aab": "cd android && ./gradlew bundleRelease && cd ..",
"android:build:apk": "cd android && ./gradlew assembleStoreRelease && cd ..",
"android:release": "react-native run-android --variant storeRelease",
@minhcasi
minhcasi / Flutter Clean.md
Last active April 25, 2024 02:33
These are common issues on Flutter and solutions to fix

Quick Clean Cache

  1. Open android studio Tools->Flutter->Clean
  2. Go to File -> Invalidate Caches / Restart
  3. Or open terminal run "flutter clean"
  4. Remove pubspec.lock
  5. Double check the Flutter SDK Path config correcty - https://tppr.me/qn6dP

Or open the terminal and try this script:

flutter clean
@BenSampo
BenSampo / deploy.sh
Last active April 30, 2024 03:41
Laravel deploy script
# Change to the project directory
cd $FORGE_SITE_PATH
# Turn on maintenance mode
php artisan down || true
# Pull the latest changes from the git repository
# git reset --hard
# git clean -df
git pull origin $FORGE_SITE_BRANCH