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
#0 boot (not used) | |
#1 tx (not used) | |
#2 led status (not used) | |
#3 rx (not used) | |
#4 status neopixel | |
#5 dallas | |
#16 thermostat O | |
#17 thermostat Y | |
#18 (not used) | |
#19 outdoor W |
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 | |
# | |
# Author: Ryan Kernan | |
# Date: September 23, 2011 | |
# Version: 1.0 | |
# Credits: Mike La Spina for the original concept and script http://blog.laspina.ca/ | |
# | |
# Expanded on by Patrick Domack | |
# | |
# Function: Provides snapshot and send process which replicates ZFS file systems from a source to target server. |
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
# Patrick Domack | |
# Base taken from Orion Anderson https://misterorion.com/lambda-update-ami/ | |
# https://github.com/ranman/awesome-sns/blob/master/Events.md#windows-ami-update | |
# https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/aws-windows-ami.html#subscribe-notifications | |
import boto3, os, json | |
from datetime import datetime, timezone, timedelta | |
def lambda_handler(event, context): |
OlderNewer