Skip to content

Instantly share code, notes, and snippets.

const fetchMachine = Machine({
id: 'applicant-details',
initial: 'loading',
context: {
applicationId: '',
applicantId: '',
fields: {},
checked: {},
originalIncomeData: [],
@adriantoine
adriantoine / machine.js
Last active February 26, 2020 11:55
Generated by XState Viz: https://xstate.js.org/viz
const processDefinition = [
{ key: 'terms' },
{ key: 'beforeyoucontinue' },
{ key: 'homebuying' },
{
key: 'applicants',
children: [{
key: 'date_of_birth'
}, {
key: 'nationality'
@adriantoine
adriantoine / cloudSettings
Created November 12, 2019 11:14
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-11-12T11:14:42.944Z","extensionVersion":"v3.4.3"}
const MyComponent = () => {
return (
<div>
This component only renders the introduction text of my website.
</div>
);
};
<Box marginTop="10px" marginBottom="20px" borderBottom="1px solid blue">
<Flex>
<Text fontWeight="bold">Hello</Text>
<Text color="red">World</Text>
</Flex>
<Box>
@adriantoine
adriantoine / profile.json
Created May 24, 2016 09:39
iTerm profile
{
"Ansi 6 Color" : {
"Green Component" : 0.5044888257980347,
"Red Component" : 0.06165435537695885,
"Blue Component" : 0.838664710521698
},
"Tags" : [
],
"Ansi 12 Color" : {
@adriantoine
adriantoine / sublime-snippets.md
Last active December 25, 2015 21:29
My Sublime Snippets

My sublime snippets

@adriantoine
adriantoine / Preferences.sublime-settings
Last active February 8, 2017 09:41
My sublime text settings
// Packages:
// -------------------------------
// Automatic Backups
// Color Highlighter
// FuzzyFilePath
// GitGutter
// SideBarEnhancements
// NodeRequirer
// Theme: