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:
I hereby claim:
To claim this, I am signing this object:
| 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) { | 
| 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 | |
| ) | 
| 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 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._ | 
| 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 |