(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
```json | |
data:image/png;base64,/9j/4Rj5RXhpZgAASUkqAAgAAAAPAA4BAgAgAAAAwgAAAA8BAgAgAAAA4gAAABABAgAgAAAAAgEA | |
ABIBAwABAAAAAQAAABoBBQABAAAAIgEAABsBBQABAAAAKgEAACgBAwABAAAAAgAAADEBAgAgAAAA | |
MgEAADIBAgAUAAAAUgEAABMCAwABAAAAAgAAACACBAABAAAAAAAAACECBAABAAAAAAAAACICBAAB | |
AAAAAAAAACMCBAABAAAAAAAAAGmHBAABAAAAZgEAAMQCAAAgICAgICAgICAgICAgICAgICAgICAg | |
ICAgICAgICAgAFhpYW9taSAgICAgICAgICAgICAgICAgICAgICAgICAASE0gTk9URSAgICAgICAg | |
ICAgICAgICAgICAgICAgIABIAAAAAQAAAEgAAAABAAAATGVnYWN5Q2FtZXJhAAAAAAAAAAAAAAAA | |
AAAAAAAAAAAyMDE3OjA5OjMwIDEzOjM5OjQ0ABYAmoIFAAEAAAB0AgAAnYIFAAEAAAB8AgAAIogD | |
AAEAAAAAAAAAJ4gDAAEAAACvAAAAAJAHAAQAAAAwMjIwA5ACABQAAACEAgAABJACABQAAACYAgAA | |
AZEHAAQAAAABAgMABJIKAAEAAACsAgAAB5IDAAEAAAABAAAACJIDAAEAAAD/AAAACZIDAAEAAAAA |
{ | |
"count": 15, | |
"messages": [ | |
{"body": "hello", | |
"username": "john-t", | |
"Name": "John", | |
"image-url": "http://haptikdev.s3.amazonaws.com/content/06138bc5af6023646ede0e1f7c1eac75d64dd2f45a516f8746413832a94f75f3.jpeg", | |
"message-time": "2016-01-01T05:30:34" | |
}, | |
{"body": "Hi", |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
import android.database.Cursor; | |
import android.support.annotation.NonNull; | |
import com.raizlabs.android.dbflow.runtime.DBTransactionInfo; | |
import com.raizlabs.android.dbflow.runtime.TransactionManager; | |
import com.raizlabs.android.dbflow.runtime.transaction.BaseTransaction; | |
import com.raizlabs.android.dbflow.runtime.transaction.QueryTransaction; | |
import com.raizlabs.android.dbflow.runtime.transaction.TransactionListener; | |
import com.raizlabs.android.dbflow.sql.builder.ConditionQueryBuilder; | |
import com.raizlabs.android.dbflow.sql.language.Delete; |
-target 1.6 | |
-dontusemixedcaseclassnames | |
-dontskipnonpubliclibraryclasses | |
-dontpreverify | |
-verbose | |
-optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/* | |
-optimizationpasses 5 | |
-keep public class * extends android.app.Activity | |
-keep public class * extends android.app.Application |
import java.util.Scanner; | |
public class waterjug { | |
Scanner scan=new Scanner(System.in); | |
int maxA,maxB,desA,desB,a,b; | |
public static void main(String args[]) | |
{ | |
System.out.println("*** Water Jug ***\n\n"); |