import swaydb._
import swaydb.serializers.Default._
val sortedKeyIndex =
  SortedKeyIndex.Enable(
    prefixCompression = PrefixCompression.Disable(normaliseIndexForBinarySearch = true),
    enablePositionIndex = true,
    ioStrategy = IOStrategy.concurrentStored,
 compressions = _ => Seq.emptyval map = persistent.Map[Int, String, Nothing, Bag.Less](dir = "target/myMap").getimport swaydb._ //swaydb's APIs
import swaydb.serializers.Default._ //default serialisers
val map = memory.Map[Int, String, Nothing, Bag.Less]().get //create a memory map
  
    
      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
    
  
  
    
  | @JSGlobal | |
| @js.native | |
| object Highcharts extends js.Object { | |
| def chart(id: String, data: js.Object): js.Any = scalajs.js.native | |
| } | |
| //See - https://www.highcharts.com/docs/getting-started/your-first-chart | |
| Highcharts.chart( | |
| id = "chart", | |
| data = | 
  
    
      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
    
  
  
    
  | //See - https://gist.github.com/milessabin/89c9b47a91017973a35f && https://github.com/softwaremill/scala-common | |
| object Tagged { | |
| sealed trait Tagged[+T] extends Any { | |
| type Tagged <: T | |
| } | |
| type @@[+V, +T] = V with Tagged[T] | |
| } | |
| sealed trait MaybeTag | 
  
    
      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 scalanative.native._ | |
| import SDL._ | |
| import SDLExtra._ | |
| @extern | |
| @link("SDL2") | |
| object SDL { | |
| type Window = CStruct0 | |
| type Renderer = CStruct0 | 
  
    
      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 scala.language.experimental.macros | |
| import scala.reflect.macros.blackbox.Context | |
| object JsonToClassNameMapper { | |
| def generatePatternMatcher[A](): (String, String) => Option[A] = macro generatePatternMatcherImpl[A] | |
| def generatePatternMatcherImpl[A: c.WeakTypeTag](c: Context)(): c.Tree = { | |
| import c.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
    
  
  
    
  | package main | |
| import akka.actor._ | |
| import akka.event.{EventBus, SubchannelClassification} | |
| import akka.util.Subclassification | |
| object SCEventBus extends EventBus with SubchannelClassification { | |
| type Event = (String, Any, ActorRef) | |
| type Classifier = String | |
| type Subscriber = ActorRef | 
  
    
      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 app.actors | |
| import akka.actor.{Actor, ActorLogging} | |
| import argonaut._, Argonaut._ | |
| import infrastructure.GCM | |
| import launch.RTConfig | |
| import spray.client.pipelining._ | |
| import spray.http._ | |
| import spray.httpx.marshalling.Marshaller | 
NewerOlder