I hereby claim:
- I am tgrowden on github.
- I am tgrowden (https://keybase.io/tgrowden) on keybase.
- I have a public key ASBE1YUfFwq2lH_yQB0t0cbaAObogCtktAKCxW-o5h5Szgo
To claim this, I am signing this object:
blueprint: | |
name: "Yet Another Motion Automation" | |
description: > | |
# YAMA V10 | |
Turn on lights or scenes when motion is detected. | |
Four different scenes can be defined depending on time of day. |
#!/usr/bin/env/bash | |
t(){ tput $@;};for((;;));{ t cup 0 0;l=();x=`t cols`;for((r=0;r<`t lines`;r++));{ for((c=0;c<x;c++));{ i=$[c+RANDOM%3-1];d=$[${l[i>=x?x-1:(i>=0?i:0)]:-0}+RANDOM%2];l[c]=$d;printf "\033[48;5;$[d>10?0:d>5?160-(d-6)*36:226-d*6]m \033[0m";};};sleep .1;} |
/* eslint no-console: 0 */ | |
const doiuse = require('doiuse/stream') | |
const fs = require('fs') | |
const path = require('path') | |
const colors = { | |
reset: '\x1b[0m', | |
black: '\x1b[30m', | |
red: '\x1b[31m', | |
green: '\x1b[32m', |
I hereby claim:
To claim this, I am signing this object: