I hereby claim:
- I am passsy on github.
- I am passsy (https://keybase.io/passsy) on keybase.
- I have a public key whose fingerprint is F324 9507 7196 3722 893D F1F6 7172 7F0D 5DDC 5507
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
adb shell setprop log.tag.Volley VERBOSE |
/** | |
* elevatorsaga level 10 - single queue | |
* http://play.elevatorsaga.com/#challenge=10 | |
**/ | |
{ | |
init: function(elevators, floors) { | |
_.each(elevators, function(elevator) { | |
elevator.goToFloor(0); | |
}); |
{ | |
init: function(elevators, floors) { | |
_.each(elevators, function(elevator) { | |
elevator.goToFloor(0); | |
}); | |
var upQueue = []; | |
var downQueue = []; | |
live(british, red). | |
pet(swedish, dog). | |
drink(danish, tea). | |
nextto(green, white). | |
house(A, N) :- live(A, green), live(B, white), house(B, M), M < N. | |
left(green, white). | |
right(white, greem). | |
live(X, green) :- drink(X, coffee). | |
smoke(Z, pallmall) :- pet(Z, bird). | |
live(X, yellow) :- smoke(X, dunhill). |
@Override | |
public Loader<Cursor> onCreateLoader(final int id, final Bundle bundle) { | |
// Initialize the CurosorLoader | |
final int code = id - this.hashCode(); | |
switch (code) { | |
case ID1: | |
String selection = null; | |
return new CursorLoader(getActivity(), CONTENT_URI, null, | |
selection, null, null); |
// Optional: configure the versioner (before applying the script) | |
/* ext.gitVersioner = [ | |
defaultBranch : "develop", // default "master" | |
yearFactor : 1200, // default "1000", increasing every 8.57h | |
snapshotEnabled : false, // default false, the "-SNAPSHOT" postfix | |
localChangesCountEnabled: false // default false, the (<commitCount>) before -SNAPSHOT | |
] */ | |
apply from: 'https://raw.githubusercontent.com/passsy/gradle-GitVersioner/master/git-versioner.gradle' | |
android { |
private class ViewModel { | |
private var changing = PublishSubject.create<Unit>() | |
fun observe(): Observable<ViewModel> { | |
return Observable.just(this).mergeWith(changing.map { this }) | |
} | |
var results: List<SearchResult> by onChangeNotifySubject(emptyList(), changing, | |
{ p, o, newValue -> if (newValue.isEmpty()) selectedResult = null }) |
The fabric gradle plugin io.fabric.tools:gradle:1.21.7
generates the crashlytics xml containing the project ID over and over again even when the file exists.
The regeneration of the generated resource forces the generateDevDebugResValues
task to perform again.
It can't skip with the state UP-TO-DATE
.
The plugin should check if the file with the correct content already exists before it gets changed.
Even worse when the firebase com.google.gms.google-services
is included as dependency. It also checks for changed resources and starts all over again.
dependencies { | |
compile "ThirtyInch:thirtyinch" | |
compile "ThirtyInch:thirtyinch-rx" | |
compile "ThirtyInch:thirtyinch-plugin" | |
testCompile "ThirtyInch:thirtyinch-test" | |
} |