I hereby claim:
- I am shishkin on github.
- I am sshishkin (https://keybase.io/sshishkin) on keybase.
- I have a public key whose fingerprint is E619 D103 BAB7 F1CF 5CD5 B7BA B9C1 5954 C4E8 AF2A
To claim this, I am signing this object:
{ | |
"//": { | |
"metadata": { | |
"backend": "local", | |
"stackName": "test", | |
"version": "0.14.3" | |
}, | |
"outputs": { | |
"test": { | |
"test": "test" |
package samples | |
import org.junit.runner.RunWith | |
import org.scalatest.junit.JUnitRunner | |
import org.scalatest._ | |
import org.springframework.beans.factory.annotation.Autowired | |
import org.springframework.context.annotation._ | |
import org.springframework.stereotype.Service | |
import org.springframework.test.context.support.AnnotationConfigContextLoader | |
import org.springframework.test.context.{ActiveProfiles, ContextConfiguration, TestContextManager} |
;### Tested with clojure "1.6.0" and core.async "0.1.346.0-17112a-alpha" ### | |
(use 'clojure.core.async) | |
;### Lib functions ### | |
(defn take-until | |
"Creates a channel that replicates values from the in channel until the | |
control channel either emits a value or closes." | |
[control in] | |
(let [out (chan)] |
package kataTennis | |
sealed trait Player | |
case object Player1 extends Player | |
case object Player2 extends Player | |
sealed trait Score { | |
def inc: Score = this match { | |
case Score0 => Score15 | |
case Score15 => Score30 |
import org.scalatest.{Matchers, Spec} | |
import scala.xml._ | |
class XmlTest extends Spec with Matchers { | |
def `Set text inside XML element`() = { | |
val doc = | |
<root> |
FROM busybox | |
ENTRYPOINT ["sh", "-c", "echo $0 $@", "hello"] | |
CMD ["world"] |
package org.shishkin.sangria | |
import cats.syntax.either._ | |
import io.circe._ | |
import sangria.execution.Resolver | |
import sangria.marshalling.circe._ | |
import sangria.schema._ | |
import sangria.validation.Violation | |
import scala.language.implicitConversions |
I hereby claim:
To claim this, I am signing this object:
import akka.actor._ | |
import akka.pattern.ask | |
import scala.concurrent.duration._ | |
import scala.concurrent.Future | |
import scala.concurrent.Promise | |
import scala.concurrent.ExecutionContext | |
class AskingActor(val service: ActorRef) extends Actor { | |
case class SomeCommand(id: String) | |
case class SomeEvent(id: String) |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using FSharpx; | |
using Microsoft.FSharp.Core; | |
using NUnit.Framework; | |
namespace FunctionalErrorHandling | |
{ | |
public static class Extensions |