3 ms·
One year my family did this when we were on vacation in a foreign country. I happened to have my laptop with me and wrote a shell script that would generate a r
by klodolph 6y ago
One year my family did this when we were on vacation in a foreign country. I happened to have my laptop with me and wrote a shell script that would generate a random Secret Santa graph. Each family member would go up to my laptop, it would say, “Are you Alice?” they’d press enter, and the program would say, “You are assigned to Bob. Press enter.” They’d press enter and it would clear, ready for the next person.
- kevincox 6y agoI did a ruby script that sent emails. It also would restart if some constraints were failed.