Skip to content

Instantly share code, notes, and snippets.

@sam-b-rose
sam-b-rose / machine.js
Created November 23, 2021 19:07
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@sam-b-rose
sam-b-rose / machine.js
Last active December 31, 2020 17:18
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@sam-b-rose
sam-b-rose / sam.css
Created February 19, 2020 17:12
My very own CSS framework.
* {box-sizing: border-box}
[hidden] {display: none !important}
[disabled] {pointer-events:none; opacity: 0.3}
.horizontal {display: flex; flex-direction: row; justify-content: space-between}
.vertical {display: flex; flex-direction: column}
.center {justify-content: center; align-items: center}
.top {align-items: flex-start}
.flex {flex: 1}
html {
--spacing-xs: 8px;
@sam-b-rose
sam-b-rose / ascii-emoji-cheat-sheet.md
Last active February 8, 2021 22:29
List of all supported ASCII emoji's supported by autocomplete-ascii-emoji package

Cheat Sheet

ʘ‿ʘ
innocent

ಠ_ಠ
disapproval

(╯°□°)╯︵ ┻━┻
table-flip