Skip to content

Instantly share code, notes, and snippets.

@achambers
achambers / machine.js
Last active June 4, 2021 12:30
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@achambers
achambers / machine.js
Created October 18, 2021 10:42
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@achambers
achambers / machine.js
Last active October 18, 2021 13:45
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// - XState (all XState exports)
@achambers
achambers / machine.js
Last active October 19, 2021 17:27
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@achambers
achambers / README.md
Last active January 15, 2025 09:31
Apply PR patch to monorepo branch

This script is used to help engineers apply their PRs to the migrated monorepo if rebasing is causing issues.

The script can be used via npx like so:

npx https://gist.github.com/achambers/c22c1e253107dfc5f8eb707a72e4d8cb -s <source-branch>

Where <source-branch> is the branch name of the PR branch.