Skip to content

Instantly share code, notes, and snippets.

View mct-dev's full-sized avatar
😃

Mike Tobias mct-dev

😃
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mct-dev on github.
  • I am npchampion (https://keybase.io/npchampion) on keybase.
  • I have a public key ASBKMEV_uzj6WByqI7UwkK5-T--qUWQigB3u3CqcfXnSfgo

To claim this, I am signing this object:

'use strict';
function setCookie(cookieName, cookieValue, expiresDays, domain) {
var path = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : '/';
var isSecure = arguments[5];
var isSessionCookie = arguments[6];
var cookieDomain = window.lp.globals.cookieDomain;
var expires = '';
if (expiresDays) {
@mct-dev
mct-dev / machine.js
Last active June 9, 2020 22:46
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions