Skip to content

Instantly share code, notes, and snippets.

View nandcello's full-sized avatar
🎯
locked. in.

Niño Mollaneda nandcello

🎯
locked. in.
View GitHub Profile
@nandcello
nandcello / machine.js
Last active April 29, 2020 12:26
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
FormIdle
submit -> Submitting
Submitting
submissionSuccess -> ImagePicker
# show error .. try again?
submissionFail -> FormIdle
ImagePicker
PickerIdle
saveImages -> SavingImages
ListingForm
Idle*
userClicksSubmitButton -> Submitting
Submitting
serverRespondsWithError -> ErrorSubmitting
serverRespondsWithSuccess -> SuccessSubmitting
ErrorSubmitting
retry -> Submitting
SuccessSubmitting
@nandcello
nandcello / SketchSystems.spec
Last active April 15, 2020 23:37
Unauthenticated
Unauthenticated
UnauthenticatedIdle
signIn -> Authenticating
Authenticating
credentialsMatch -> Authenticated
credentialsError -> UnauthenticatedIdle
Authenticated
signOut -> Unauthenticated
viewListings -> Listings
Dashboard
@nandcello
nandcello / coc-settings.json
Last active November 24, 2019 05:49
NeoVim configuration
{
"suggest.noselect": false,
"coc.preferences.formatOnSaveFiletypes": [
"javascript",
"typescript",
"typescriptreact",
"json",
"javascriptreact",
"typescript.tsx",
"graphql"