Skip to content

Instantly share code, notes, and snippets.

View ddamico's full-sized avatar

David D'Amico ddamico

View GitHub Profile
@ddamico
ddamico / machine.js
Last active August 3, 2021 02:25
Generated by XState Viz: https://xstate.js.org/viz
const multiColoredBulbMachine = Machine({
id: 'multiColoredBulb',
initial: 'unlit',
context: {
color: '#fff'
},
states: {
lit: {
on: {
BREAK: 'broken',

Keybase proof

I hereby claim:

  • I am ddamico on github.
  • I am ddamico (https://keybase.io/ddamico) on keybase.
  • I have a public key ASBn-1a6qj8Um1wwesLhhaOAc4xXZUXeH4LIySb1Eou6Fgo

To claim this, I am signing this object:

@ddamico
ddamico / boxstarter.ps1
Last active October 26, 2017 02:01 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Modified By: David D'Amico <human@ddamico.org>
# Forked From: https://gist.github.com/jessfraz/7c319b046daa101a4aaef937a20ff41f
# Last Updated: 2017-25-10
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#