Skip to content

Instantly share code, notes, and snippets.

View nrgapple's full-sized avatar
🕺

Adam Geiger nrgapple

🕺
View GitHub Profile

Test Example

const test = 15
adfasdfasdf

jkflkasdjfasdf;lkjasdf

heh

@nrgapple
nrgapple / machine.js
Created February 26, 2020 03:46
Generated by XState Viz: https://xstate.js.org/viz
const chatMachine = Machine({
id: 'chat-app',
context: {
},
initial: 'init',
states: {
init: {
initial: 'wait',
states: {
wait: {
@nrgapple
nrgapple / machine.js
Last active February 14, 2020 00:25
Generated by XState Viz: https://xstate.js.org/viz
const chatMachine = Machine({
id: 'chat-app',
context: {
},
initial: 'init',
states: {
init: {
initial: 'wait',
states: {
wait: {
@nrgapple
nrgapple / machine.js
Last active February 13, 2020 17:07
Generated by XState Viz: https://xstate.js.org/viz
const appMachine = Machine({
id: 'shorts-app',
context: {},
type: 'parallel',
states: {
start: {
initial: 'load',
states: {
load: {
initial: 'loadUser',
@nrgapple
nrgapple / machine.js
Created February 12, 2020 17:31
Generated by XState Viz: https://xstate.js.org/viz
const chatMachine = Machine({
id: 'chat-app',
context: {
},
initial: 'init',
states: {
init: {
initial: 'wait',
states: {
wait: {
@nrgapple
nrgapple / machine.js
Last active February 12, 2020 17:25
Generated by XState Viz: https://xstate.js.org/viz
const chatMachine = Machine({
id: 'chat-app',
context: {
},
initial: 'init',
states: {
init: {
initial: 'wait',
states: {
wait: {
(define fucked (lambda (st f)
(if (equals? st '('s' 't' 'u' 'd' 'y' 'e' 'd'))
(yourGood)
(lambda (x) x x))))
(let
((461Exam (lambda (x) x x))
(prep '('n' 'o' 'p' 'e'))
(fucked prep 461Exam))