Skip to content

Instantly share code, notes, and snippets.

Michael Nitschinger daschl

Block or report user

Report or block daschl

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@daschl
daschl / gist:11252782
Last active Jun 2, 2016
Official Couchbase Java SDK Preview - Document Loading
View gist:11252782
// Load 3 Documents and process them one after another
// Java 8:
Observable
.from("doc1", "doc2", "doc3")
.flatMap(id -> bucket.get(id))
.subscribe(doc -> System.out.println(doc));
// Java 6 & 7
Observable
@darylteo
darylteo / javadoc.gradle
Last active Dec 1, 2016
Add external sources to javadoc.
View javadoc.gradle
apply plugin: 'java'
repositories {
mavenCentral()
}
dependencies {
compile group: 'net.spy', name:'spymemcached', version: '2.10.3'
}
You can’t perform that action at this time.