Instead of the verbose setOnClickListener
:
RxView.clicks(submitButton).subscribe(o -> log("submit button clicked!"));
Observable
.just(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
🚿 ̄\ | |
😓 | | |
/|\💧 | | |
| 💧/ \ | | |
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ |
<details><summary>Collapsed section</summary><p> | |
``` | |
``` | |
</p></details> |
#!/bin/bash | |
/usr/bin/expect -c ' | |
set timeout -1; | |
spawn '"${ANDROID_HOME}"'/tools/bin/sdkmanager --licenses; | |
expect { | |
"y/N" { exp_send "y\r" ; exp_continue } | |
eof | |
} | |
' |
#!/bin/sh | |
exec git branch -r | cut -d' ' -f3 | xargs git show --pretty='%Cgreen%ai %Creset%h %an %d' -s | sed '/^$/d' | sort | uniq |
# Begin build properties | |
# EOL UNIX | |
# 0.0 644 /system/build.prop | |
# | |
# Note: Some changes are Device and OS/ROM independent! | |
# Note2: Some settings are between | |
# performance and security <- I prefer last one | |
# | |
ro.build.id= ----- | |
ro.build.display.id= ----- |
#!/usr/bin/env sh | |
USER_NAME="Veaceslav Gaidarji" | |
USER_EMAIL="[email protected]" | |
echo "Using config: \n user.name=$USER_NAME, \n user.email=$USER_EMAIL\n" | |
for dir in */; | |
do | |
cd $dir |
pre.highlight, | |
.highlight pre { background-color: #272822; } | |
.highlight .hll { background-color: #22282A } | |
.highlight .c { color: #99AA8A } /* Comment */ | |
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */ | |
.highlight .k { color: #93C763 } /* Keyword */ | |
.highlight .l { color: #ae81ff } /* Literal */ | |
.highlight .n { color: #F1F2F3 } /* Name */ | |
.highlight .o { color: #E8E2B7 } /* Operator */ | |
.highlight .p { color: #F1F2F3 } /* Punctuation */ |
[merge] | |
tool = studio | |
[mergetool "studio"] | |
prompt = false | |
cmd = /Applications/Android\\ Studio.app/Contents/MacOS/studio merge $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE") $(cd $(dirname "$BASE") && pwd)/$(basename "$BASE") $(cd $(dirname "$MERGED") && pwd)/$(basename "$MERGED") | |
trustExitCode = true | |
[diff] | |
tool = studio | |
[difftool "studio"] | |
prompt = false |
/** | |
* Checkstyle tasks | |
* Usage: | |
* - place this file under root dir of your project at /gradle directory | |
* - apply script from your gradle file: | |
* apply from : "{rootDir}/gradle/checkstyle.gradle" | |
* | |
* To configure checkstyle use configs at: | |
* "{rootDir}/config/checkstyle/checkstyle.xml" - for main projects | |
* "{rootDir}/config/checkstyle/checkstyle-test.xml" - for tests |