Skip to content

Instantly share code, notes, and snippets.

View p-j's full-sized avatar
:shipit:

Jérémie Parker p-j

:shipit:
View GitHub Profile
@p-j
p-j / machine.js
Created January 26, 2021 12:47
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions

Keybase proof

I hereby claim:

  • I am p-j on github.
  • I am jrmpkr (https://keybase.io/jrmpkr) on keybase.
  • I have a public key ASBzgYrFWikjuXcI9z7K5UDEezLluF7gmsiILw-7qV_TXAo

To claim this, I am signing this object:

@p-j
p-j / Gruntfile.js
Created August 26, 2013 12:37
Gruntfile.js inspired by Yeoman's webapp generated Gruntfiles, with BlessCSS and Assemble, Htmlmin configured to run smoothly with Usemin and Coffee/Mocha stuff commented out.
// Generated on 2013-07-30 using generator-webapp 0.2.6
'use strict';
var LIVERELOAD_PORT = 35729;
var lrSnippet = require('connect-livereload')({port: LIVERELOAD_PORT});
var mountFolder = function (connect, dir) {
return connect.static(require('path').resolve(dir));
};
// # Globbing
// for performance reasons we're only matching one level down: