Skip to content

Instantly share code, notes, and snippets.

View tbeseda's full-sized avatar

Taylor Beseda tbeseda

View GitHub Profile
tbeseda /
Last active December 15, 2023 01:42
print 2 big strings side by side in the terminal

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'


hoot hoot

class HCardPresenter {
// raw properties
// class consumer interface as proxy
#interface = new Proxy(this, {
get(obj, key) {
return obj[key] ||[key];
// properties proxy for #data
tbeseda /
Last active August 11, 2022 02:13
My gitclean command. Prompts if you'd like to proceed with delete.
# uses 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 \
WeFUkTWPAZhsjin wU2caGSa28CMuiV 8QSAozTzd6qds7Q IkI7hFsQUkddZVA
jCFMT2fiwBR9902 msckGKe2q17TCKq 6Xr2MZHgg4NizN6 ArXZTHJ1Jm91lsq
OT0FUZD6dBx2oCj AYMCxCKf7mgoV7v B8bJ3yYcDhuUvwo mKo7W5PR5KoscdY
gCB227ijRIdAlmX cOiaWiDyCmxtLST YM5b82IP.
tbeseda /
Created October 9, 2015 03:00
Trouble with JAWS Quick Start Deploy, AccessDeniedException during endpoint deploy

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
tbeseda / IntentSchema.json
Created June 28, 2015 21:49
Ask Alexa about Secrets in Hearthstone
"intents": [
"intent": "PlayerClassSecrets",
"slots": [
"name": "PlayerClass",
"type": "LITERAL"
tbeseda /
Created September 30, 2014 15:45

Keybase proof

I hereby claim:

  • I am tbeseda on github.
  • I am tbeseda ( on keybase.
  • I have a public key whose fingerprint is 880A 07B8 0FB5 375B 00B3 9C87 D1F7 E2C3 3C5E C513

To claim this, I am signing this object:

Visualize data from a SmartThings sensor with Dweet and Freeboard

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.

The SmartThings SmartApp and Dweet

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!