Skip to content

Instantly share code, notes, and snippets.

Avatar

David Wippel kelkes

View GitHub Profile
View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@kelkes
kelkes / README-Template.md
Last active May 22, 2018 — forked from PurpleBooth/README-Template.md
A template to make good README.md
View README-Template.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@kelkes
kelkes / client.js
Last active Apr 28, 2020
hapijs/nes cookie based auth demo
View client.js
import debug from 'debug';
import Nes from 'nes/client';
const client = new Nes.Client('ws://localhost:3000') // replace with your url here
// we use isomorphic-fetch
// optain a ws related cookie via this get request (using the default auth cookie)
fetch('/nes/auth', {
credentials: 'same-origin',
})
.then(() => {
View keybase.md

Keybase proof

I hereby claim:

  • I am kelkes on github.
  • I am kelkes (https://keybase.io/kelkes) on keybase.
  • I have a public key whose fingerprint is 104A 14F9 5C1F FA6F 3634 680D AA96 5074 575B 1276

To claim this, I am signing this object:

You can’t perform that action at this time.