Skip to content

Instantly share code, notes, and snippets.

Avatar

Eduardo Pareja Tobes eparejatobes

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am eparejatobes on github.
  • I am eparejatobes (https://keybase.io/eparejatobes) on keybase.
  • I have a public key ASCOYr3LjrlJHPcInQxvgje-7DvEWvc2twMNc6cOOQC5JAo

To claim this, I am signing this object:

View URS00008E71FD-cluster.csv
gnl|ohnosequences.db.rna16s|URS0000090DB3 gnl|ohnosequences.db.rna16s|URS00003FE4F2 gnl|ohnosequences.db.rna16s|URS00006113A7 gnl|ohnosequences.db.rna16s|URS0000449F6D gnl|ohnosequences.db.rna16s|URS000008B573 gnl|ohnosequences.db.rna16s|URS00003282C3 gnl|ohnosequences.db.rna16s|URS00003C0005 gnl|ohnosequences.db.rna16s|URS00007645E4 gnl|ohnosequences.db.rna16s|URS0000447EE3 gnl|ohnosequences.db.rna16s|URS00001B3240 gnl|ohnosequences.db.rna16s|URS00003C8852 gnl|ohnosequences.db.rna16s|URS00008DAE4A gnl|ohnosequences.db.rna16s|URS0000036E40 gnl|ohnosequences.db.rna16s|URS000032F56E gnl|ohnosequences.db.rna16s|URS0000734B64 gnl|ohnosequences.db.rna16s|URS0000743A13 gnl|ohnosequences.db.rna16s|URS00008DFAB0 gnl|ohnosequences.db.rna16s|URS0000500F75 gnl|ohnosequences.db.rna16s|URS00008D991B gnl|ohnosequences.db.rna16s|URS00001D8AA8 gnl|ohnosequences.db.rna16s|URS00008E8071 gnl|ohnosequences.db.rna16s|URS000045BD95 gnl|ohnosequences.db.rna16s|URS00008DDDEB gnl|ohnosequences.db.rna16s|URS0000330EB7 gnl|ohnosequence
@eparejatobes
eparejatobes / relsAndRelTypes.java
Last active Aug 29, 2015
mutually recursive interfaces and enums for types
View relsAndRelTypes.java
interface reltype<t extends Enum<t> & reltype<t,r>, r extends rel<r,t>> {
public t value();
}
interface rel<r extends rel<r,t>, t extends Enum<t> & reltype<t,r>> {
public t getType();
}
View UnionHList.scala
trait UnionOf[L <: HList] {
type Mix
type Out = not[Mix]
type is[O] = UnionAux[L, O]
}
/* Implicits for constructing union: */
object UnionOf {
implicit val nil =
new UnionOf[HNil] { type Mix = not[Nothing] }
@eparejatobes
eparejatobes / imageOf.scala
Last active Dec 14, 2015
Image of a type constructor; compiler crashes, probably related with https://issues.scala-lang.org/browse/SI-5559
View imageOf.scala
trait ImageOfAux {
type F[_]
type A
type FA
}
trait ImageOf[FA0, F0[_]] extends ImageOfAux {
type F[_] = F0[_]
type FA = FA0
@eparejatobes
eparejatobes / neo4jTypes.scala
Created Feb 17, 2012
neo4j fields and records with shapeless
View neo4jTypes.scala
import shapeless._
import shapeless.TypeOperators._
import shapeless.Record._
import shapeless.BasisConstraint._
import Neo4jTypesConstraints.OfNeo4jFieldsConstraint._
import Neo4jTypesConstraints._
import Neo4jTypes._
object Neo4jTypes {