Skip to content

mortenlj/advent_of_code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code

These are my solutions for Advent of Code.

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.

2023 - 46 ⭐

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 - 36 ⭐

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 - 44 ⭐

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 - 48 ⭐

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 - 44 ⭐

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