Skip to content

Instantly share code, notes, and snippets.

@jwtd
jwtd / dataum_lexer.js
Last active December 22, 2019 02:03
Trying to parse a bar delimited string that has multiple variations.
/*
Trying to parse a bar delimited string that has multiple variations.
Load this code into https://sap.github.io/chevrotain/playground/
Test the strings...
A|B|C
A|B
A
const TF = require('@typeform/api-client');
const tf = TF.createClient({
token: process.env.TYPEFORM_PERSONAL_TOKEN
});
const data = {
"title": "This is my test form",
"theme": { "href": "https://api.typeform.com/themes/rqYVKG" },
"workspace": { "href": "https://api.typeform.com/workspaces/Ed4yM5" },
@jwtd
jwtd / keybase.md
Created January 24, 2018 20:28
Keybase.io claim for jwtd

Keybase proof

I hereby claim:

  • I am jwtd on github.
  • I am jwtd (https://keybase.io/jwtd) on keybase.
  • I have a public key whose fingerprint is 2717 5A34 A84A 7A87 96C9 87A5 49D2 FBC1 EFD8 1D35

To claim this, I am signing this object: