- create a postgres.env file:
- user and db are optional
- user defaults to postgres
- db defaults to <user>
POSTGRES_USER=<user> POSTGRES_PASSWORD=<secret>
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
tags="" | |
while getopts t: opt; do | |
case $opt in | |
t) echo $OPTARG;tags="${tags} --tag ${OPTARG}";; | |
esac | |
done | |
while read name path; do | |
echo "## ${name}"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{$services := dict}} | |
{{$www := dict "rule" "Host(`www.foobar.de`) && PathPrefix(`/files`)" "url" "https://frontend.intern.foobar.de"}} | |
{{$_ := set $services "www" $www}} | |
{{$git := dict "rule" "Host(`git.foobar.de`)" "url" "https://service3.intern.foobar.de"}} | |
{{$_ := set $services "git" $git}} | |
{{range $name, $conf := $services}} | |
#[http.routers.{{$name}}_tls] | |
# rule = "{{$conf.rule}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# V1 | |
class Node: | |
nodes = [] | |
def __init__(self, numbers): | |
#print(numbers) | |
if not numbers: | |
self.num_childs=0 | |
self.num_meta=0 | |
self.metadata=[] | |
self.children=[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
traefik: | |
image: traefik:1.6 | |
command: --api --docker --docker.exposedbydefault=false | |
volumes: | |
- ./traefik.toml:/traefik.toml | |
- ./acme.json:/acme.json | |
- /var/run/docker.sock:/var/run/docker.sock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heads = [''] | |
data = [] | |
head_a = False | |
data_a = False | |
new_data = None | |
with open("data.yaml") as src: | |
for line in src: | |
if (not head_a) and (not data_a): | |
if "head" in line: | |
head_a=True |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
- https://media.ccc.de/v/33c3-8401-ccc-jahresruckblick_2016
- https://media.ccc.de/v/33c3-8020-methodisch_inkorrekt
- https://media.ccc.de/v/33c3-8413-security_nightmares_0x11
- https://media.ccc.de/v/33c3-7960-fnord-jahresruckblick
- https://media.ccc.de/v/33c3-8428-33c3_closing_ceremony
- https://media.ccc.de/v/33c3-8087-lightning_talks_day_2
- https://media.ccc.de/v/33c3-8088-lightning_talks_day_3
- https://media.ccc.de/v/33c3-8089-lightning_talks_day_4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for t in iot webops-perf design programming web-platform data;do mkdir $t;for i in `curl -s http://www.oreilly.com/$t/free/|grep 'csp'|cut -d'"' -f2|cut -d? -f1`;do for l in `curl -s $i'?download=yes&order=42'|grep data-src|cut -d'"' -f2`;do wget $l -P $t;done;done;done; | |
for t in iot webops-perf design programming web-platform data;do mkdir $t;for i in $(curl -s http://www.oreilly.com/$t/free/|grep 'csp'|cut -d'"' -f2|cut -d? -f1);do for l in $(curl -s $i'?download=yes&order=42'|grep data-src|cut -d'"' -f2);do wget $l -P $t;done;done;done; | |
#for t in iot webops-perf design programming web-platform data;do mkdir $t;for i in `curl -s http://www.oreilly.com/$t/free/|grep 'csp'|cut -d'"' -f2|cut -d? -f1`;do for l in `curl -s $i'?download=yes&order=42'|grep data-src|grep pdf|cut -d'"' -f2`;do wget $l -P $t;done;done;done; |
NewerOlder