Skip to content

Instantly share code, notes, and snippets.

View tittojose's full-sized avatar

Titto Jose tittojose

View GitHub Profile
@tittojose
tittojose / SetGitCredentials
Created July 17, 2017 07:32
Set git credentials
git config --global credential.helper wincred
adb shell setprop log.tag.MyTag VERBOSE
First:
git rm -r --cached .
git add .
Then:
git commit -am "Remove ignored files"
@tittojose
tittojose / Shortcuts for Android Studio
Created September 15, 2016 11:00
Shortcuts for Android Studio
1. Navigation jumps : alt + home
2. Search for action : ctrl + shift + O + A
3. Show Project View : alt + 1
4. Hide/Show all windows : alt + ctrl + f12
5. Jump to Last Tool Window : F12
6 Move to the last error : F2
7. Complete Current Statement - ⌘ + ⇧ + ENTER - Complete Current Statement
8. Surround With - ctrl + Alt + T
9. Check the parameters info - Ctrl + P
10 Extend selection - Ctrl + W
@tittojose
tittojose / gist:12fbb6d9da07a0010edb
Last active January 11, 2016 17:30
material font for api 42+
android:fontFamily="sans-serif" // roboto regular
android:fontFamily="sans-serif-light" // roboto light
android:fontFamily="sans-serif-condensed" // roboto condensed
android:fontFamily="sans-serif-thin" // roboto thin (android 4.2)
android:fontFamily="sans-serif-medium" // roboto medium (android 5.0)