Skip to content

Instantly share code, notes, and snippets.

@lynaghk
lynaghk / Couch Back.jpg
Last active March 11, 2026 14:28
Image Upload Test
Couch Back.jpg
@lynaghk
lynaghk / SketchSystems.spec
Last active May 29, 2018 16:35 — forked from edamamegreen/SketchSystems.spec
iPhone 5 iOS 10*
iPhone 5 iOS 10
Screen Off
home button -> Notifications
top button -> Notifications
Locked
top button -> Screen Off
Notifications
@lynaghk
lynaghk / Choosing First Point.png
Last active May 10, 2018 00:22
A Drawing Program*
Choosing First Point.png
@lynaghk
lynaghk / SketchSystems.spec
Last active June 23, 2023 17:39
Egg Timer*
Egg Timer*
Stopped*
wind forward -> Done?
Ticking
wind forward -> Done?
wind backward -> Done?
tick -> Done?
Done?
@lynaghk
lynaghk / SketchSystems.spec
Last active April 9, 2026 10:08
Search Bar*
Search Bar*
Inactive*
focused -> Active
Active
canceled -> Inactive
typed -> Text Entry
Empty*
@lynaghk
lynaghk / SketchSystems.spec
Last active July 4, 2023 11:35
# A traffic light
# A traffic light
Powered
power failed -> Unpowered
Green*
tick -> Yellow
Yellow
tick -> Red
@lynaghk
lynaghk / SketchSystems.spec
Last active March 20, 2022 20:19
SketchSystems Frontend App*
SketchSystems Frontend App*
# Fired whenever the URL changes (e.g., browser's back/forward buttons are used, or if someone clicks a link in the UI to navigate to their profile, create a new sketch, etc.)
navigate -> Loading
Error
# All events from this state come from the server, which tells the frontend whether the user is logged in, if they own this sketch, etc.
Loading*
new logged in -> New Logged In
@lynaghk
lynaghk / 0000 Statepen
Last active April 26, 2018 07:17
A Statepen
View an interactive version of this gist on statepen.
@lynaghk
lynaghk / foo.ebnf
Last active December 7, 2017 07:44
2017 advent of code day 7, interactive repl session
<deps> = node (<'->'> names)?
node = name weight
names = name (<','> name)*
weight = <'('> #"[0-9]+" <')'>
name = #"[A-z]+"