Skip to content

Instantly share code, notes, and snippets.

@fmarten
fmarten / CoNLLExtractDeps.scala
Created August 11, 2017 08:45
Extract dependencies from conll file
#!/usr/bin/env scalas
/***
scalaVersion := "2.11.8"
resolvers ++= Seq(
"Will's bintray" at "https://dl.bintray.com/willb/maven/",
"jitpack" at "https://jitpack.io"
)
@fmarten
fmarten / JoSimText.scala
Last active July 3, 2017 11:04
A minimal implementation of JoBimText in scala
#!/usr/bin/env scalas
/***
scalaVersion := "2.11.8"
resolvers ++= Seq(
"apache-snapshots" at "http://repository.apache.org/snapshots/"
)
val sparkVersion = "2.1.1"
@fmarten
fmarten / docker-compose.json
Last active July 26, 2018 13:51
Packer Template for Ubuntu 16.04 with Docker Compose as Amazon Machine Image (AMI)
{
"variables": {
"aws_access_key": "{{env `AWS_ACCESS_KEY`}}",
"aws_secret_key": "{{env `AWS_SECRET_KEY`}}"
},
"builders": [
{
"type": "amazon-ebs",
"access_key": "{{user `aws_access_key`}}",
"secret_key": "{{user `aws_secret_key`}}",