I hereby claim:
- I am meddulla on github.
- I am meddulla (https://keybase.io/meddulla) on keybase.
- I have a public key whose fingerprint is 203E 2CE1 1F00 FA02 B879 D7EA 02C0 AB63 5171 F435
To claim this, I am signing this object:
| import shapeless._ | |
| import labelled.{FieldType, field} | |
| /* | |
| Usage: | |
| import shapeless._ | |
| import shapeless.record._ | |
| case class Book(author: String, title: String) | |
| implicit val bookGen = LabelledGeneric[Book] |
| object Monoids { | |
| trait Semigroup[A] { | |
| def add(x: A, y: A): A | |
| } | |
| trait Monoid[A] extends Semigroup[A] { | |
| def zero: A | |
| } |
| // from https://github.com/playframework/playframework/issues/1789 | |
| import scala.concurrent.duration.Duration; | |
| import scala.concurrent.duration.FiniteDuration; | |
| import play.api.Application; | |
| import play.api.Play; | |
| import akka.actor.ActorSystem; | |
| import org.slf4j.Logger; |
| var AWS = require('aws-sdk'); | |
| var http = require('http'); | |
| var httpProxy = require('http-proxy'); | |
| var express = require('express'); | |
| var bodyParser = require('body-parser'); | |
| var stream = require('stream'); | |
| if (process.argv.length != 3) { | |
| console.error('usage: aws-es-proxy <my-cluster-endpoint>'); | |
| process.exit(1); |
| --- | |
| title: 'Bioinformatics for Big Omics Data: Advanced data manipulation' | |
| author: "Raphael Gottardo" | |
| date: "December 8, 2014" | |
| output: | |
| ioslides_presentation: | |
| fig_caption: yes | |
| fig_retina: 1 | |
| keep_md: yes | |
| smaller: yes |
I hereby claim:
To claim this, I am signing this object:
| import sbt.ExclusionRule | |
| name := """xxx-importer""" | |
| scalaVersion := "2.11.7" | |
| lazy val app = (project in file(".")).enablePlugins(JavaServerAppPackaging) | |
| resolvers ++= Seq( | |
| "Typesafe repository snapshots" at "http://repo.typesafe.com/typesafe/snapshots/", |
| package com.cassandra.phantom.modeling.connector | |
| import java.net.InetAddress | |
| import com.typesafe.config.ConfigFactory | |
| import com.websudos.phantom.connectors.ContactPoints | |
| import scala.collection.JavaConversions._ | |
| object Connector { |
| # | |
| # Upstart script for Play Framework | |
| # Put this into a file like /etc/init/play.conf | |
| # | |
| # Usage: | |
| # initctl start play | |
| # initctl stop play | |
| # initctl status play | |
| # | |
| description "Start and Stop the play application" |
| object CassandraWrapper { | |
| import scala.language.implicitConversions | |
| import scala.language.postfixOps | |
| /** | |
| * Converts a `ResultSetFuture` into a Scala `Future[ResultSet]` | |
| * @param f ResultSetFuture to convert | |
| * @return Converted Future | |
| */ | |
| implicit def resultSetFutureToScala(f: ResultSetFuture): Future[ResultSet] = { | |
| val p = Promise[ResultSet]() |