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
BEGIN MESSAGE. │ | |
jFmBIVnmuPbwMU0 8dKoOSrR4yNomDk YxfYOl8IDH86g7c slH4seKPgOtNjV9 │ | |
NEMua3OKqloX8m8 9z7sex7eFb6TCKq 6Xr2MZHgg4XTUBu 6aFJ5yLPOVC9Y4p │ | |
0TOJjkbUBCQOLtn 47cNPafyYvYbFIr AKQGkrQgRzjcAuO xjtiWVyBu3a9V4M │ | |
AtzgFgTh6YlZKgV wuILVR61S9O9mid 2tI2e7tiSkCT. │ | |
END MESSAGE. |
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
# cli to build for multiple arches (example) | |
$ docker buildx build --platform linux/amd64,linux/386,linux/arm/v7 -t fearoffish/okteto:7 --push . | |
# devenv/bin/Dockerfile | |
FROM okteto/remote:0.2.5 AS remote | |
FROM okteto/supervisor:0.1.0 AS supervisor | |
FROM okteto/clean:0.1.0 AS clean |
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 bash | |
# Stop on ctrl-c | |
trap 'exit 130' INT | |
ENV=$1 | |
# Check the remote cluster state against terraform state | |
function check_state() { |
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/local/bin/bash | |
# Colours picked from https://robinpowered.com/blog/best-practice-system-for-organizing-and-tagging-github-issues/ | |
# Updates for making it work on OS X with a homebrew bash and ignoring null errors | |
### | |
# Label definitions | |
### | |
declare -A LABELS |
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/sh | |
# | |
# Script options (exit script on command fail). | |
# | |
set -e | |
# | |
# Define default Variables. | |
# |
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 resin/%%RESIN_MACHINE_NAME%%-python:3.4-wheezy | |
ENV INITSYSTEM=on | |
MAINTAINER [email protected] | |
WORKDIR /usr/src/app | |
RUN useradd -ms /bin/bash homeassistant |
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
global | |
log /dev/log local0 | |
log /dev/log local1 notice | |
chroot /var/lib/haproxy | |
stats socket /run/haproxy/admin.sock mode 660 level admin | |
stats timeout 30s | |
user haproxy | |
group haproxy | |
daemon |
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
# This is a simple service file for systems with systemd to tun HA as user. | |
# | |
[Unit] | |
Description=Home Assistant for %i | |
After=network.target | |
[Service] | |
Type=simple | |
User=%i | |
# Enable the following line if you get network-related HA errors during boot |
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
# Input boolean for deactivating the script that turns off the lights after no movement for 10 mins | |
input_boolean: | |
living_room_light_manual_mode: | |
name: Living Room Lights Manual Mode | |
initial: off | |
# Automation: When there is motion in the living room, activate a script to turn on the lights (shown next) | |
- alias: Turn on living room lights when there is movement | |
trigger: | |
- platform: state |
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
# | |
# Makefile for OpenzWave Control Panel application | |
# Greg Satz | |
# GNU make only | |
.SUFFIXES: .cpp .o .a .s | |
CC := $(CROSS_COMPILE)gcc | |
CXX := $(CROSS_COMPILE)g++ |
NewerOlder