Skip to content

Instantly share code, notes, and snippets.

View dannyrandall's full-sized avatar

Danny Randall dannyrandall

View GitHub Profile
ruleset temperature_store {
meta {
name "Temperature Store"
author "Daniel Randall"
provides temperatures, threshold_violations, inrange_temperatures
shares temperatures, threshold_violations, inrange_temperatures
}
global {
ruleset wovyn_base {
meta {
name "Wovyn Base"
author "Daniel Randall"
use module twilio
with
accountSID = meta:rulesetConfig{"accountSID"}
authToken = meta:rulesetConfig{"authToken"}
ruleset twilio_app {
meta {
name "Twilio App"
author "Daniel Randall"
use module twilio
with
accountSID = meta:rulesetConfig{"accountSID"}
authToken = meta:rulesetConfig{"authToken"}
}
ruleset twilio {
meta {
name "Twilio"
author "Daniel Randall"
configure using
accountSID = ""
authToken = ""
provides sendSMS, messages
ruleset hello_world {
meta {
name "Hello World"
description <<
A first ruleset for the Quickstart
>>
author "Daniel Randall"
shares hello
}
ruleset hello_world {
meta {
name "Hello World"
description <<
A first ruleset for the Quickstart
>>
author "Daniel Randall"
shares hello
}
#!/bin/bash
version="v0.1.2"
CURRENT_DIR=$(pwd)
SCRIPTNAME="${0##*/}"
LOGFILE=${CURRENT_DIR}/${SCRIPTNAME%.*}.log
function info() {
echo "$SCRIPTNAME: $1..."

Keybase proof

I hereby claim:

  • I am dannyrandall on github.
  • I am dannyrandall (https://keybase.io/dannyrandall) on keybase.
  • I have a public key ASCrpY9sPN_Im1wSU2lIGynp0nk0hm7GB5nG9up_Q1YeAQo

To claim this, I am signing this object: