Skip to content

Instantly share code, notes, and snippets.

View skadyrov's full-sized avatar
😇

Samat Kadyrov skadyrov

😇
View GitHub Profile
@skadyrov
skadyrov / gist:f9ee94b161cb62dd90f912b8fe89aa8b
Created February 26, 2020 16:14
Clears in app purchase states from Google Play
~/Library/Android/sdk/platform-tools/adb shell pm clear com.android.vending
@skadyrov
skadyrov / git_useful_commands.md
Last active April 13, 2021 16:28
Create a git tag

To create a tag:

git tag -a v1.4 -m "my version 1.4"

To push a tag:

git push --follow-tags
@skadyrov
skadyrov / create_environment_variable_mac.txt
Last active April 9, 2018 14:17
Set environment variable in Mac
1. Declare the environment variable in ~/.bash_profile:
export JAVA_HOME="/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home"
export ANDROID_HOME="/Users/samat/Library/Android/sdk"
export PATH=$PATH:$JAVA_HOME:$ANDROID_HOME
2. Either restart terminal or source the bash_profile:
source ~/.bash_profile