I hereby claim:
- I am remydagostino on github.
- I am rdagostino (https://keybase.io/rdagostino) on keybase.
- I have a public key ASD5nmQlyySYoW4O0t4CzAotq4NrH-bmAuAH5IR2GfWsAQo
To claim this, I am signing this object:
POWERPNT.exe /s "<name of file goes here>.ppt" |
I hereby claim:
To claim this, I am signing this object:
// Usage: node matcher.js people-list.txt 2 | |
const people = require('fs').readFileSync(process.argv[2]).toString().split('\n'); | |
const weekNum = Number(process.argv[3]); | |
const pairs = people | |
.map((person, index) => people[(index + weekNum) % people.length]) | |
.map((person, index, list) => { | |
const match = list[list.length - index - 1]; | |
if (match === person) { |
// Usage: node beverage-buddies.js people-list.txt history.txt showPairingStamped | |
const { readFileSync } = require('fs'); | |
const process = require('process'); | |
function main(peopleFile, historyFile, command) { | |
const peopleLines = removeComments(readFileSync(peopleFile).toString().split('\n')); | |
const historyLines = readFileSync(historyFile).toString().split('\n'); | |
const now = Date.now(); | |