Skip to content

Instantly share code, notes, and snippets.

View a8t's full-sized avatar

Andy Tran a8t

  • Montréal, Quebec
View GitHub Profile
@a8t
a8t / machine.js
Last active October 7, 2020 16:03
Generated by XState Viz: https://xstate.js.org/viz
const documentUploadSheetStates = {
initial: 'idle',
states: {
idle: {
on: {
DELETE_ALL: 'idle',
FOCUS_INPUT: 'typing',
},
},
@a8t
a8t / machine.js
Last active December 31, 2019 22:24
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@a8t
a8t / CSS Grid
Created September 18, 2017 04:13
$break-small: 600px;
$break-large: 900px;
$break-xlarge: 1400px;
.restaurant-wrapper {
display: grid;
width: auto;
grid-template-areas:
"gutter desc pic gutter2"
"gutter contact resv gutter2"