Skip to content

Instantly share code, notes, and snippets.

@bsadeh
bsadeh / address1
Created November 9, 2017 19:50
so i can get ether from rinkebhy faucet
0x7CCa133Aa8B67DB64DEa603C016A333F97772b0f
@bsadeh
bsadeh / PseudoTaskStreamSpec.scala
Created December 2, 2016 01:16
take a Seq[Task[Boolean]] and reduce them to a Task[Boolean] that will execute sequentialy and "break" on first success
import org.scalatest._
import scalaz.concurrent._
trait TaskHelp {
/** executing sequentially, bail out on first success.
* wraps each task in 'bail out if successful' exception
*/
@bsadeh
bsadeh / Build.scala
Created August 2, 2014 23:05
using gatling-sbt 1.0-RC1
import sbt._, Keys._, Tests._
import io.gatling.sbt.GatlingPlugin
object ProjectBuild extends Build {
val libs = Seq(
"mysql" % "mysql-connector-java" % "5.1.26" % "test",
"com.typesafe" % "config" % "1.2.1",
"io.gatling" % "gatling-bundle" % "2.0.0-RC1" % "test" artifacts (Artifact("gatling-bundle", "zip", "zip", "bundle")),
"io.gatling.highcharts" % "gatling-charts-highcharts" % "2.0.0-RC1" % "test",