I hereby claim:
- I am ches on github.
- I am ches (https://keybase.io/ches) on keybase.
- I have a public key ASCIZr7iDy6SDxfmm4ZmlI-IfCYak4OLkqMWqBI3lp8f7Qo
To claim this, I am signing this object:
#!/bin/bash | |
# Contains a few particularities of $DAYJOB's infra environment, but you get the, erm, gist. | |
set -o errexit | |
declare -r app_jar=/opt/myapp/my-app.jar | |
declare -r consul_template_config=/etc/consul.d/template/config.json | |
declare -r flags_file="${JVM_FLAGS_FILE:=/etc/myapp/application.ini}" | |
# For JMX's weird connection negotiation in a container world |
import sbt._, Keys._ | |
import wartremover.WartRemover, WartRemover.autoImport.wartremoverClasspaths | |
trait CustomWartsKeys { | |
lazy val customWartsVersion = settingKey[String]("Version of the my-warts library dependency") | |
} | |
/** sbt plugin to integrate a package of custom WartRemover extension lints into a project's build. | |
* | |
* The purpose of an sbt plugin for this is to solve a problem with WartRemover's [[$custom-warts |
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "bloop: compile all", | |
"type": "shell", | |
"command": "bloop compile $(bloop projects)", | |
"group": { "kind": "build", "isDefault": true }, |
import scala.language.implicitConversions | |
/** A process exit status. */ | |
sealed abstract class ExitStatus(val code: Int) extends Product with Serializable | |
/** Exit statuses used conventionally across components. */ | |
object ExitStatus { | |
case object Success extends ExitStatus(0) | |
case object Error extends ExitStatus(1) | |
case object BadUsage extends ExitStatus(2) // 2 is conventional, e.g. bash builtins, grep |
I hereby claim:
To claim this, I am signing this object:
import java.util.concurrent.atomic.AtomicInteger | |
import scala.collection.generic.CanBuildFrom | |
import scala.concurrent._ | |
import scala.util.{ Failure, Success } | |
/* | |
* Enrichments for some useful Future combinators absent from the standard | |
* library. | |
* |
{ | |
"id": "d8ee1407-d7e2-60a3-f905-61896360d6e3", | |
"name": "Itembase – Sandbox", | |
"values": [ | |
{ | |
"key": "api_version", | |
"value": "v1", | |
"type": "text", | |
"name": "api_version", | |
"enabled": true |
package main | |
import "fmt" | |
type MapFunc func(interface{}) interface{} | |
type FilterFunc func(interface{}) bool | |
type Collection []interface{} | |
type User string | |
type Host string |
import spray.http.DateTime | |
import spray.httpx.unmarshalling._ | |
/* | |
* Implicit allowing spray DateTimes to be deserialized from parameters directives. | |
* | |
* See: http://spray.io/documentation/1.2.2/spray-httpx/unmarshalling/ | |
*/ | |
// type FromStringOptionDeserializer[T] = Deserializer[Option[String], T] |