I hereby claim:
- I am lundvall on github.
- I am lundvall (https://keybase.io/lundvall) on keybase.
- I have a public key whose fingerprint is 4003 19A0 3BE8 20AD A608 C39E B996 B037 2795 4781
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath "io.ratpack:ratpack-gradle:1.3.3" | |
} | |
} | |
apply plugin: "io.ratpack.ratpack-groovy" |
* { | |
background: #000 !important; | |
color: #0f0 !important; | |
outline: solid #f00 1px !important; | |
} |
import ratpack.exec.ExecController; | |
import ratpack.server.Service; | |
import ratpack.server.StartEvent; | |
import ratpack.server.StopEvent; | |
import java.util.concurrent.TimeUnit; | |
public class ScheduledService implements Service, Runnable { | |
public String getName() { | |
return getClass().getSimpleName(); |
package io.github.lundvall | |
import groovy.transform.CompileStatic | |
import groovy.transform.Immutable | |
@Immutable | |
@CompileStatic | |
class Interval { | |
long low | |
long high |
def it = { m, f -> println "${(f() ? '✔' : '✘')} It $m" } | |
it("should sum two numbers") { 1 + 1 == 2 } | |
it("should display an X for a failing test") { 1 + 1 == 3 } |
get("report/:start:\\d{4}-\\d{2}-\\d{2}/:end:\\d{4}-\\d{2}-\\d{2}") { ... } |
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then | |
export TERM='gnome-256color'; | |
elif infocmp xterm-256color >/dev/null 2>&1; then | |
export TERM='xterm-256color'; | |
fi; | |
prompt_git() { | |
local s=''; | |
local branchName=''; |
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath 'io.ratpack:ratpack-gradle:1.1.1', | |
'com.github.jengelman.gradle.plugins:shadow:1.2.2' | |
} | |
} |
public class EmailMessage | |
{ | |
private string Sender; | |
private string To; | |
private string Subject; | |
private string Content; | |
private string MimeType; // optional | |
private EmailMessage() { } |