This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:d6d65b10c596cdda376a74086ce79ddfb2b4de37]
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:d6d65b10c596cdda376a74086ce79ddfb2b4de37]
| #!/usr/bin/env bash | |
| TERRAFORMING="~/.gem/ruby/2.6.0/bin/terraforming" | |
| AWS_PROFILE="dev" | |
| AWS_REGIONS=($(AWS_PROFILE=$AWS_PROFILE aws ec2 describe-regions | jq -r '.Regions[].RegionName')) | |
| COMPONENTS=($($TERRAFORMING help | grep terraforming | grep -v help | awk '{print $2}')) | |
| for REGION in "${AWS_REGIONS[@]}" | |
| do | |
| rm -rf $REGION |
| openapi: 3.0.0 | |
| info: | |
| title: Thousand Eyes API V6 | |
| version: 6.0.0 | |
| externalDocs: | |
| description: Developer Reference | |
| url: https://developer.thousandeyes.com/v6/ | |
| servers: | |
| - url: https://api.thousandeyes.com/v6 | |
| description: Thousand Eyes API V6 |
| #!/bin/bash | |
| # xargs -n 1 ./run.sh <list.txt | |
| EMAIL=$1 | |
| if [ -z "$EMAIL" ] | |
| then | |
| echo "No email address supplied" | |
| exit 1 |
| 2018/05/10 17:27:28 [INFO] Terraform version: 0.11.7 | |
| 2018/05/10 17:27:28 [INFO] Go runtime version: go1.10.1 | |
| 2018/05/10 17:27:28 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.7/bin/terraform", "apply"} | |
| 2018/05/10 17:27:28 [DEBUG] Attempting to open CLI config file: /Users/XXX/.terraformrc | |
| 2018/05/10 17:27:28 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
| 2018/05/10 17:27:28 [INFO] CLI command args: []string{"apply"} | |
| 2018/05/10 17:27:28 [INFO] command: empty terraform config, returning nil | |
| 2018/05/10 17:27:28 [DEBUG] command: no data state file found for backend config | |
| 2018/05/10 17:27:28 [DEBUG] New state was assigned lineage "8a3c07bb-2eda-9897-1d7c-cc6cd3073dfe" | |
| 2018/05/10 17:27:28 [INFO] command: backend initialized: <nil> |
| 2018/05/10 17:27:28 [INFO] Terraform version: 0.11.7 | |
| 2018/05/10 17:27:28 [INFO] Go runtime version: go1.10.1 | |
| 2018/05/10 17:27:28 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.7/bin/terraform", "apply"} | |
| 2018/05/10 17:27:28 [DEBUG] Attempting to open CLI config file: /Users/XXX/.terraformrc | |
| 2018/05/10 17:27:28 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
| 2018/05/10 17:27:28 [INFO] CLI command args: []string{"apply"} | |
| 2018/05/10 17:27:28 [INFO] command: empty terraform config, returning nil | |
| 2018/05/10 17:27:28 [DEBUG] command: no data state file found for backend config | |
| 2018/05/10 17:27:28 [DEBUG] New state was assigned lineage "8a3c07bb-2eda-9897-1d7c-cc6cd3073dfe" | |
| 2018/05/10 17:27:28 [INFO] command: backend initialized: <nil> |
| $ TF_LOG=debug terraform apply | |
| 2018/05/10 17:27:28 [INFO] Terraform version: 0.11.7 | |
| 2018/05/10 17:27:28 [INFO] Go runtime version: go1.10.1 | |
| 2018/05/10 17:27:28 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.7/bin/terraform", "apply"} | |
| 2018/05/10 17:27:28 [DEBUG] Attempting to open CLI config file: /Users/XXX/.terraformrc | |
| 2018/05/10 17:27:28 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
| 2018/05/10 17:27:28 [INFO] CLI command args: []string{"apply"} | |
| 2018/05/10 17:27:28 [INFO] command: empty terraform config, returning nil | |
| 2018/05/10 17:27:28 [DEBUG] command: no data state file found for backend config | |
| 2018/05/10 17:27:28 [DEBUG] New state was assigned lineage "8a3c07bb-2eda-9897-1d7c-cc6cd3073dfe" |
| */5 * * * * /usr/local/bin/putMetrics.sh |
| const int RelayPin = 4; | |
| const int WaterSensorPin = A0; | |
| const int SensorWet = 100; | |
| const int MinimumRunTime = 2000; | |
| const int MinimumWaitTime = 2000; | |
| const bool RelayOn = LOW; | |
| const bool RelayOff = HIGH; | |
| bool relayState = false; |
| var net = require('net'); | |
| var moment = require('moment'); | |
| var leftpad = require('leftpad'); | |
| var start = function() { | |
| var client = net.connect({ host: '192.168.11.193', port: 10001 }, function() { | |
| console.log('Server: connected'); | |
| client.on('data', function(data) { | |
| console.log('----- NEW -----'); |