I hereby claim:
- I am max-l on github.
- I am maximelevesque (https://keybase.io/maximelevesque) on keybase.
- I have a public key ASAGN6CZNGvVKKgrLR9mTIUhP6f0KSCY8DNgY0jFm13pIgo
To claim this, I am signing this object:
| class EndOfTheWorldException extends Exception { | |
| public EndOfTheWorldException(String reason) { | |
| super("The world has ended, because of "+ reason); | |
| } | |
| } | |
| class EndOfTheWorldException extends Exception { | |
| public EndOfTheWorldException(String reason) { | |
| super("The world has ended, because of "+ reason); | |
| } | |
| } | |
I hereby claim:
To claim this, I am signing this object:
| export HOME_DIR="/home/adminphen/tools/snpEff" | |
| export DB="/home/adminphen/tools/dbsnp137.hg19.vcf" | |
| export JVM_ARGS="-Djava.io.tmpdir=/tmp -XX:ParallelGCThreads=2 -Xmx8G" | |
| cd $HOME_DIR | |
| java $JVM_ARGS -jar $HOME_DIR/SnpSift.jar \ |
| worker_processes 1; | |
| error_log logs/error.log; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| server { |
| import RawSql._ | |
| val pathsById = q("select id, st_AsText(r.path) from findPaths(?,?,?)", x, y, z).toSeq[Long, String].toMap | |
| object object RawSql { | |
| def q(query: String, args: Any*) = | |
| new RawTupleQuery(query, args) |
| // geospatial queries with Squeryl | |
| val ctGeoid = | |
| q("select t.geoid from ctracts t "+ | |
| "where st_within(ST_SetSRID(ST_Point(?,?),4269), t.geom)", | |
| g.longitude, | |
| g.latitude).toSeq[String].head | |
| val bgGeoid = | |
| q("select t.geoid from bgroups t "+ |
| [{id: 123, text:'zaza'}] |
| import java.util.Date | |
| trait TDate | |
| trait TT[A1,T1] | |
| trait TTFactory[F,G] { | |
| def create(f: F) : TT[F,G] | |
| def sample: F | |
| } |
| object Poc2 { | |
| trait TARInt | |
| trait Basket[A,B] { | |
| def iAmABasket = {} | |
| } | |
| trait BasketFactory[A,B] { | |
| def create(v: A): Basket[A,B] |