This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| server="raspberrypi" | |
| devicePort=5555 | |
| # Function to display the menu | |
| display_menu() { | |
| clear | |
| echo "===== Connect to ADB device =====" | |
| for ((i=0; i<${#options[@]}; i++)); do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| initscript { | |
| repositories { | |
| jcenter() | |
| } | |
| dependencies { | |
| classpath "com.instamotor:mirakle:1.3.2" | |
| } | |
| } | |
| apply plugin: Mirakle |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## android general build aliases | |
| alias installDebug='adb install -r app/outputs/apk/<your_build_variant_dir>' | |
| alias runDebug='adb shell am start -n <application_id>/<launch_activity>' | |
| alias build='./gradlew assmeble<YourVariant> && installDebug && runDebug' | |
| alias cleanBuild='./gradlew clean assmeble<YourVariant> && installDebug && runDebug' | |
| ## Mainframer aliases | |
| alias mf='./mainframer.sh' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| src |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .idea/* | |
| *.iml | |
| *.DS_Store | |
| local.properties | |
| .git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| remote_machine=mainframer | |
| local_compression_level=1 | |
| remote_compression_level=5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Host * | |
| UseKeychain yes | |
| AddKeysToAgent yes | |
| IdentityFile ~/.ssh/id_rsa | |
| Host mainframer | |
| User <username_on_remote_machine> | |
| HostName <remote_machiche_location> | |
| Port 22 | |
| IdentityFile ~/.ssh/id_rsa.pub |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export ANDOROID_HOME=/usr/lib/android-sdk | |
| export ANDROID_SDK_ROOT=/usr/lib/android-sdk |
NewerOlder