Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| app="/path/to/app-debug.apk" | |
| TOOLDIR="/path/to/puma" | |
| RESULTSDIR="path/to/results" | |
| echo "** PROCESSING APP " $app | |
| package=`aapt d badging $app | grep package: | awk -F\' '{print $2}'` | |
| appLabel=`aapt d badging $app | grep application-label: | awk -F\' '{print $2}'` | |
| echo $package > $TOOLDIR/app.info | |
| echo $appLabel >> $TOOLDIR/app.info | |
| # Install all android components for CI (except system-images, add-ons, docs) | |
| android update sdk -u -t platform,tool,platform-tool,extra -a |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| #!/usr/bin/python | |
| import urllib2 | |
| import simplejson | |
| #import jdcal | |
| query='Charleston' | |
| #startDate=int(jdcal.gcal2jd(2014,1,1)[0]) | |
| #endDate=int(jdcal.gcal2jd(2014,12,31)[0]) |
| public class ImageFlipper{ | |
| private static final int START_ANGLE = 90; | |
| private static final int END_ANGLE = 270; | |
| private int animationDuration = 800; | |
| private ObjectAnimator flipObjectAnimator; | |
| public ImageFlipper(final View targetView, final int[] drawableResources){ | |
| ((ImageView)targetView).setImageResource(drawableResources[0]); | |
| flipObjectAnimator = ObjectAnimator.ofFloat(targetView, "rotationY", START_ANGLE, END_ANGLE); |
$ repo sync
$ cd frameworks/testing/
$ git remote add github https://github.com/shauvik/espresso.git
| on run {input, parameters} | |
| tell application "Finder" | |
| set dir_path to quoted form of (POSIX path of (folder of the front window as alias)) | |
| end tell | |
| CD_to(dir_path) | |
| end run | |
| on CD_to(theDir) | |
| tell application "iTerm" | |
| set _term to (make new terminal) |
| # Install Java | |
| apt-get install software-properties-common | |
| add-apt-repository ppa:webupd8team/java | |
| apt-get update | |
| apt-get install oracle-java8-installer |
Spoonware - Hotpatching