###Generate certificate fingerprints for Google API key
In home directory, run
keytool -list -v -keystore ~/.android/debug.keystore
Default password is android
Remember to add both release & debug keystore fingerprint to the developer console.
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
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="1dp" | |
android:layout_height="fill_parent" | |
android:orientation="vertical"> | |
<View | |
android:layout_width="fill_parent" | |
android:layout_height="0dp" | |
android:layout_weight="1" | |
android:background="@android:color/white"/> | |
<View |
Here's a correct table of percentages to hex values. E.g. for 50% white you'd use #80FFFFFF. 100% — FF 95% — F2 90% — E6 85% — D9 80% — CC 75% — BF 70% — B3 65% — A6 60% — 99 55% — 8C
##Branch Management
show all branches git branch -v
git branch -a
delete branch git branch -d
clone a single branch git clone -b mybranch --single-branch git://sub.domain.com/repo.git
##Discard Changes / Commits
Discard all local changes and commitsgit reset --hard origin/master
##Manage commit histories Remove all commit hstories for file contains sensitive data:
Grabs a screenshot from the Android device and stores directly on OS X
adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > screen.png