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
<link rel="import" href="../polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
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
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; |
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
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<polymer-element name="betslip"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; |
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
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<polymer-element name="betslip"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; |
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
<element name="rx-web-component"> | |
<style> | |
</style> | |
<template> | |
</template> | |
<script> | |
({ | |
sayHello: function() { |
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
tall | |
---> Running in 13e6e969f01a | |
*** Adding Cassandra deb source | |
*** Importing Cassandra deb keys | |
gpg: directory `/root/.gnupg' created | |
gpg: new configuration file `/root/.gnupg/gpg.conf' created | |
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run | |
gpg: keyring `/root/.gnupg/secring.gpg' created | |
gpg: keyring `/root/.gnupg/pubring.gpg' created | |
gpg: requesting key 0353B12C from hkp server keys.gnupg.net |
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
class CapabilitiesExtractor(val device: Device, val capabilitiesFilter: Option[List[String]]) { | |
def extract(): Map[String, Option[CapabilityValue]] = { | |
val capabilities = device.capabilities ++ device.virtualCapabilities | |
??? | |
} | |
} | |
object CapabilitiesExtractor { |
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
module Test.Main where | |
import Prelude | |
import Control.Monad.Eff (Eff) | |
import Control.Monad.Eff.Console (CONSOLE, logShow) | |
import Data.Maybe (Maybe(Just)) | |
import Data.Map as Map | |
import Data.Monoid.Additive (Additive(Additive)) | |
import Main (GCounter(..), increment, value) |
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
module Main where | |
import Data.Foldable (fold) | |
import Data.Map (Map) | |
import Data.Map as Map | |
import Data.Maybe (Maybe(Just, Nothing)) | |
import Data.Monoid (mempty, class Monoid) | |
import Prelude | |
data GCounter n = GCounter String (Map String n) |
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
import akka.{Done, NotUsed} | |
import akka.actor.ActorSystem | |
import akka.http.scaladsl.Http | |
import akka.http.scaladsl.common.EntityStreamingSupport | |
import akka.http.scaladsl.model.ws.TextMessage.{Streamed, Strict} | |
import akka.http.scaladsl.model.ws.{Message, TextMessage, WebSocketRequest} | |
import akka.stream.ActorMaterializer | |
import akka.stream.scaladsl.{Flow, Keep, Sink, Source} | |
import akka.util.ByteString | |
import io.circe.Json |
OlderNewer