I hereby claim:
- I am mjhuber on github.
- I am huberm (https://keybase.io/huberm) on keybase.
- I have a public key whose fingerprint is 3320 4F40 70D4 5634 7C6F 01AD 3A37 85C4 6AE7 5F3E
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
--- | |
- hosts: localhost | |
gather_facts: no | |
vars: | |
families: | |
- surname: Smith | |
children: | |
- name: Mike | |
age: 4 | |
- name: Kate |
[Unit] | |
Description=Docker cleanup | |
Requires=docker.service | |
After=docker.service | |
[Service] | |
Type=oneshot | |
WorkingDirectory=/tmp | |
User=root | |
Group=root |
version: '2' | |
services: | |
proxy: | |
image: traefik:latest | |
container_name: proxy | |
networks: | |
- frontend | |
restart: on-failure | |
ports: |
#!/bin/sh | |
# snbforums thread: | |
# https://www.snbforums.com/threads/country-blocking-script.36732/page-2#post-311407 | |
# Re-download blocklist if locally saved blocklist is older than this many days | |
BLOCKLISTS_SAVE_DAYS=15 | |
# For the users of mips routers (kernel 2.x): You can now block sources with IPv6 with country blocklists | |
# Enable if you want to add huge country IPv6 netmask lists directly into ip6tables rules. | |
# Also, enabling this will add a *lot* of processing time! |
#!/bin/bash | |
/usr/bin/docker ps --format='{{.ID}}' | \ | |
xargs -n 1 -r /usr/bin/docker inspect -f '{{.ID}} {{.State.Running}} {{.State.StartedAt}}' | \ | |
awk '$2 == "true" && $3 <= "'$(date -d 'yesterday' -Ins --utc | sed 's/+0000/Z/')'" { print $1 }' | \ | |
xargs -r /usr/bin/docker kill |
[defaults] | |
forks = 20 | |
internal_poll_interval = 0.001 | |
[ssh_connection] | |
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o PreferredAuthentications=publickey | |
pipelining = true |
The application has been deployed with the provided AWS resources and is available to view at http://testweb-elb-2116775699.eu-central-1.elb.amazonaws.com
A one line command that, when invoked, deploys a webapp.
travis_fold:start:services | |
[0Ktravis_time:start:14301690 | |
[0K$ sudo service docker start | |
start: Job is already running: docker | |
travis_time:end:14301690:start=1532301407880208255,finish=1532301407898748510,duration=18540255 | |
[0Ktravis_fold:end:services | |
[0K | |
travis_fold:start:git.checkout | |
[0Ktravis_time:start:04f399a1 |