Skip to content

Instantly share code, notes, and snippets.

@codemobiles
Last active December 24, 2018 08:55
Show Gist options
  • Save codemobiles/6ebf80023ca7af70fe08ffc623ce734d to your computer and use it in GitHub Desktop.
Save codemobiles/6ebf80023ca7af70fe08ffc623ce734d to your computer and use it in GitHub Desktop.
docker run -p 3000:3000 -v [..]:/usr/src/app/upload [0012e2430b33]
docker run --rm -p 3000:3000 -v /Training/ReactNative/Reative_Dist/yourworkshops/YourAuthenDemo/docker_demo/upload:/usr/src/app/upload 0012e2430b33
docker pull chaiyasitt/rn_upload:dev
#Xamarin
find /Training/ -iname "bin" | xargs rm -rf
find /Training/ -iname "obj" | xargs rm -rf
find /Training/ -iname "packages" | xargs rm -rf
#Xamarin in Project folder
find ~/Projects -iname "bin" | xargs rm -rf
find ~/Projects -iname "obj" | xargs rm -rf
find ~/Projects -iname "packages" | xargs rm -rf
#XCode
rm -rf ~/Library/Developer/Xcode/DerivedData/*
rm -rf ~/Library/Developer/Xcode/Archives/*
rm -rf ~/Library/Developer/CoreSimulator/*
rm -rf ~/Library/Caches/com.apple.dt.Xcode/*
rm -rf ~/Library/Application Support/MobileSync/Backup/*
#Android
find /Training/ANDP01 -iname "build" | xargs rm -rf
find /Training/ANDP01 -iname ".gradle" | xargs rm -rf
find /Training/Advanced_Android -iname "build" | xargs rm -rf
find /Training/Advanced_Android -iname ".gradle" | xargs rm -rf
#IOT
find /Training/iOT -iname "build" | xargs rm -rf
#Zip Courses
zip -r Advanced_Android.zip Advanced_Android/ -x "*.__MACOSX"
zip -r ANDP01.zip ANDP01/ -x "*.__MACOSX"
zip -r IODP01.zip IODP01/ -x "*.__MACOSX"
zip -r Advanced_iOS.zip Advanced_iOS/ -x "*.__MACOSX"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment