Skip to content

Instantly share code, notes, and snippets.

View hrafnkellpalsson's full-sized avatar

Hrafnkell Pálsson hrafnkellpalsson

View GitHub Profile
@hrafnkellpalsson
hrafnkellpalsson / SketchSystems.spec
Created November 25, 2019 19:25
My Awesome Sketch
My Awesome Sketch
First State
some event -> Second State
Second State
@hrafnkellpalsson
hrafnkellpalsson / machine.js
Last active January 14, 2020 23:46
Generated by XState Viz: https://xstate.js.org/viz
// * Stubbed out methods so we can copy the machine to the xstate visualizer
const fetchAll = () => {}
const setRemoteData = () => {}
const isDeselectingLastSelectedItem = () => {}
const selectMenuItem = () => {}
const deselectMenuItem = () => {}
const isNotCreated = (ctx, e) => false
const isNotYetActive = (ctx, e) => false
const hasOrderedAndIsActive = (ctx, e) => false
const hasOrderedAndIsExpired = (ctx, e) => false
@hrafnkellpalsson
hrafnkellpalsson / cloudSettings
Last active August 13, 2020 21:17
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-08-13T21:17:43.688Z","extensionVersion":"v3.4.3"}