This file contains 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 | |
GOOGLE_SOURCE_URL="https://android.googlesource.com" | |
REPO="platform/prebuilts/maven_repo/android" | |
BRANCH="+/master" | |
PACKAGE="com/android/support/appcompat-v7" | |
XPATH="/metadata/versioning/versions/version/text()" | |
GetGoogleSourceFile () { | |
curl -s --compressed -G -d "format=text" --url "$4/$3/$2/$1" | base64 -d |
This file contains 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
# do not forget to run 'sudo udevadm control --reload-rules' after editing this file | |
ACTION!="add", GOTO="android_usb_rules_end" | |
SUBSYSTEM!="usb", GOTO="android_usb_rules_end" | |
ENV{DEVTYPE}!="usb_device", GOTO="android_usb_rules_end" | |
ENV{ID_SERIAL_SHORT}=="", GOTO="android_empty_serial" | |
ENV{ID_SERIAL_SHORT}=="0000:*", GOTO="android_empty_serial" | |
ENV{ID_SERIAL_SHORT}=="0123456789ABCDEF", GOTO="android_empty_serial" |
This file contains 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/sh | |
PORT=/dev/${1:-cuau0} | |
BAUD=${2:-9600} | |
# WTI RPS-10 Commands | |
ALL_DEVICES="*" | |
TOGGLE="T" | |
GET_STATE="?" | |
SWITCH_ON="1" |
OlderNewer