Download and install talosctl
binary
wget https://github.com/talos-systems/talos/releases/download/v0.8.1/talosctl-linux-amd64
// Parses a new line separated string of micros() captured from an arduino | |
// Each entry is a switch from LOW to HIGH or HIGH to LOW | |
// The line always starts and finishes HIGH. | |
function parseBtnMessage(timeString){ | |
// Turn the string of times into an array | |
times = timeString.split("\n"); | |
// Find the start of the first message sent by the button | |
// The button sends two long pulses which are approx 1300 and 1200 each. |
version: '3' | |
services: | |
homeassistant: | |
container_name: homeassistant | |
image: homeassistant/home-assistant:stable | |
volumes: | |
- /home/rroland/homeassistant/config:/config | |
- /etc/localtime:/etc/localtime:ro | |
restart: unless-stopped | |
networks: |
[*.cs] | |
# CS8603: Possible null reference return. | |
dotnet_diagnostic.CS8603.severity = error | |
# CS8604: Possible null reference argument. | |
dotnet_diagnostic.CS8604.severity = error | |
# CS8606: Possible null reference assignment to iteration variable | |
dotnet_diagnostic.CS8606.severity = error | |
# CS8600: Converting null literal or possible null value to non-nullable type. | |
dotnet_diagnostic.CS8600.severity = error | |
# CS8602: Dereference of a possibly null reference. |
#!/usr/bin/env bash | |
set -e | |
CONTEXT="$1" | |
if [[ -z ${CONTEXT} ]]; then | |
echo "Usage: $0 KUBE-CONTEXT" | |
exit 1 | |
fi |
#!/bin/bash | |
# | |
BACKUPDEST="$1" | |
DOMAIN="$2" | |
MAXBACKUPS="$3" | |
if [ -z "$BACKUPDEST" -o -z "$DOMAIN" ]; then | |
echo "Usage: ./vm-backup <backup-folder> <domain> [max-backups]" | |
exit 1 |
This is a local copy of the commands from:
This guide serves as a reference of collected information necessary for strict management of PGP keys. This includes keeping a master key that always remains