Skip to content

Instantly share code, notes, and snippets.

View maureentsakiris's full-sized avatar

Maureen Tsakiris maureentsakiris

View GitHub Profile
@maureentsakiris
maureentsakiris / machine.js
Last active March 5, 2021 14:35
Generated by XState Viz: https://xstate.js.org/viz
const checkIfInDeliveryAddress = () => {
return new Promise((resolve, reject) => {
setTimeout(reject("NOPE"), 1000)
})
}
const addAddressMachine = Machine({
id: 'addDeliveryAddress',
initial: 'addAddress',
context: {
@maureentsakiris
maureentsakiris / README.md
Last active November 23, 2015 19:54
Invitations

Hi guys!

I made a list of around 70 people with different locations around the world and then wrote a script that generates a csv depending on some variables. So you can either use the csv I uploaded below or go to http://maureentsakiris.com/generate-chain.html and control the length of the 'chain' and the timeframe over which these users theoretically signed up. I'm not the greatest programmer but it seems to work ok and I think it could help until some real data comes in.

I also tried my luck with one of Mike Bostock's examples (http://bl.ocks.org/mbostock/5851933) but didn't really get beyond changing the hardcoded data and some colors...

http://maureentsakiris.com/invitations-01.html

http://maureentsakiris.com/invitations-globe-01.html