Skip to content

Instantly share code, notes, and snippets.

Dessert power.

Taylor Beseda tbeseda

Dessert power.
View GitHub Profile
View h-card-presenter.js
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 Aug 11, 2022
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 \
View gist:71ecc7cc86dea12508080b279f0d69d7
WeFUkTWPAZhsjin wU2caGSa28CMuiV 8QSAozTzd6qds7Q IkI7hFsQUkddZVA
jCFMT2fiwBR9902 msckGKe2q17TCKq 6Xr2MZHgg4NizN6 ArXZTHJ1Jm91lsq
OT0FUZD6dBx2oCj AYMCxCKf7mgoV7v B8bJ3yYcDhuUvwo mKo7W5PR5KoscdY
gCB227ijRIdAlmX cOiaWiDyCmxtLST YM5b82IP.
tbeseda /
Created Oct 9, 2015
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 Jun 28, 2015
Ask Alexa about Secrets in Hearthstone
View IntentSchema.json
"intents": [
"intent": "PlayerClassSecrets",
"slots": [
"name": "PlayerClass",
"type": "LITERAL"

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!

tbeseda / commit-msg
Created Mar 24, 2014
Append current Rdio track to commit message
View commit-msg
message_file = ARGV[0]
def app_is_running?(app_name)
`ps aux` =~ /#{app_name}/ ? true : false
while true
if app_is_running?('')
tbeseda /
Created Oct 3, 2013
Given a number of rows and columns generate spreadsheet style coordinates. i.e. [A1, B1, C1...BJ9, BK9, BL9]
generate_coordinates = (rows, columns) ->
generated_coordinates = []
for i in [1..rows]
for n in [0..(columns-1)]
a = if n < 26 then alphabet[n] else alphabet[Math.floor(n/26)-1] + alphabet[n%26]
generated_coordinates.push(a + i)
coordinates = generate_coordinates(8, 63)
tbeseda / Logger.js
Last active Dec 19, 2015
The utility I use to insert data into a Google Spreadsheet with Google Apps Script
View Logger.js
SheetLogger = function() {}
SheetLogger.prototype = {
set_cell: function(sheet_name, range, value) {
var sheet = SpreadsheetApp.getActive().getSheetByName(sheet_name);
append_row_to_sheet: function(sheet_name, value) {
var sheet = SpreadsheetApp.getActive().getSheetByName(sheet_name);