Skip to content

mortenlj/advent_of_code

Repository files navigation

Advent of Code

These are my solutions for Advent of Code.

Inputs

All inputs are encrypted before storing them in the repository. Decrypt using git-secret: git secret reveal

CLI

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:

  1. Log in on Advent of Code in your browser

  2. Use developer tools or similar to get session cookie

  3. Add session cookie to httpie session:

    # http --session session https://adventofcode.com/ "Cookie: session=<session-id>"
    
  4. Run aoc

My Advent of Code Solutions

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.

2024 - 42 ⭐

Media/2024/01.png Media/2024/02.png Media/2024/03.png Media/2024/04.png Media/2024/05.png Media/2024/06.png Media/2024/07.png Media/2024/08.png Media/2024/09.png Media/2024/10.png Media/2024/11.png Media/2024/12.png Media/2024/13.png Media/2024/14.png Media/2024/15.png Media/2024/16.png Media/2024/17.png Media/2024/18.png Media/2024/19.png Media/2024/20.png Media/2024/21.png Media/2024/22.png Media/2024/23.png Media/2024/24.png Media/2024/25.png

2023 - 38 ⭐

Media/2023/01.png Media/2023/02.png Media/2023/03.png Media/2023/04.png Media/2023/05.png Media/2023/06.png Media/2023/07.png Media/2023/08.png Media/2023/09.png Media/2023/10.png Media/2023/11.png Media/2023/12.png Media/2023/13.png Media/2023/14.png Media/2023/15.png Media/2023/16.png Media/2023/17.png Media/2023/18.png Media/2023/19.png Media/2023/20.png Media/2023/21.png Media/2023/22.png Media/2023/23.png Media/2023/24.png Media/2023/25.png

2022 - 32 ⭐

Media/2022/01.png Media/2022/02.png Media/2022/03.png Media/2022/04.png Media/2022/05.png Media/2022/06.png Media/2022/07.png Media/2022/08.png Media/2022/09.png Media/2022/10.png Media/2022/11.png Media/2022/12.png Media/2022/13.png Media/2022/14.png Media/2022/15.png Media/2022/16.png Media/2022/17.png Media/2022/18.png Media/2022/19.png Media/2022/20.png Media/2022/21.png

2021 - 41 ⭐

Media/2021/01.png Media/2021/02.png Media/2021/03.png Media/2021/04.png Media/2021/05.png Media/2021/06.png Media/2021/07.png Media/2021/08.png Media/2021/09.png Media/2021/10.png Media/2021/11.png Media/2021/12.png Media/2021/13.png Media/2021/14.png Media/2021/15.png Media/2021/16.png Media/2021/17.png Media/2021/18.png Media/2021/19.png Media/2021/20.png Media/2021/21.png Media/2021/22.png Media/2021/23.png Media/2021/24.png

2020 - 40 ⭐

Media/2020/01.png Media/2020/02.png Media/2020/03.png Media/2020/04.png Media/2020/05.png Media/2020/06.png Media/2020/07.png Media/2020/08.png Media/2020/09.png Media/2020/10.png Media/2020/11.png Media/2020/12.png Media/2020/13.png Media/2020/14.png Media/2020/15.png Media/2020/16.png Media/2020/17.png Media/2020/18.png Media/2020/19.png Media/2020/20.png Media/2020/21.png Media/2020/22.png Media/2020/23.png Media/2020/24.png Media/2020/25.png

2019 - 37 ⭐

Media/2019/01.png Media/2019/02.png Media/2019/03.png Media/2019/04.png Media/2019/05.png Media/2019/06.png Media/2019/07.png Media/2019/08.png Media/2019/09.png Media/2019/10.png Media/2019/11.png Media/2019/12.png Media/2019/13.png Media/2019/14.png Media/2019/15.png Media/2019/16.png Media/2019/17.png Media/2019/18.png Media/2019/19.png Media/2019/20.png Media/2019/21.png Media/2019/22.png Media/2019/23.png Media/2019/24.png

Releases

No releases published

Packages

No packages published