I hereby claim:
- I am gbougeard on github.
- I am gbougeard (https://keybase.io/gbougeard) on keybase.
- I have a public key whose fingerprint is 827B EB45 004F C855 A4FF 4F5D 443D 9709 FBBF D7A7
To claim this, I am signing this object:
#!/bin/bash | |
set -x | |
S3_ROOT=/Users/gbougeard/REGISTRY/data | |
DIR_REPOSITORIES=docker/registry/v2/repositories | |
DIR_TAGS=_manifests/tags | |
DIR_REVISIONS=_manifests/revisions | |
DIR_BLOBS=docker/registry/v2/blobs |
[alias] | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
lgn = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --name-only | |
st = status | |
ci = commit -v | |
co = checkout | |
br = branch | |
rh = reset --hard | |
ri = rebase -i | |
rba = rebase --abort |
{ | |
"keepWaitingPipelines": false, | |
"limitConcurrent": true, | |
"parallel": true, | |
"parameterConfig": [ | |
{ | |
"name": "VERSION", | |
"default": "master", | |
"hasOptions": false, | |
"options": [ |
def jodaLongOrISO: Rule[JsValue, DateTime] = { | |
val invalid = Failure(Seq(ValidationError("error.DateTime"))) | |
Rule.fromMapping[JsValue, DateTime] { | |
case JsNumber(v) ⇒ jodaTime.validate(v.toLong).asOpt match { | |
case Some(dt) ⇒ Success(dt) | |
case None ⇒ invalid | |
} | |
case JsString(v) ⇒ jodaDate.validate(v).asOpt match { | |
case Some(dt) ⇒ Success(dt) |
> show dependencyClasspath | |
[info] Updating {file:/Users/gbougeard/Documents/git/github-api-client/}github-api-client... | |
[info] Resolving org.tpolecat#tut-core_2.11;0.3.2 ... | |
[warn] module not found: org.tpolecat#tut-core_2.11;0.3.2 | |
[warn] ==== local: tried | |
[warn] /Users/gbougeard/.ivy2/local/org.tpolecat/tut-core_2.11/0.3.2/ivys/ivy.xml | |
[warn] ==== public: tried | |
[warn] https://repo1.maven.org/maven2/org/tpolecat/tut-core_2.11/0.3.2/tut-core_2.11-0.3.2.pom | |
[warn] ==== Typesafe repository: tried | |
[warn] https://repo.typesafe.com/typesafe/releases/org/tpolecat/tut-core_2.11/0.3.2/tut-core_2.11-0.3.2.pom |
import play.api.data.mapping.{Failure, Success, Rule, Write} | |
import play.api.libs.json.{Json, JsValue} | |
import spray.httpx.marshalling.Marshaller | |
import spray.httpx.unmarshalling.{ Deserialized, MalformedContent, SimpleUnmarshaller, Unmarshaller } | |
import spray.http._ | |
import MediaTypes._ | |
/** | |
* A trait providing automatic to and from JSON marshalling/unmarshalling using in-scope *play-json* Reads/Writes. |
package tv.teads.github.api.models | |
import play.api.data.mapping._ | |
import play.api.libs.json.{JsObject, JsValue} | |
trait PullRequestUrlsFormats { | |
implicit lazy val pullRequestUrlsJsonWrite : Write[PullRequestUrls, JsValue] = { | |
import play.api.data.mapping.json.Writes._ | |
Write.gen[PullRequestUrls, JsObject] |
case class GHUser( | |
login: String, | |
id: Long, | |
avatar_url: String, | |
gravatar_id: Option[String], | |
url: String, | |
html_url: String, | |
followers_url: String, | |
following_url: Option[String], | |
gists_url: Option[String], |
I hereby claim:
To claim this, I am signing this object: