This file contains hidden or 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/sh | |
HELM_CHART_DIR="../../helm_charts" | |
helm dependency update | |
helm package -d "$HELM_CHART_DIR" . | |
helm repo index "$HELM_CHART_DIR" |
This file contains hidden or 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/sh | |
docker system prune --all --volumes |
This file contains hidden or 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/sh | |
mkdir -p log lib etc | |
sudo docker run -it --rm --name certbot -v $PWD/etc:/etc/letsencrypt -v $PWD/lib:/var/lib/letsencrypt -v $PWD/log:/var/log/letsencrypt certbot/certbot certonly --debug --manual --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory |
This file contains hidden or 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
start on startup | |
task | |
exec /usr/sbin/vbetool dpms off |
This file contains hidden or 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
video_allow_rotate = "true" | |
video_rotation = "3" | |
aspect_ratio_index = "19" | |
video_aspect_ratio_auto = false | |
video_aspect_ratio = .75 |
This file contains hidden or 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
FROM ubuntu:latest | |
MAINTAINER [email protected] | |
RUN apt-get --assume-yes update | |
RUN apt-get --assume-yes install docker.io iputils-ping net-tools netcat bash | |
ENV DOCKER_HOST 172.17.0.1 | |
ENTRYPOINT ["ping", "localhost"] |
This file contains hidden or 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 | |
HOST="$1" | |
PORT="$2" | |
RUNNING=1 | |
while [[ $RUNNING -ne 0 ]]; do | |
echo "Waiting for $HOST:$PORT..." | |
sleep 3 | |
nc -z "$HOST" "$PORT" |
This file contains hidden or 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
import os | |
def all_files(newroot, oldroot): | |
fdtuples = [] | |
for root, dirs, files in os.walk(oldroot): | |
fds = [] | |
for fd in files: | |
if not fd[0] is '.': | |
fds.append(os.path.join(root, fd)) |
This file contains hidden or 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
kernel.panic = 5 |