Skip to content

Instantly share code, notes, and snippets.

Gertjan Assies gertjana

Block or report user

Report or block gertjana

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
View keybase.md

Keybase proof

I hereby claim:

  • I am gertjana on github.
  • I am gertjan (https://keybase.io/gertjan) on keybase.
  • I have a public key ASA_yv5Ti4bFxCl8FQWowE-x2Q0MIpFnU2azMTvcu1MWwQo

To claim this, I am signing this object:

@gertjana
gertjana / ActorStream
Created Dec 15, 2014
Akka Stream based on an Actor
View ActorStream
package com.thenewmotion.streams
import akka.stream.actor.ActorPublisher
import akka.stream.scaladsl._
import akka.actor.{Props, ActorSystem}
import akka.stream.FlowMaterializer
import scala.language.postfixOps
case class Tick()
@gertjana
gertjana / mapreduce_akka.scala
Created Aug 3, 2011
MapReduce example using Akka Actors
View mapreduce_akka.scala
package net.addictivesoftware.scala.akkaactors
import akka.actor.{Actor, PoisonPill}
import Actor._
import akka.routing.{Routing, CyclicIterator}
import Routing._
import collection.mutable.{HashMap, Map}
import java.util.concurrent.CountDownLatch
@gertjana
gertjana / gist:1014284
Created Jun 8, 2011
Getting a list Of Authors for a User through liftweb's REST interface
View gist:1014284
Given the Following Mapper Data Model:
Author <- 1) -> Book <- 2) -> User
1) An Author can have more books while books can be written by multiple authors (N-N)
2) A user can own multiple books, while a book can have multiple owners (N-N)
note: When successfully authenticating in a user his API key is returned which is used in all other requests
You can’t perform that action at this time.