Skip to content

Instantly share code, notes, and snippets.

View mhedges1's full-sized avatar

Michael mhedges1

  • devhedges
  • Arkansas
View GitHub Profile
@mhedges1
mhedges1 / machine.js
Created September 23, 2020 07:13
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@mhedges1
mhedges1 / machine.js
Last active September 22, 2020 22:58
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@mhedges1
mhedges1 / machine.js
Last active September 22, 2020 22:25
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@mhedges1
mhedges1 / SeedResource.php
Last active June 5, 2020 02:50
Quickly build boilerplate for your Laravel 5.1 application's resources. Builds a Model, Migration, Controller, FormRequests, Commands, and Events in one expression. Simply place this file into App/Console/Commands/ and add " \App\Console\Commands\Resource\SeedResource::class" to your $commands array in App\Console\Kernel.php
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
/**
* Class SeedResource
* @package App\Console\Commands\Resource
*/