My solutions to Advent of Code 2020 in Python 3 and Rust.
To auto-download your input of a given day, add these variables to a .env file:
AOC_SESSION=<session_cookie>
AOC_YEAR=2020Then run (for day 1):
$ sh aoci.sh 1
Loading .env
Retrieving input of Advent of Code 2020, day 1
Requesting https://adventofcode.com/2020/day/1/input
Writing input to 'input/day01.txt'
COMPLETEDThis will write your input to a file named input/day01.txt.