Skip to content

Instantly share code, notes, and snippets.

Avatar

Piyush Kakadiya gitspilo

View GitHub Profile
View konwladge link
View mac-pc-environment-setup
This document is for the Appasna team members only. Please do not share it with anyone else outside the appasna. Document includes the internal tools we use at appasna and helps onboard new developers in the team.
MAC OS Xcode download
https://stackoverflow.com/questions/10335747/how-to-download-xcode-dmg-or-xip-file
Install iterm2
Download and install from here: https://www.iterm2.com/
Install homebrew
https://brew.sh/
View mac-environment-settings
**************bash_profile******************
export NVM_DIR="$HOME/.nvm"
. "/usr/local/opt/nvm/nvm.sh"
# Source a git completion script
if [ -f $HOME/.git-completion.sh ]; then
. $HOME/.git-completion.sh
else
View important-links
@gitspilo
gitspilo / basics-command
Last active May 2, 2021
Terminal command
View basics-command
Vim
vim ~/.bash_profile (file view, edit, save)
cat file path (for file view)
pwd (for path print)
Git
git co (brance name) check out branch
git co -b (new brance name) create new branch
git status
git diff
View RN-ios build genrat
1.... react-native bundle --dev false --entry-file index.ios.js --platform ios --bundle-output ios/main.jsbundle
2.... react-native bundle --dev false --assets-dest ./ios --entry-file index.ios.js --platform ios --bundle-output ios/main.jsbundle
View RN-android build genrat
react-native bundle --assets-dest ./android/app/src/main/res/ --entry-file ./index.android.js --bundle-output ./android/app/src/main/assets/index.android.bundle --platform android --dev false
View meteor_build_app
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt-get update
sudo apt-get install ubuntu-make
umake android
# download android sdk
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz
View generate apk
make a mobail config file in project
meteor add-platform android
export ANDROID_HOME="/home/piyush/Android/Sdk"
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
meteor build ~/Home/AndroidAPP --server=192.168.0.111:3000
keytool -list -keystore /Users/***/Documents/keystore/***.jks
keytool -exportcert -alias YOUR_RELEASE_KEY_ALIAS -keystore /Users/***/Documents/keystore/***.jks | openssl sha1 -binary | openssl base64