I hereby claim:
- I am pteich on github.
- I am pteich (https://keybase.io/pteich) on keybase.
- I have a public key ASCLynuk3IisbBsZktWF5fB9yF3mP1zgsv2aKsGNdR-Cvwo
To claim this, I am signing this object:
#!/usr/bin/env bash | |
sudo apt-get install mc -y | |
wget -qO - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | sudo apt-key add - | |
echo "deb http://packages.elasticsearch.org/elasticsearch/1.3/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch.list | |
sudo apt-get update | |
sudo apt-get install openjdk-7-jre-headless -y | |
sudo apt-get install elasticsearch -y | |
sudo apt-get install php5-curl -y | |
sudo /usr/share/elasticsearch/bin/plugin -install mobz/elasticsearch-head |
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^(?!www\.)(.+) [NC] | |
RewriteRule ^(.*) http://www.%1$1 [R=301,NE,L] |
Regex: | |
^(?<host>[^ ]*) (?<logname>[^ ]*) (?<user>[^ ]*) \[(?<time>[^\]]*)\] \"GET (?<request_uri>[^\?]+)\?(?<request_args>[^ ]*) (?<request_protocol>[^ ]*)\" (?<response>[^ ]*) (?<bytes>[^ ]*) \"(?<referrer>[^\"]*)\" \"(?<agent>[^\"]*)\" (?<duration>[^ ]*) | |
Time Format: | |
%d/%b/%Y:%H:%M:%S %z | |
fluent.conf | |
<source> | |
type tail | |
path /var/log/foo/bar.log |
package main | |
import ( | |
"bytes" | |
"encoding/xml" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"time" | |
) |
package main | |
import ( | |
"encoding/xml" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"net/url" | |
httpDigestAuth "github.com/pteich/http-digest-auth-client" |
FROM tomcat:7-jre8-alpine | |
MAINTAINER Peter Teich <peter.teich@gmail.com> | |
# mit RUN werden beim Bauen des Image Shell-Befehle IM Container ausgeführt | |
# möglichst viele Befehle miteinmal ausführen, da nach jedem RUN ein neuer Layer im Container gespeichert wird | |
# Beispiel: | |
# RUN apt-get update && apt-get install -y build-essential curl && \ | |
# apt-get clean && \ | |
# rm -rf /var/lib/apt/lists/* && \ |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"context" | |
"errors" | |
"fmt" | |
"os/signal" | |
"syscall" | |
"time" |