Skip to content

Instantly share code, notes, and snippets.

// 16 horizontaal: Blikvoer (4) [.|R|.|K]
// https://www.nrc.nl/nieuws/2020/04/18/scrypto-a3996847
let vowels = ['a','e','i','o','u'];
let alphabet = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'];
alphabet.forEach(function(x) {
vowels.forEach(y => console.log(`${x}r${y}k`));
}
)
const COLL = [{author: "W.F. Hermans", title: "Conserve", year: 1947},
{author: "W.F. Hermans", title: "De tranen der acacia's", year: 1949},
{author: "W.F. Hermans", title: "Ik heb altijd gelijk", year: 1951},
{author: "W.F. Hermans", title: "Het behouden huis", year: 1951},
{author: "Harry Mulisch", title: "Archibald Strohalm", year: 1952},
{author: "Harry Mulisch", title: "De diamant", year: 1954}
];
COLL.filter(item => item.year === 1951).forEach(found => console.log(`Author: ${found.author}, Title: ${found.title}`));
@wvdijk
wvdijk / gdrive_recent.js
Last active April 9, 2020 19:37
Bookmarklet to see recent files in Google Drive without your Google Photos Uploads
javascript:(function(){
let d = new Date();
d.setDate(d.getDate() - 14);
let range = d.toISOString().slice(0,10);
let url = `https://drive.google.com/drive/search?q=title:-.jpg%20after:${range}`;
window.open(url);
})();