This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Format: JSON | |
Protocol: HTTP | |
Type: Post (always Post, or just for transactions? Can I GET a query as well?) | |
Concept: Query | |
--- | |
Protocol Method | |
(Concept) | |
--- | |
HTTP Post | |
(Query) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// node clobber.mjs -> demonstrate common filesystem anti-pattern that creates race conditions | |
// node clobber.mjs safe -> demonstrate safe filesystem manipulation | |
import cluster from 'cluster'; | |
import process from 'process'; | |
import fs from 'fs'; | |
import path from 'path'; | |
import { fileURLToPath } from 'url'; | |
const __dirname = path.dirname(fileURLToPath(import.meta.url)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ReactiveController, LitElement } from 'Lit'; | |
/* | |
class Component extends LitElement { | |
bounds = new BoundsControllerBasic(this); | |
render() { | |
// use this.bounds.width, this.bounds.height | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euxo pipefail | |
# Idempotent deck setup script | |
# Expects to live with other dotfiles: | |
# - ~/.bashrc | |
# - ~/.flat/docker | |
# - ~/.flat/docker-compose | |
# ref: https://askubuntu.com/a/30157/8698 |
OlderNewer