I hereby claim:
- I am ctran on github.
- I am ctran (https://keybase.io/ctran) on keybase.
- I have a public key ASBx82K3-rmNeCDB0Dr2lIBx4WUJ0e9hBex-vKRzKeS6ZQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
node { | |
// https://registry.hub.docker.com/_/maven/ | |
def maven32 = docker.image('maven:3.2-jdk-7-onbuild'); | |
stage 'Mirror' | |
// First make sure the slave has this image. | |
// (If you could set your registry below to mirror Docker Hub, | |
// this would be unnecessary as maven32.inside would pull the image.) | |
maven32.pull() | |
// We are pushing to a private secure docker registry in this demo. |
configurations { | |
mavenEmbedder | |
} | |
dependencies { | |
compile "org.apache.maven:maven-core:$mavenVersion" | |
compile "org.apache.maven:maven-plugin-api:$mavenVersion" | |
compile 'org.apache.maven.plugin-tools:maven-plugin-annotations:3.4' | |
mavenEmbedder "org.apache.maven:maven-embedder:$mavenVersion" |
@App({ | |
providers: [GlobalService], // constructed once | |
config: {} | |
}) | |
class MyApp { | |
} |
on run | |
tell application "Finder" | |
if selection is {} then | |
set finderSelection to folder of the front window as string | |
else | |
set finderSelection to selection as alias list | |
end if | |
end tell | |
subl(finderSelection) |
import jenkins.model.* | |
import hudson.remoting.Launcher | |
import hudson.slaves.SlaveComputer | |
def expectedVersion = Launcher.VERSION | |
for (computer in Jenkins.instance.getComputers()) { | |
if (! (computer instanceof SlaveComputer)) continue | |
if (!computer.getChannel()) continue | |
def version = computer.getSlaveVersion() |
#include <unistd.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#define CHUNK (128 * 1024) | |
void usage(const char *prog, FILE *out) | |
{ | |
fprintf(out, "usage: %s allocsize\n", prog); | |
fprintf(out, " allocsize is kbytes, or number[KMGP] (P = pages)\n"); |
I hereby claim:
To claim this, I am signing this object:
import Text (..) | |
type alias Peg = String | |
type alias Move = (Peg, Peg) | |
hanoi: Int -> Peg -> Peg -> Peg -> List Move | |
hanoi n a b c = | |
if n == 0 then [] | |
else | |
let |
import Graphics.Element (..) | |
import Html (..) | |
import Html.Attributes (..) | |
import Html.Events (..) | |
import Html.Lazy (lazy, lazy2) | |
import Json.Decode as Json | |
import List | |
import Maybe | |
import Signal | |
import String |