I hereby claim:
- I am gesellix on github.
- I am gesellix (https://keybase.io/gesellix) on keybase.
- I have a public key whose fingerprint is 0D28 580E F701 B4C0 9528 25A8 4824 02A5 B6DC E335
To claim this, I am signing this object:
#! /bin/sh | |
# Creates a markdown formatted change log based the git history | |
set -eu | |
OWNER=${1:-'docker-java'} | |
REPO=${2:-'docker-java'} | |
USER=$(cat ~/.git_user) | |
PASS=$(cat ~/.git_password) | |
function pullDesc() { |
I hereby claim:
To claim this, I am signing this object:
import java.io.IOException; | |
import java.io.InputStream; | |
import java.net.URL; | |
import java.net.HttpURLConnection; | |
// This is a very basic implementation of the Docker API v. 1.12 for attaching to a containers StdOut and StdErr stream using HTTP | |
// It is not perfect (see official Docker API documentation for details and how to handle the bytestream) but up to this date its | |
// the most compleate, working example for this to get an idea what's going on there. Happy about any improvement ideas. | |
public class Readin |
{ "@timestamp": "2015-02-02T04:25:26+0000", "@fields": { "status": 200, "request": "/author/", "bytes": 43, "more": { "host" : "localhost"} } } | |
{ "@timestamp": "2015-02-02T04:25:27+0000", "@fields": { "status": 404, "request": "/title/", "bytes": 84, "more": { "host" : "localhost"} } } | |
{ "@timestamp": "2015-02-02T04:25:28+0000", "@fields": { "status": 302, "request": "/publisher/", "bytes": 45, "more": { "host" : "localhost"} } } | |
{ "@timestamp": "2015-02-02T04:25:29+0000", "@fields": { "status": 202, "request": "/keywords/", "bytes": 700, "more": { "host" : "localhost"} } } |
# | |
# Proof of concept for a HAProxy maintenance mode | |
# | |
# | |
# Relevant docs: | |
# http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#4-errorfile | |
# http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#add%20acl | |
# Control the maintenance page during runtime using the stats socket | |
# | |
# To put the whole site in maintenance mode (for all IPs): |
SPI2.setup({baud:3200000,mosi:B15}); | |
var setColor = function(arr){ | |
SPI2.send4bit(arr, 0b0001, 0b0011); | |
}; | |
setColor([255,0,0, 0,255,0, 0,0,255]); | |
/* | |
var ledCount = 3; |
Edit: I few months ago I got a new laptop and did the same thing on Mavericks.
I just replaced the hard drive of my mbp and decided to do a clean install of Mountain Lion (10.8.5) since I was still using Snow Leopard (10.6.8).
I kinda regret for not using Boxen to automate the
package de.gesellix.example | |
import com.matttproud.accepts.Accept | |
import com.matttproud.accepts.Parser | |
import io.prometheus.client.Prometheus | |
import org.springframework.beans.factory.annotation.Autowired | |
import org.springframework.web.bind.annotation.RequestMapping | |
import org.springframework.web.bind.annotation.ResponseStatus | |
import org.springframework.web.bind.annotation.RestController |
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git config --global alias.co checkout
git config --global apply.whitespace nowarn