A collection of solutions for the advent of code event each year from 2015.
This repo contains my personal solutions to the challenges in the "Advent of Code" events. You might get spoiled. You are warned!
Otherwise, enjoy my solutions 😉
year | OCaml | Nushell | Oberon |
---|---|---|---|
2023 | here | ||
2022 | here | ||
2021 | here | ||
2020 | |||
2019 | |||
2018 | |||
2017 | |||
2016 | |||
2015 |
the input for the challenges is different for each user and thus requires a session cookie.
please follow the steps in wimglenn/advent-of-code-wim#1 to get your personal session cookie 👍
according to this sub reddit, one should also include their email in the metadata of the GET requests 👌
please store your information in a NUON file with the following format:
{
cookie: "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
mail: "[email protected]"
}
i also recommend encrypting this sensitive file with
gpg --symmetric --armor --cipher-algo <algo> <file>
to have it available as a .asc
file.
with Nushell,
use toolkit.nu
toolkit aoc get-data --help