Skip to content

Instantly share code, notes, and snippets.

View gitspilo's full-sized avatar

Piyush Kakadiya gitspilo

View GitHub Profile
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 zsh
https://ohmyz.sh/
**************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
@gitspilo
gitspilo / basics-command
Last active May 2, 2021 10:59
Terminal 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
@gitspilo
gitspilo / RN-ios build genrat
Created August 9, 2018 03:53
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
@gitspilo
gitspilo / RN-android build genrat
Created August 9, 2018 03:53
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
@gitspilo
gitspilo / meteor_build_app
Created August 9, 2018 03:52
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
@gitspilo
gitspilo / generate apk
Created August 9, 2018 03:51
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