Skip to content

Instantly share code, notes, and snippets.

View DrNotThatEvil's full-sized avatar

Willmar Knikker DrNotThatEvil

  • The Netherlands
View GitHub Profile
@DrNotThatEvil
DrNotThatEvil / Console.js
Created December 6, 2019 11:54
Advent of code - 1
(((document.getElementsByTagName("pre")[0]).textContent.split("\n")).map(x => (Math.floor((parseInt(x)/3))-2))).reduce((a,c) => {return (Number.isNaN(c) ? a : a+c);});
@DrNotThatEvil
DrNotThatEvil / keybase.md
Last active July 14, 2016 14:19
keybase.md

Keybase proof

I hereby claim:

  • I am DrNotThatEvil on github.
  • I am drnotthatevil (https://keybase.io/drnotthatevil) on keybase.
  • I have a public key whose fingerprint is 709A 7051 BB96 B13C D6EC 9D95 AE45 3FDB 61E6 B197

To claim this, I am signing this object:

@DrNotThatEvil
DrNotThatEvil / 0_reuse_code.js
Last active August 27, 2015 08:16
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console