Skip to content

Instantly share code, notes, and snippets.


Sagar Thorat sagar30121994

View GitHub Profile
jchernandez / touch_effect.xml
Last active May 19, 2022
Drawable for a touch hover effect pre lollipop and with ripple effect and an example usage
View touch_effect.xml
<selector xmlns:android=""
<item android:state_pressed="false">
<color android:color="@android:color/transparent"/>
<item android:state_pressed="true">
<!--<color name="touch_hover">#44565656</color> -->
<color android:color="@color/touch_hover" />
View Free O'Reilly

Free O'Reilly books and convenient script to just download them.

Thanks /u/FallenAege/ and /u/ShPavel/ from this Reddit post

How to use:

  1. Take the file and put it into a directory where you want the files to be saved.
  2. cd into the directory and make sure that it has executable permissions (chmod +x should do it)
  3. Run ./ and wee there it goes. Also if you do not want all the files, just simply comment the ones you do not want.