Skip to content

Instantly share code, notes, and snippets.

Abhishek Srivastava abhsrivastava

Block or report user

Report or block abhsrivastava

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
abhsrivastava / Cassandra Graph Stage
Last active Jul 1, 2017
This is a graph stage source for cassandra data database
View Cassandra Graph Stage
import com.datastax.driver.core._
object AkkaStreamTest2 extends App {
val system = ActorSystem.create("StreamsExamples")
import system.dispatcher
abhsrivastava / EnumReplacement.scala
Last active Apr 28, 2017
Getting Rid of Scala Enums and Clean Json Serialization
View EnumReplacement.scala
sealed case class Color(value: String)
object Color {
object red extends Color("red")
object green extends Color("green")
object blue extends Color("blue")
// pattren matching
val x =
val y =
You can’t perform that action at this time.