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
const fetchMachine = Machine({ | |
id: 'timer', | |
initial: 'idle', | |
context: { | |
index: 0 | |
}, | |
states: { | |
idle: { | |
on: { | |
START: 'recording' |
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
# Just place this file in your repo under the .github/workflows folder. | |
# You set all of the secrets in the setting of the repo | |
name: Deploy to Testflight | |
# When a pull request is closed... | |
# This is because this action commits back to the repository | |
# so setting this on a push would cause an infinite loop of commits | |
# unless you pragmatically check the contents of the repo or something |
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
Feature: Timing an Agenda | |
As a Leader I want to time my agendas | |
so that I can know how long it really takes | |
to run my agendas | |
Background: | |
Given the following agenda: | |
| HOW TO CAMP | time | | |
| What is camping? | 3 min | | |
| History of camping | 2 min | |
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
Feature: Timing an Agenda | |
As a Leader I want to time my agendas | |
so that I can know how long it really takes | |
to run my agendas | |
Background: | |
Given the following agenda: | |
| HOW TO CAMP | time | | |
| What is camping? | 3 min | | |
| History of camping | 2 min | |
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
const seedToSale = Machine({ | |
id: "canabis-regulation", | |
initial: "idle", | |
states: { | |
idle: { | |
on: { | |
TAG_RECEIVED: "seed" | |
} | |
}, | |
seed: { |
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
const walk = assign({ | |
distance: (context, event) => context.distance - 1 | |
}); | |
const ride = assign({ | |
distance: (context, event) => context.distance - 5 | |
}) | |
const hasArrived = (context, event) => context.distance <= 0; |
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
const tahoeTravelMachine = Machine({ | |
id: 'tahoe-travel', | |
initial: 'walking', | |
states: { | |
walking: { | |
on: { | |
THUMBS_UP: 'hitchhiking', | |
ARRIVE: 'arrived' | |
} | |
}, |
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
const lightBulbMachine = Machine({ | |
id: 'light', | |
initial: 'unlit', | |
context: { | |
color: "blue" | |
}, | |
states: { | |
lit: { | |
on: { | |
TOGGLE:'unlit', |
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
td:last-child { | |
padding: 5px; | |
width: 100px; | |
display: flex; | |
flex-direction: row; | |
align-items: center; | |
justify-content: space-around; | |
} | |
td div { |
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
Show hidden characters
{ | |
"presets": [ | |
"env", | |
"stage-0", | |
"react" | |
] | |
} |
NewerOlder