This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const lib = { | |
| findUser: () => new Promise((resolve, reject) => { | |
| setTimeout(() => { | |
| resolve({name: 'ricky', content: 'z-z'}) | |
| }, 1) | |
| }), | |
| getUsers: (users = []) => new Promise((resolve, reject) => { | |
| setTimeout(() => { | |
| resolve([ | |
| ...users, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const fetchMachine = Machine({ | |
| id: 'payments', | |
| initial: 'init', | |
| context: { | |
| retries: 0 | |
| }, | |
| states: { | |
| init: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # first, download the big file https://drive.google.com/file/d/1vh-RleVkpw68Qa25S7rD3nPeUX6vNZac/view | |
| # name it shop-settings.xlsx | |
| # converts xlsx into csv | |
| brew install gnumeric | |
| brew install sqlite3 | |
| # gnumeric contains the ssconvert tool | |
| ssconvert shop-settings.xlsx shop-settings.csv |
OlderNewer