Skip to content

Instantly share code, notes, and snippets.

Daniel Evans danielevns

View GitHub Profile

Keybase proof

I hereby claim:

  • I am danielevns on github.
  • I am devans ( on keybase.
  • I have a public key ASDGGrF8we_up6CUGg-pwrG6N1F_IaH41XRzitAUYyXptwo

To claim this, I am signing this object:

danielevns / main.js
Last active Apr 28, 2020 v2 history generation
View main.js
const { createHash, createHmac } = require("crypto");
const salt = "0000000000000000004d6ec16dafe9d8370958664c1dc422f452892264c59526"; // chosen in seeding event:
let [id, hash] = process.argv.slice(2);
id = Number(id);
if (Number.isNaN(id) || !Number.isSafeInteger(id) || id < 1) {
View gong.js
function gong() {
const audio = new Audio("")
return new Promise(resolve => audio.onended = resolve)
await gong()
View sleep.js
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms))
You can’t perform that action at this time.