This repository contains my solutions in several languages to Advent Of Code.
But basically, open the inspector, goto network and look for the Cookie.
This should be put into a local file .token
.
There is scripts/fetch.clj
which will try to automatically fetch the current input, as which you can invoke as a babashka task:
bb fetch
Since it won't ask for the input either too early or if it has already been grabbed you can use
watch bb fetch
To automatically grab the input while you're reading the problem.
There is also a task to update the badges scripts/badges.clj
for the readme with:
bb badges
which was forked from genmeblog.
Eric has requested that people don't check-in their inputs into source control, at the same time I really want to have the inputs in there so that I can continue to have a working repository. The compromise I've settled on is to create a password protected zip of the input files, that way they are in the repository but they aren't easily scrapable by outsiders.
For this I've created scripts/zip
, scripts/unzip
and scripts/clean
to aid
with the prepations.