I hereby claim:
- I am kryptt on github.
- I am rhansen (https://keybase.io/rhansen) on keybase.
- I have a public key ASDXfmDX3w-O85UsTCxmAR6OgEJFlKo-H1arnci0zizDZgo
To claim this, I am signing this object:
package msw.util | |
import doobie.imports.{Composite, Query0} | |
import doobie.hi.connection.{ prepareStatement, prepareQueryAnalysis, prepareQueryAnalysis0, process => cprocess } | |
import doobie.hi.preparedstatement.{ set, executeQuery } | |
import doobie.hi.resultset.{ getUnique, getOption } | |
import scalaz.syntax.monad._ | |
import shapeless._ | |
import shapeless.ops.hlist.Prepend |
import doobie.imports.{Composite, HPS, PreparedStatementIO => IO} | |
import generic.isEmpty | |
import scalaz.{Monoid, State} | |
import scalaz.syntax.monad._ | |
import shapeless._ | |
import shapeless.record._ | |
import shapeless.ops.hlist._ |
import argonaut._, Argonaut._ | |
Object example { | |
def cleanup(details: Json): Json = details | |
.withArray(_.map(cleanup)) | |
.withObject(jo => JsonObject.from(jo.toList.map(cleanup))) | |
def cleanup(field: (JsonField, Json)): (JsonField, Json) = (field._1.toLowerCase, field._1, field._2) match { | |
case (pwd, k, _) if List("password", "passwd", "pass", "pwd").contains(pwd) => (k, jString("******")) | |
case (_, k, v) => (k, cleanup(v)) |
import com.typesafe.sbt.SbtSite.SiteKeys._ | |
import com.typesafe.sbt.SbtGhPages.GhPagesKeys._ | |
val commonSettings = Seq( | |
organization := "com.rodolfohansen", | |
version := "0.1-SNAPSHOT", | |
scalaVersion := "2.11.7", | |
autoAPIMappings := true | |
) |
package br | |
package blocks | |
import scala.concurrent.{ExecutionContext, Future} | |
import fs2.{Strategy, Stream, Task} | |
import fs2.async.mutable.Topic | |
abstract class Piece[Model, View] | |
(events: Stream[Task, Any])(implicit ec: ExecutionContext) { |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/amm | |
import $ivy.`org.scalaz::scalaz-core:7.2.18` | |
import $ivy.`com.slamdata::matryoshka-core:0.18.3` | |
import scala.annotation.tailrec | |
sealed trait Tree[+A] | |
object Tree { |
#!/usr/bin/env amm | |
import $plugin.$ivy.`org.typelevel:::kind-projector:0.11.0` | |
import $ivy.{ | |
`co.fs2::fs2-core:2.0.1`, | |
`com.github.julien-truffaut::monocle-generic:2.0.0` | |
} | |
import cats.Applicative | |
import fs2._ | |
import monocle._ |
package industrious | |
import io.dylemma.spac.xml._ | |
import org.specs2.{ScalaCheck, Specification} | |
import org.scalacheck.{Gen, Prop} | |
class SvnXmlParserSpec extends Specification with ScalaCheck { | |
def is = s2""" | |
SVN XML Parser can | |
parse entries $parseEntries |
class BalanceSheet { | |
val froms: List[Transaction] | |
val toss: List[Transaction] | |
/* ... */ | |
} | |
class Transaction { | |
val issue: DateTime | |
val acknowledge: DateTime | |
/* ... */ |