Skip to content

Instantly share code, notes, and snippets.

View Platekun's full-sized avatar
😴
I may be slow to respond.

Carlos Camilo Platekun

😴
I may be slow to respond.
View GitHub Profile
GraphCutSegmentation
@Platekun
Platekun / machine.js
Created July 16, 2019 01:11
Generated by [XState Viz](https://xstate.js.org/viz)
// Available variables:
// Machine (machine factory function)
// assign (action)
// XState (all XState exports)
const fetchMachine = Machine({
id: 'Traffic Light',
initial: 'Red',
states: {
@Platekun
Platekun / machine.js
Created July 21, 2019 16:59
Generated by XState Viz: https://xstate.js.org/viz
Machine({
id: 'Cats Fetcher',
initial: 'idle',
context: {
cats: null,
error: null
},
states: {
idle: {
on: {
@Platekun
Platekun / machine.js
Last active September 7, 2019 15:56
Generated by XState Viz: https://xstate.js.org/viz
Machine({
id: "Test Case Machine",
initial: "initial",
states: {
initial: {
on: {
"The user goes to the analyze tab for the <WebForms>": "The summary view is shown The question panel is shown with list view, without filter icon, without blue chart icon List View should have: List of file names with their extensions and number of records: Each file upload record should show a icon displaying the different extension types: PDF JPG PNG DOC XLS CSV"
}
},
"The summary view is shown The question panel is shown with list view, without filter icon, without blue chart icon List View should have: List of file names with their extensions and number of records: Each file upload record should show a icon displaying the different extension types: PDF JPG PNG DOC XLS CSV": {
@Platekun
Platekun / machine.js
Last active November 8, 2019 18:51
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@Platekun
Platekun / machine.js
Last active November 8, 2019 19:49
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@Platekun
Platekun / machine.js
Created November 18, 2019 21:50
Generated by XState Viz: https://xstate.js.org/viz
"use strict";
const InitialState = '@Initial';
const FetchingState = '@Data/Request';
const FailureState = '@Data/Failure';
const PostFetchState = '@Data/Post';
const IdleState = '@Idle';
const TabsModeState = '@TabsMode';
const SinglePaneModeState = '@SinglePaneModeState';
const AlbumsTabState = '@Albums';
const AlbumsIdleState = '@Albums/Idle';
@Platekun
Platekun / machine.js
Created November 20, 2019 18:02
Generated by XState Viz: https://xstate.js.org/viz
function cuid() {}
function sweetAlert() {}
const REDIRECT_LOCATION = 'https://www.getluna.com/';
/** ***************************************************************************
* Form Machine *
*************************************************************************** */
const InitialState = '@Initial';
@Platekun
Platekun / machine.js
Created December 3, 2019 18:31
Generated by XState Viz: https://xstate.js.org/viz
function cuid() {}
function sweetAlert() {}
function moment() {}
function domToImage() {}
function api() {}
function createProgressFormDraft() {}
function adjustMonthYearDate() {}
function formatIntoValidServerDate () {}
@Platekun
Platekun / machine.js
Created December 3, 2019 19:25
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions