UPDATE: this was published as a module on npm
Like in a test...
import assert from 'node:assert/strict'
import test from 'node:test'
import sideBySide from './side-by-side.js'
Like in a test...
import assert from 'node:assert/strict'
import test from 'node:test'
import sideBySide from './side-by-side.js'
class HCardPresenter { | |
// raw properties | |
#data; | |
// class consumer interface as proxy | |
#interface = new Proxy(this, { | |
get(obj, key) { | |
return obj[key] || obj.mf[key]; | |
}, | |
}); | |
// properties proxy for #data |
# uses gum: https://github.com/charmbracelet/gum | |
gitclean() { | |
DIRTY=$(git clean -Xdn | sed 's/Would remove //g') | |
gum style \ | |
--foreground 196 --border thick --border-foreground 88 \ | |
--margin "1 2" --padding "1 3" "$DIRTY" | |
gum confirm "🧹 Delete these?" \ | |
&& git clean -Xdf \ |
BEGIN MESSAGE. | |
WeFUkTWPAZhsjin wU2caGSa28CMuiV 8QSAozTzd6qds7Q IkI7hFsQUkddZVA | |
jCFMT2fiwBR9902 msckGKe2q17TCKq 6Xr2MZHgg4NizN6 ArXZTHJ1Jm91lsq | |
OT0FUZD6dBx2oCj AYMCxCKf7mgoV7v B8bJ3yYcDhuUvwo mKo7W5PR5KoscdY | |
gCB227ijRIdAlmX cOiaWiDyCmxtLST YM5b82IP. | |
END MESSAGE. |
Following the Quick Start in the Readme, an AccessDeniedException
error is reported during the endpoint deployment.
$ jaws dash
JAWS: Dashboard for project "jaws-test2"
-------------------------------------------
Project Summary
-------------------------------------------
Stages:
{ | |
"intents": [ | |
{ | |
"intent": "PlayerClassSecrets", | |
"slots": [ | |
{ | |
"name": "PlayerClass", | |
"type": "LITERAL" | |
} | |
] |
I hereby claim:
To claim this, I am signing this object:
My SmartThings multisensor is a great little piece of technology. It reports, in real time, motion, temperature, and open/close state of my back door. The iOS app is slick, too, but I wanted a way to view it from my computer and have access to historical data.
Enter Dweet and Freeboard from Buglabs.
There's actually no setup required on Dweet (but be sure to check out their nifty demo). It just starts eating data and making it available for use via HTTP/JSON!