This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Akka HTTP route example | |
* in response to https://groups.google.com/forum/#!topic/akka-user/TVqM6bguX0A | |
*/ | |
import akka.actor.ActorSystem | |
import akka.http.Http | |
import akka.http.model.StatusCodes | |
import akka.http.server._ | |
import akka.http.server.Directives._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -Dfeeds.trapit.environment=stage -Dfeeds.trapit.zone=us -Dfeeds.trapit.auth_id=zb_stage@trapit.com -Dfeeds.trapit.auth_secret=79CDgfalkij -Didea.launcher.port=7533 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA 12.app/bin" -Dfile.encoding=UTF-8 -classpath "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/deploy.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/dt.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/javaws.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/jconsole.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/management-agent.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/plugin.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/sa-jdi.jar:/System/Library/Java/JavaVirtualMachines/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2013 zeebox | |
*/ | |
package com.zeebox.context.feedsingest.sns | |
import concurrent.{Promise, ExecutionContext, Future} | |
import java.util.concurrent.{LinkedBlockingQueue, TimeUnit, ThreadPoolExecutor} | |
import com.amazonaws.services.sns.AmazonSNSAsyncClient | |
import com.amazonaws.auth.BasicAWSCredentials | |
import com.amazonaws.services.sns.model.{PublishResult, PublishRequest} |