- Make sure your Google Form is set up to save results to spreadsheet
- Follow the instructions from Tabletop.js to make the spreadsheet loadable (short version: publish to web, then make it public with link).
- Copy the example below (you'll need the tabletop script tag, the embedded javascript below it, and an element with an id for displaying the signers)
- Change
publicSpreadsheetUrl
in the example above to use the share link for your spreadsheet - Change
nameField
to be the name of the column you want to display
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
assert, | |
assertEquals, | |
} from "https://deno.land/std/testing/asserts.ts"; | |
// this passes | |
Deno.test("should be able to get text and body from a text response", async () => { | |
const res = new Response('hi') | |
assert(res.body) | |
assertEquals(await res.text(), 'hi') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
FILES=$(deno fmt) | |
if [ -n "$FILES" ]; then | |
echo "formatted, adding files $FILES" | |
echo "$FILES" | xargs git add | |
fi | |
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en" dir="ltr"> | |
<head> | |
<meta charset="utf-8"> | |
<title>template stamping</title> | |
</head> | |
<body> | |
<div id=one></div> | |
<div id=two></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat pacakge.json | jq -r '.dependencies|keys|join(" ")' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function createObjects (acc, p) { | |
// rel="next" => 1: rel 2: next | |
var m = p.match(/\s*(.+)\s*=\s*"?([^"]+)"?/) | |
if (m) acc[m[1]] = m[2] | |
return acc | |
} | |
function parseLink(link) { | |
try { | |
var m = link.match(/<?([^>]*)>(.*)/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const faker = require('faker') | |
const adler32 = require('adler-32') | |
faker.seed(adler32.str('[email protected]')) | |
faker.internet.email() // always returns '[email protected]' | |
faker.seed(adler32.str('[email protected]')) | |
faker.internet.email() // always returns '[email protected]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>CTA Aggregator API example</title> | |
</head> | |
<body> | |
<pre id="events"></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// modified version of https://github.com/CMTegner/favicolor | |
var size = 1; | |
var canvas = document.createElement('canvas'); | |
if (typeof canvas.getContext === 'function') { | |
var ctx = canvas.getContext('2d'); | |
canvas.width = size; | |
canvas.height = size; | |
} |
I hereby claim:
- I am jkriss on github.
- I am jkriss (https://keybase.io/jkriss) on keybase.
- I have a public key whose fingerprint is FFFE 99AB E363 7EBE AEC0 A03B 3A8C 3222 4FB2 CC77
To claim this, I am signing this object:
NewerOlder