Skip to content

Instantly share code, notes, and snippets.

@jchi2241
jchi2241 / machine.js
Last active March 22, 2021 21:25
Generated by XState Viz: https://xstate.js.org/viz
const helpMachine = Machine(
{
id: "help",
initial: "closed",
context: {
tutorialLocation: ["getting-started"],
tutorialStep: undefined,
showTutorialProgress: false,
showReminder: false,
},
@jchi2241
jchi2241 / machine.js
Created March 22, 2021 21:17
Generated by XState Viz: https://xstate.js.org/viz
const helpMachine = Machine(
{
id: "help",
initial: "closed",
context: {
tutorialLocation: [],
tutorialStep: undefined,
showTutorialProgress: false,
showReminder: false,
},
@jchi2241
jchi2241 / machine.js
Created March 19, 2021 00:32
Generated by XState Viz: https://xstate.js.org/viz
const helpMachine = Machine(
{
id: "help",
initial: "closed",
context: {
tutorialLocation: [],
tutorialStep: undefined,
showTutorialProgress: false,
showReminder: false,
},
@jchi2241
jchi2241 / machine.js
Last active March 17, 2021 22:24
Generated by XState Viz: https://xstate.js.org/viz
const helpMachine = Machine({
id: "help",
initial: "closed",
context: {
location: [],
step: undefined,
},
states: {
closed: {
on: {
@jchi2241
jchi2241 / machine.js
Created March 14, 2021 09:18
Generated by XState Viz: https://xstate.js.org/viz
const appMachine = Machine(
{
id: "app",
initial: "home",
states: {
home: {
on: {
HOST_ROOM: "creatingRoom",
JOIN_ROOM: {
target: "inviting",
@jchi2241
jchi2241 / keybindings.json
Created February 23, 2020 04:59
vscode keybindings.json
// Place your key bindings in this file to override the defaults
[
{
"key": "alt+left",
"command": "cursorHome",
"when": "editorFocus"
},
{
"key": "alt+right",
"command": "cursorEnd",
@jchi2241
jchi2241 / settings.json
Created February 23, 2020 04:58
vscode settings.json
{
"search.exclude": {
".DS_Store": false,
".cache": true,
"**/.git": true,
"**/backend/venv": true,
"**/frontend/.cache": true,
"**/frontend/public": true,
"**/node_modules": true,
"node_modules": true,