First log in to Advent of Code in your browser and fetch the cookie named 'session'.
Set it as en environment variable like this 'export SESSION = "VALUE"'
Then run the program using iex -S mix, and call the get method to get the answer, and the submit answer to post it to AoC website.
get(180101) |> submit
We follow the principle YYDDLL where
YY = Two last digit of the year, so for 2018 it would be 18
DD = The days number in two digits, so for 24th of december it would be 24
LL = Two digit number representing the level, meaning either 01 or 02
โญโญ Day 1
โญโญ Day 2
โญโญ Day 3
โญโญ Day 4
โญโญ Day 5
โญโญ Day 6
โโ Day 7
โญโญ Day 8
โโ Day 9
โโ Day 10
โโ Day 11
โโ Day 12
โโ Day 13
โโ Day 14
โโ Day 15
โโ Day 16
โโ Day 17
โโ Day 18
โโ Day 19
โโ Day 20
โโ Day 21
โโ Day 22
โโ Day 23
โโ Day 24
โโ Day 25
In order to test this before AoC 2022, I decided to solve for previous years
โญโญ 2016 - Day 1
โญโญ 2018 - Day 1
โญโญ 2018 - Day 2
โญโญ 2018 - Day 3
โญโ 2018 - Day 3