I hereby claim:
- I am michaelmcdonald on github.
- I am michaelmcdonald (https://keybase.io/michaelmcdonald) on keybase.
- I have a public key ASC5Bx83BzjO7w8RrjSZt9v-MZE1j2gh9olZ8C2bIcvCGgo
To claim this, I am signing this object:
blueprint: | |
name: Moisture Sensor | |
description: Perform action when moisture sensor turns wet | |
domain: automation | |
input: | |
actions: | |
name: Actions | |
description: Notifications or similar to be run. | |
{{ trigger.event.data.new_state.attributes.friendly_name }} will be the name of the | |
sensor |
curl -sL -w "%{http_code}\\n" "http://example.com/“ -o /dev/null |
<style type="text/css"> | |
<!-- | |
hr { | |
height: 1px; | |
border: none; | |
border-top: 1px solid #aaa; | |
} | |
td { | |
vertical-align: top; |
#!/bin/sh | |
# Call as repeatcmd.sh <command></command> | |
# Get text to output from args | |
CMD=$1 | |
# Check that a command was supplied | |
if [[ $CMD == "" ]]; then | |
exit |
#!/usr/bin/expect | |
# Expect script to repeatedly run the same command | |
# by jwbensley<at>gmail.com | |
# If you don't like it, fuck off. | |
# Long delay for those tricky hostnames | |
set timeout 60 |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# Installs GNU Command Line Tools & then some. Requires homebrew. | |
# Most are newer and more powerful that than OSX’s but also solves most OS compatibility issues | |
echo "Installing GNU coreutils and various." | |
export PATH="$(brew --prefix coreutils)/libexec/gnubin:/usr/local/bin:$PATH" | |
brew install coreutils | |
brew install binutils | |
brew install diffutils | |
brew install ed --with-default-names | |
brew install findutils --with-default-names |