Skip to content

Instantly share code, notes, and snippets.

View buka's full-sized avatar

Garrick Evans buka

  • San Francisco, CA
View GitHub Profile
@buka
buka / AkkaWebSocketSampleService.scala
Created February 18, 2011 07:37
example to illustrate different ways of using websockets...
package sample
import akka.actor._
import akka.http._
class SampleService extends Actor with Endpoint
{
self.dispatcher = Endpoint.Dispatcher;
@buka
buka / fboauthakka.scala
Created December 30, 2010 05:28
Connecting Facebook OAuth with Akka REST...
/**
* Garrick Evans
* 29 Dec 2010
*/
import akka.http._
import akka.actor._
import net.smartam.leeloo.client._
import net.smartam.leeloo.client.request.OAuthClientRequest
import net.smartam.leeloo.client.response. {OAuthAuthzResponse, GitHubTokenResponse}