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
UEsDBAoAAAAAAPpwZk9/LNSMHQAAAB0AAAAKAAkALmdpdGlnbm9yZVVUBQABGCjDXW5vZGVfbW9kdWxlcy8KeWFybi5sb2NrCmRpc3QvUEsDBAoAAAAAAPpwZk+61U0LHgAAAB4AAAAKAAkALm5wbWlnbm9yZVVUBQABGCjDXW5vZGVfbW9kdWxlcy8KZGlzdC8KeWFybi5sb2NrClBLAwQKAAAACAD6cGZPjaPvROYAAAA8AQAACgAJAERvY2tlcmZpbGVVVAUAARgow109kM1OwzAQhO9+ij2g3hIjwQEh9QCNiyJKXBmVnxNynG0wOLZlu0UC8e64TcptZnc1n2aXgj+AdR1eG5kwJpARbjf1qmKC3Ig7aHjF3ljzNO9wj8b5AW0i2f8v4OznJH/JMxf3VS2AqpxIFnz9CqX1g+6tCwhf2HqpPkvl7Fb35UeEg5U9ZunsyRTG5ZvjZFUvWPPIxjg65sWg6DTIkohNA5kA2sYkjYHZ7GjDzkK706YjZHlo6DWGgN84tLR3+TJpNRUm7GXNM+Pq/PKCJuVHSlFsgxvm0ycmXqdjyuwY9vQ9JU/+AFBLAwQKAAAACAD6cGZPB2X4TXcCAAAvBAAABwAJAExJQ0VOU0VVVAUAARgow11dUkuP2jAQvvtXjDjtStH2cap6M4lZrIYkcsxSejOJIa5CjGJTxL/vTGB3u5WQYB7fa8xKashdY4dgGUv96Tq6QxfhoXmEr5+/fINfnR0OVzMc8JfxjFV2PLoQnB/ABejsaHdXOIxmiLZNYD9aC34PTWfGg00gejDDFU52DAjwu2jc4JDLQINSDDdjhzTB7+PFjBaXWzAh+MYZ5IPWN+ejHaKJpLd3vQ3wEDsLs/qOmD1OIq01PXMD0Ox1BBcXO3+OMNoQR9cQRwJuaPpzSx5ex707ursCwaf8gSHpOWAC8pnA0bduT992inU673oXugRaR9S7c8RmoOZ0yIRyfPIjBNv3DBkc+p6yvrubdsj6iQ4a7ycK1Ll0/vgxiQts |
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
// Change these to match one's setup | |
// - Arduino Pins to trigger for relays | |
#define RELAYPIN1 4 | |
#define RELAYPIN2 5 | |
#define RELAYPIN3 6 | |
#define RELAYPIN4 7 | |
// - 10 minutes in milliseconds | |
#define SLEEPDELAY 600000 |
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
--- | |
## Environment varables | |
### DATAVOLUME ::= :alphanum: | |
### NETWORK ::= <"public"|"internal"> | |
### MODPACK_URL ::= <curseforge url, cdn url,>".zip" | |
version: '3.7' | |
volumes: | |
data: | |
external: true |
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
#!/usr/bin/env python | |
# | |
# Usage: ansible-log-analyzer.py [LOGFILE] | |
import re | |
import sys | |
from datetime import datetime, timedelta | |
TASK_RE = re.compile(r'(\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2},\d{3}) p=\d+ u=[\w-]* \|\s*TASK: \[(.*)\]') |
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
#cloud-config | |
# vim: syntax=yaml | |
# | |
# The current version of cloud-init in the Hypriot rpi-64 is 0.7.9 | |
# When dealing with cloud-init, it is SUPER important to know the version | |
# I have wasted many hours creating servers to find out the module I was trying to use wasn't in the cloud-init version I had | |
# Documentation: http://cloudinit.readthedocs.io/en/0.7.9/index.html | |
# Set your hostname here, the manage_etc_hosts will update the hosts file entries as well |
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
FROM golang:1.13-alpine as base | |
ARG GOOS=linux | |
ARG GOARCH=amd64 | |
ARG GOARM | |
ENV GOARCH=$GOARCH | |
ENV GOOS=$GOOS | |
ENV GOARM=$GOARM | |
ENV CGO_ENABLED=0 | |
WORKDIR /app | |
COPY . /app |
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
app: | |
image: my/webapp:latest | |
labels: | |
- "traefik.enable=true" | |
- "traefik.frontend.rule=Host:supercoolapp.com" | |
- "traefik.frontend.errors.network.backend=error" | |
- "traefik.frontend.errors.network.query=/{status}.html" | |
- "traefik.frontend.errors.network.status=500-511" | |
- "traefik.port=3000" | |
error_pages: |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Lonely Women Cooks For Nobody</title> | |
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"> | |
<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/"> | |
<meta name="DC.title" content="Lonely Women Cooks For Nobody<"> | |
<meta name="DC.creator" content="William Clinton (http://www.man-has-his-needs.com/"> | |
<meta name="DC.subject" content="Politics"> |
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 | |
if [ "$#" -ne 3 ]; then | |
echo "usage:" | |
echo " ipfs-publish-remote.sh <keyname> <dir> <host>" | |
echo " example: ipfs-publish-remote.sh keyname output/rootdir user@ipfs.company.net" | |
exit 1 | |
fi | |
KEYNAME=$1 | |
DIR=$2 | |
HOST=$3 |
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
UEsDBBQAAAAIAHqrMkaFdbQvJmkDAPaqAwAaAAAAQ1NFIHN0ZWdhbm9ncmFwaHkgcHB0LnBwdHjsmGdUVFnWhosomZJURMk5FaEpkFQgCBRIFgEJkkGhCEVSklCABElFpgiCBAmSg2SQIFFyTpIzCCIKiAx2z/TMfMuxv7XmV4+9f9y7z1rn/njOet+997maqljYFABcAB4AAGAGkK3cEqvABACYQAAAOQAP8+4NR7irFdzVVPehkxXCWMDTwZ4pCxuT6xngctNf8TNHu343Cg0GNubxXECdb9EkqwgnZz9dj16NsyqwPsQgqHRgZ8qPbjj3CQSQ5lqyYhKAZjALP274NkpRfXrC99E9mvC17cqT1tlPjzv5mF0ZTmQzmvr2vDWU1chThQli/LAXFwRNm/SlGCTwNHZzWQ4h2oekeKGeWDRUGMvQsTTKXhG+MWFT1shlWU/iDWuZZkWh52QvUrtfBzcbfdEEuKAef3qMOGGw2aJvr1VguQ1SPPkopknls29RWyUufSi0zh1apjs5FMnxEmFjX8UixMY3b71V+XidabTmq1cC7vTnwtdc5TecJBkCSj53VZcfKtR6rmPfspvp4cVV87jAGOHUX3TgaRy4opiJqkotvtvOZNBatXQaP6nNISeVQOH1lSHynGgg9+XsKTFh/nAZm08tNQMq19duhkAnaO3jZPFmWoAjhxKwrrtexgxvLtsAFJjlLbPyNLzMwkl4Ngg60qHpPltqrs/tOlIcbOYy0rIDVvmFBjCcAUHiZ/frl+UUGMF5bBmx2xgfbXwmq8u0ZOQMhFNP4mS2Ni4qlK6nZ2rXmvkb45oUpMPrTiU42gaP0ciH90cgo5PWkxUDep1y+2DevaRPK9Fh47kkUy2q+WQv0gx5Q4gXs9aSMMbcjIeZwSkG0q8ExCK4g0aMcGk4Kn3x6Bop6xYVBfHgtF4gbOnSCQtPC6EGd1GsrKWR0rmgTe3DyMh8Z82IbuiJ9HwV4j4aGBy2DaJIRC0+eqTAc4ZLzkBwkAgV |