Skip to content

Instantly share code, notes, and snippets.

View ImadBoumzaoued's full-sized avatar
🤔
Developing

Imad Boumzaoued ImadBoumzaoued

🤔
Developing
  • Wiggli
  • Morocco
View GitHub Profile
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
const fetchMachine = Machine({
id: 'login-machine',
initial: 'idle',
context: {
retries: 0,
message: undefined
},
states: {
idle: {
on: {
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
/*
1 - close vscode if it is open
2 - at the terminal type:
Cd / Applications / Visual \ Studio \ Code.app/Contents/Resources/app/out/vs/workbench/electron-browser
3 - Add in the first line of the file: workbench.main.css, save and close. (When entering vscode it will report an error, click ignore always)
*/
/*!--------------------------------------------------------
@ImadBoumzaoued
ImadBoumzaoued / esnextbin.md
Last active March 16, 2017 15:39
esnextbin sketch