Skip to content

Instantly share code, notes, and snippets.

View tbeseda's full-sized avatar
🥚
The egg bar is coveted af

Taylor Beseda tbeseda

🥚
The egg bar is coveted af
View GitHub Profile

Goals

Deploy an Architect app to an owned AWS account and access that application at a custom domain name.

This assumes you have Architect working locally and connected to your AWS account.

For this guide, we will walk through setting up an existing Architect (+ Enhance) app with the domain: hnr.app.

Additionally, we will skip a "staging" deploy and domain, but that is highly recommended and follows the same steps. This guide will add SSL certs for wildcard subdomains, allowing you to use staging.example.com.

@tbeseda
tbeseda / README.md
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

Usage

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
#data;
// class consumer interface as proxy
#interface = new Proxy(this, {
get(obj, key) {
return obj[key] || obj.mf[key];
},
});
// properties proxy for #data
@tbeseda
tbeseda / gitclean.sh
Last active August 11, 2022 02:13
My gitclean command. Prompts if you'd like to proceed with delete.
# 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.
@tbeseda
tbeseda / issue.md
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
 -------------------------------------------
    Stages: 
@tbeseda
tbeseda / IntentSchema.json
Created June 28, 2015 21:49
Ask Alexa about Secrets in Hearthstone
{
"intents": [
{
"intent": "PlayerClassSecrets",
"slots": [
{
"name": "PlayerClass",
"type": "LITERAL"
}
]
@tbeseda
tbeseda / keybase.md
Created September 30, 2014 15:45
keybase.md

Keybase proof

I hereby claim:

  • I am tbeseda on github.
  • I am tbeseda (https://keybase.io/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: