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
33,34d32 | |
< ./drawable/abc_btn_checkbox_checked_mtrl.xml | |
< ./drawable/abc_btn_checkbox_unchecked_mtrl.xml | |
38,39d35 | |
< ./drawable/abc_btn_radio_off_mtrl.xml | |
< ./drawable/abc_btn_radio_on_mtrl.xml | |
45,54d40 | |
< ./drawable/abc_ic_ab_back_material.xml | |
< ./drawable/abc_ic_clear_material.xml | |
< ./drawable/abc_ic_go_search_api_material.xml |
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
digraph hierarchy { | |
size="5,5" | |
node[shape=record,style=filled,fillcolor=gray95] | |
edge[dir=back, arrowtail=empty] | |
BrowserActivity[label = "{BrowserActivity|...|...}"] | |
Controller[label = "{Controller|...|...}"] | |
BaseUi[label = "{BaseUi|UiController mUiController\lTabControl mTabControl\lViews...|...}"] |
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
repeat | |
try | |
do shell script "ping -c 5 google.com" | |
on error | |
do shell script "networksetup -setairportpower en0 off" | |
do shell script "networksetup -setairportpower en0 on" | |
display notification "reconnecting" | |
delay 40 | |
try | |
do shell script "ping -c 5 google.com" |
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
mkdir work_for_gif | |
ffmpeg -i $1 -an -r 15 -s `ffmpeg -i $1 2>&1 | perl -lane 'print $1 if /(\d{2,}x\d+)/'` work_for_gif/%04d.png | |
convert work_for_gif/*.png output.gif | |
rm -rf work_for_gif |
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
package com.foo.RecyclerViewMatcher; | |
import android.content.res.Resources; | |
import android.support.v7.widget.RecyclerView; | |
import android.view.View; | |
import org.hamcrest.Description; | |
import org.hamcrest.Matcher; | |
import org.hamcrest.TypeSafeMatcher; |
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
- classpath ‘com.android.tools.build:gradle:3.0.1’ | |
+ classpath ‘com.android.tools.build:gradle:3.1.0’ |
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
-!.idea/codeStyleSettings.xml | |
+!.idea/codeStyles/* |
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
<component name=”ProjectCodeStyleConfiguration”> | |
<state> | |
<option name=”USE_PER_PROJECT_SETTINGS” value=”true” /> | |
</state> | |
</component> |
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
<component name=”ProjectCodeStyleConfiguration”> | |
<code_scheme name=”Project” version=”173"> | |
<option name=”USE_SAME_INDENTS” value=”true” /> |
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
import android.databinding.ObservableField | |
class NonNullObservableField<T : Any>(value: T) : ObservableField<T>(value) { | |
override fun get(): T { | |
return super.get() as T | |
} | |
} |