Skip to content

Instantly share code, notes, and snippets.

View kelkes's full-sized avatar

David Wippel kelkes

View GitHub Profile

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:

@kelkes
kelkes / README-Template.md
Last active May 22, 2018 14:59 — forked from PurpleBooth/README-Template.md
A template to make good README.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 / machine.js
Created October 28, 2020 19:30
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@kelkes
kelkes / confirm-icon-button.tsx
Created March 9, 2022 20:37
ConfirmIconButton
import React, {useCallback} from 'react';
import {
Popover,
PopoverTrigger,
PopoverContent,
PopoverHeader,
PopoverBody,
PopoverFooter,
PopoverArrow,
PopoverCloseButton,
@kelkes
kelkes / client.js
Last active May 16, 2022 02:44
hapijs/nes cookie based auth demo
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(() => {