This file contains hidden or 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
package com.example | |
import akka.actor.ActorSystem | |
import akka.http.scaladsl.Http | |
import akka.http.scaladsl.server.Directives._ | |
import akka.http.scaladsl.server.Route | |
import akka.http.scaladsl.server.RouteResult.route2HandlerFlow | |
import com.typesafe.config.ConfigFactory |
This file contains hidden or 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
package scala.pickling | |
import scala.pickling.internal._ | |
import scala.language.implicitConversions | |
package object edn extends EdnFormats { | |
} | |
package edn { | |
import scala.reflect.runtime.universe._ |
This file contains hidden or 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
∙ ./gradlew -Dairpal.prestoVersion=0.96 clean shadowJar -Dairpal.useLocalNode 21:16 marco@mymachine | |
:cleanAssets UP-TO-DATE | |
:clean | |
:nodeSetup SKIPPED | |
:installAssets | |
:buildAssets | |
[21:18:03] Using gulpfile ~/playground/airpal/src/main/resources/assets/gulpfile.js | |
[21:18:03] Starting 'browserify'... | |
[21:18:03] Bundling app.js... | |
[21:18:03] Bundling plugin.js... |
This file contains hidden or 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
package com.example | |
import akka.actor.ActorSystem | |
import akka.http.Http | |
import akka.http.marshalling.ToResponseMarshallable.apply | |
import akka.http.server.Directive.addByNameNullaryApply | |
import akka.http.server.Directive.addDirectiveApply | |
import akka.http.server.Directives.IntNumber | |
import akka.http.server.Directives.complete | |
import akka.http.server.Directives.get |
This file contains hidden or 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
fn get_n(array: &[i64; 4], position: u64) -> i64 { | |
array[position]; | |
} |
This file contains hidden or 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
import com.tinkerpop.gremlin.hadoop.structure.HadoopGraph | |
import com.tinkerpop.gremlin.scala._ | |
import scala.util.Random | |
import com.tinkerpop.gremlin.process.T | |
object HadoopSimpleExample extends App { | |
val graph: HadoopGraph = HadoopGraph.open() | |
val gs = GremlinScala(graph) | |
(1 to 5) foreach { i => |
NewerOlder