These are my solutions for Advent of Code.
All inputs are encrypted before storing them in the repository.
Decrypt using git-secret: git secret reveal
This repo also contains a minimal cli to generate files for problems ready for implementing. In order to work, it needs a proper session to start with. To get a session this cli can work with, follow these steps:
Log in on Advent of Code in your browser
Use developer tools or similar to get session cookie
Add session cookie to httpie session:
# http --session session https://adventofcode.com/ "Cookie: session=<session-id>"
Run
aoc
Generated by the script in AoCTiles, which is an adapted version of a script originally created by LiquidFun.
To add a pre-commit hook that generates tiles, copy pre-commit
to .git/hooks/
and make it executable.