commit c926c945de165c0a1925733fe5aae2a6174c8a8c Author: Keenan Tims Date: Wed Dec 2 13:03:10 2026 -0700 repo setup diff --git a/.aoc_tiles/tiles/2015/01.png b/.aoc_tiles/tiles/2015/01.png new file mode 100644 index 0000000..a736f51 Binary files /dev/null and b/.aoc_tiles/tiles/2015/01.png differ diff --git a/.aoc_tiles/tiles/2015/02.png b/.aoc_tiles/tiles/2015/02.png new file mode 100644 index 0000000..1b78945 Binary files /dev/null and b/.aoc_tiles/tiles/2015/02.png differ diff --git a/.aoc_tiles/tiles/2022/01.png b/.aoc_tiles/tiles/2022/01.png new file mode 100644 index 0000000..405060a Binary files /dev/null and b/.aoc_tiles/tiles/2022/01.png differ diff --git a/.aoc_tiles/tiles/2022/02.png b/.aoc_tiles/tiles/2022/02.png new file mode 100644 index 0000000..d121a5f Binary files /dev/null and b/.aoc_tiles/tiles/2022/02.png differ diff --git a/.aoc_tiles/tiles/2022/03.png b/.aoc_tiles/tiles/2022/03.png new file mode 100644 index 0000000..282eb0a Binary files /dev/null and b/.aoc_tiles/tiles/2022/03.png differ diff --git a/.aoc_tiles/tiles/2022/04.png b/.aoc_tiles/tiles/2022/04.png new file mode 100644 index 0000000..c5aefa0 Binary files /dev/null and b/.aoc_tiles/tiles/2022/04.png differ diff --git a/.aoc_tiles/tiles/2022/05.png b/.aoc_tiles/tiles/2022/05.png new file mode 100644 index 0000000..953b9ad Binary files /dev/null and b/.aoc_tiles/tiles/2022/05.png differ diff --git a/.aoc_tiles/tiles/2022/06.png b/.aoc_tiles/tiles/2022/06.png new file mode 100644 index 0000000..d3d41d8 Binary files /dev/null and b/.aoc_tiles/tiles/2022/06.png differ diff --git a/.aoc_tiles/tiles/2022/07.png b/.aoc_tiles/tiles/2022/07.png new file mode 100644 index 0000000..519571b Binary files /dev/null and b/.aoc_tiles/tiles/2022/07.png differ diff --git a/.aoc_tiles/tiles/2023/01.png b/.aoc_tiles/tiles/2023/01.png new file mode 100644 index 0000000..0e5d690 Binary files /dev/null and b/.aoc_tiles/tiles/2023/01.png differ diff --git a/.aoc_tiles/tiles/2023/02.png b/.aoc_tiles/tiles/2023/02.png new file mode 100644 index 0000000..ee81ffe Binary files /dev/null and b/.aoc_tiles/tiles/2023/02.png differ diff --git a/.aoc_tiles/tiles/2023/03.png b/.aoc_tiles/tiles/2023/03.png new file mode 100644 index 0000000..96c0a4f Binary files /dev/null and b/.aoc_tiles/tiles/2023/03.png differ diff --git a/.aoc_tiles/tiles/2023/04.png b/.aoc_tiles/tiles/2023/04.png new file mode 100644 index 0000000..ab40e83 Binary files /dev/null and b/.aoc_tiles/tiles/2023/04.png differ diff --git a/.aoc_tiles/tiles/2023/05.png b/.aoc_tiles/tiles/2023/05.png new file mode 100644 index 0000000..6572d4e Binary files /dev/null and b/.aoc_tiles/tiles/2023/05.png differ diff --git a/.aoc_tiles/tiles/2023/06.png b/.aoc_tiles/tiles/2023/06.png new file mode 100644 index 0000000..9fab610 Binary files /dev/null and b/.aoc_tiles/tiles/2023/06.png differ diff --git a/.aoc_tiles/tiles/2023/07.png b/.aoc_tiles/tiles/2023/07.png new file mode 100644 index 0000000..6c926de Binary files /dev/null and b/.aoc_tiles/tiles/2023/07.png differ diff --git a/.aoc_tiles/tiles/2023/08.png b/.aoc_tiles/tiles/2023/08.png new file mode 100644 index 0000000..6d4a513 Binary files /dev/null and b/.aoc_tiles/tiles/2023/08.png differ diff --git a/.aoc_tiles/tiles/2023/09.png b/.aoc_tiles/tiles/2023/09.png new file mode 100644 index 0000000..871a899 Binary files /dev/null and b/.aoc_tiles/tiles/2023/09.png differ diff --git a/.aoc_tiles/tiles/2023/10.png b/.aoc_tiles/tiles/2023/10.png new file mode 100644 index 0000000..6138755 Binary files /dev/null and b/.aoc_tiles/tiles/2023/10.png differ diff --git a/.aoc_tiles/tiles/2023/11.png b/.aoc_tiles/tiles/2023/11.png new file mode 100644 index 0000000..efcde3f Binary files /dev/null and b/.aoc_tiles/tiles/2023/11.png differ diff --git a/.aoc_tiles/tiles/2023/12.png b/.aoc_tiles/tiles/2023/12.png new file mode 100644 index 0000000..1e07c75 Binary files /dev/null and b/.aoc_tiles/tiles/2023/12.png differ diff --git a/.aoc_tiles/tiles/2023/13.png b/.aoc_tiles/tiles/2023/13.png new file mode 100644 index 0000000..8eddb0f Binary files /dev/null and b/.aoc_tiles/tiles/2023/13.png differ diff --git a/.aoc_tiles/tiles/2023/14.png b/.aoc_tiles/tiles/2023/14.png new file mode 100644 index 0000000..8226b7f Binary files /dev/null and b/.aoc_tiles/tiles/2023/14.png differ diff --git a/.aoc_tiles/tiles/2023/15.png b/.aoc_tiles/tiles/2023/15.png new file mode 100644 index 0000000..6a67c41 Binary files /dev/null and b/.aoc_tiles/tiles/2023/15.png differ diff --git a/.aoc_tiles/tiles/2023/16.png b/.aoc_tiles/tiles/2023/16.png new file mode 100644 index 0000000..b81a557 Binary files /dev/null and b/.aoc_tiles/tiles/2023/16.png differ diff --git a/.aoc_tiles/tiles/2023/17.png b/.aoc_tiles/tiles/2023/17.png new file mode 100644 index 0000000..0b18a76 Binary files /dev/null and b/.aoc_tiles/tiles/2023/17.png differ diff --git a/.aoc_tiles/tiles/2023/18.png b/.aoc_tiles/tiles/2023/18.png new file mode 100644 index 0000000..6a1ef26 Binary files /dev/null and b/.aoc_tiles/tiles/2023/18.png differ diff --git a/.aoc_tiles/tiles/2023/19.png b/.aoc_tiles/tiles/2023/19.png new file mode 100644 index 0000000..ffea468 Binary files /dev/null and b/.aoc_tiles/tiles/2023/19.png differ diff --git a/.aoc_tiles/tiles/2023/20.png b/.aoc_tiles/tiles/2023/20.png new file mode 100644 index 0000000..2e1b734 Binary files /dev/null and b/.aoc_tiles/tiles/2023/20.png differ diff --git a/.aoc_tiles/tiles/2023/21.png b/.aoc_tiles/tiles/2023/21.png new file mode 100644 index 0000000..b9a9daf Binary files /dev/null and b/.aoc_tiles/tiles/2023/21.png differ diff --git a/.aoc_tiles/tiles/2023/22.png b/.aoc_tiles/tiles/2023/22.png new file mode 100644 index 0000000..40002ad Binary files /dev/null and b/.aoc_tiles/tiles/2023/22.png differ diff --git a/.aoc_tiles/tiles/2023/23.png b/.aoc_tiles/tiles/2023/23.png new file mode 100644 index 0000000..a6795de Binary files /dev/null and b/.aoc_tiles/tiles/2023/23.png differ diff --git a/.aoc_tiles/tiles/2023/24.png b/.aoc_tiles/tiles/2023/24.png new file mode 100644 index 0000000..f054fb6 Binary files /dev/null and b/.aoc_tiles/tiles/2023/24.png differ diff --git a/.aoc_tiles/tiles/2023/25.png b/.aoc_tiles/tiles/2023/25.png new file mode 100644 index 0000000..2c4e815 Binary files /dev/null and b/.aoc_tiles/tiles/2023/25.png differ diff --git a/.aoc_tiles/tiles/2024/01.png b/.aoc_tiles/tiles/2024/01.png new file mode 100644 index 0000000..e106b73 Binary files /dev/null and b/.aoc_tiles/tiles/2024/01.png differ diff --git a/.aoc_tiles/tiles/2024/02.png b/.aoc_tiles/tiles/2024/02.png new file mode 100644 index 0000000..8bab50d Binary files /dev/null and b/.aoc_tiles/tiles/2024/02.png differ diff --git a/.aoc_tiles/tiles/2024/03.png b/.aoc_tiles/tiles/2024/03.png new file mode 100644 index 0000000..54277fb Binary files /dev/null and b/.aoc_tiles/tiles/2024/03.png differ diff --git a/.aoc_tiles/tiles/2024/04.png b/.aoc_tiles/tiles/2024/04.png new file mode 100644 index 0000000..489e849 Binary files /dev/null and b/.aoc_tiles/tiles/2024/04.png differ diff --git a/.aoc_tiles/tiles/2024/05.png b/.aoc_tiles/tiles/2024/05.png new file mode 100644 index 0000000..e2d29b3 Binary files /dev/null and b/.aoc_tiles/tiles/2024/05.png differ diff --git a/.aoc_tiles/tiles/2024/06.png b/.aoc_tiles/tiles/2024/06.png new file mode 100644 index 0000000..04ec642 Binary files /dev/null and b/.aoc_tiles/tiles/2024/06.png differ diff --git a/.aoc_tiles/tiles/2024/07.png b/.aoc_tiles/tiles/2024/07.png new file mode 100644 index 0000000..d748761 Binary files /dev/null and b/.aoc_tiles/tiles/2024/07.png differ diff --git a/.aoc_tiles/tiles/2024/08.png b/.aoc_tiles/tiles/2024/08.png new file mode 100644 index 0000000..062922e Binary files /dev/null and b/.aoc_tiles/tiles/2024/08.png differ diff --git a/.aoc_tiles/tiles/2024/09.png b/.aoc_tiles/tiles/2024/09.png new file mode 100644 index 0000000..63189e2 Binary files /dev/null and b/.aoc_tiles/tiles/2024/09.png differ diff --git a/.aoc_tiles/tiles/2024/10.png b/.aoc_tiles/tiles/2024/10.png new file mode 100644 index 0000000..71d23e4 Binary files /dev/null and b/.aoc_tiles/tiles/2024/10.png differ diff --git a/.aoc_tiles/tiles/2024/11.png b/.aoc_tiles/tiles/2024/11.png new file mode 100644 index 0000000..a122450 Binary files /dev/null and b/.aoc_tiles/tiles/2024/11.png differ diff --git a/.aoc_tiles/tiles/2024/12.png b/.aoc_tiles/tiles/2024/12.png new file mode 100644 index 0000000..af08c81 Binary files /dev/null and b/.aoc_tiles/tiles/2024/12.png differ diff --git a/.aoc_tiles/tiles/2024/13.png b/.aoc_tiles/tiles/2024/13.png new file mode 100644 index 0000000..09a2aa7 Binary files /dev/null and b/.aoc_tiles/tiles/2024/13.png differ diff --git a/.aoc_tiles/tiles/2024/14.png b/.aoc_tiles/tiles/2024/14.png new file mode 100644 index 0000000..76ebe38 Binary files /dev/null and b/.aoc_tiles/tiles/2024/14.png differ diff --git a/.aoc_tiles/tiles/2024/15.png b/.aoc_tiles/tiles/2024/15.png new file mode 100644 index 0000000..fbb1b82 Binary files /dev/null and b/.aoc_tiles/tiles/2024/15.png differ diff --git a/.aoc_tiles/tiles/2024/16.png b/.aoc_tiles/tiles/2024/16.png new file mode 100644 index 0000000..80b37d7 Binary files /dev/null and b/.aoc_tiles/tiles/2024/16.png differ diff --git a/.aoc_tiles/tiles/2024/17.png b/.aoc_tiles/tiles/2024/17.png new file mode 100644 index 0000000..c2f05f3 Binary files /dev/null and b/.aoc_tiles/tiles/2024/17.png differ diff --git a/.aoc_tiles/tiles/2024/18.png b/.aoc_tiles/tiles/2024/18.png new file mode 100644 index 0000000..9e04ed3 Binary files /dev/null and b/.aoc_tiles/tiles/2024/18.png differ diff --git a/.aoc_tiles/tiles/2024/19.png b/.aoc_tiles/tiles/2024/19.png new file mode 100644 index 0000000..61babe3 Binary files /dev/null and b/.aoc_tiles/tiles/2024/19.png differ diff --git a/.aoc_tiles/tiles/2024/20.png b/.aoc_tiles/tiles/2024/20.png new file mode 100644 index 0000000..d75374e Binary files /dev/null and b/.aoc_tiles/tiles/2024/20.png differ diff --git a/.aoc_tiles/tiles/2024/21.png b/.aoc_tiles/tiles/2024/21.png new file mode 100644 index 0000000..dda1649 Binary files /dev/null and b/.aoc_tiles/tiles/2024/21.png differ diff --git a/.aoc_tiles/tiles/2024/22.png b/.aoc_tiles/tiles/2024/22.png new file mode 100644 index 0000000..da7f049 Binary files /dev/null and b/.aoc_tiles/tiles/2024/22.png differ diff --git a/.aoc_tiles/tiles/2024/23.png b/.aoc_tiles/tiles/2024/23.png new file mode 100644 index 0000000..37a2549 Binary files /dev/null and b/.aoc_tiles/tiles/2024/23.png differ diff --git a/.aoc_tiles/tiles/2024/24.png b/.aoc_tiles/tiles/2024/24.png new file mode 100644 index 0000000..892946b Binary files /dev/null and b/.aoc_tiles/tiles/2024/24.png differ diff --git a/.aoc_tiles/tiles/2024/25.png b/.aoc_tiles/tiles/2024/25.png new file mode 100644 index 0000000..b6269f1 Binary files /dev/null and b/.aoc_tiles/tiles/2024/25.png differ diff --git a/.aoc_tiles/tiles/2025/01.png b/.aoc_tiles/tiles/2025/01.png new file mode 100644 index 0000000..476293f Binary files /dev/null and b/.aoc_tiles/tiles/2025/01.png differ diff --git a/.aoc_tiles/tiles/2025/02.png b/.aoc_tiles/tiles/2025/02.png new file mode 100644 index 0000000..e044013 Binary files /dev/null and b/.aoc_tiles/tiles/2025/02.png differ diff --git a/.aoc_tiles/tiles/2025/03.png b/.aoc_tiles/tiles/2025/03.png new file mode 100644 index 0000000..d83b302 Binary files /dev/null and b/.aoc_tiles/tiles/2025/03.png differ diff --git a/.aoc_tiles/tiles/2025/04.png b/.aoc_tiles/tiles/2025/04.png new file mode 100644 index 0000000..0b2ad35 Binary files /dev/null and b/.aoc_tiles/tiles/2025/04.png differ diff --git a/.aoc_tiles/tiles/2025/05.png b/.aoc_tiles/tiles/2025/05.png new file mode 100644 index 0000000..709b225 Binary files /dev/null and b/.aoc_tiles/tiles/2025/05.png differ diff --git a/.aoc_tiles/tiles/2025/06.png b/.aoc_tiles/tiles/2025/06.png new file mode 100644 index 0000000..7625740 Binary files /dev/null and b/.aoc_tiles/tiles/2025/06.png differ diff --git a/.aoc_tiles/tiles/2025/07.png b/.aoc_tiles/tiles/2025/07.png new file mode 100644 index 0000000..0024a61 Binary files /dev/null and b/.aoc_tiles/tiles/2025/07.png differ diff --git a/.aoc_tiles/tiles/2025/08.png b/.aoc_tiles/tiles/2025/08.png new file mode 100644 index 0000000..8ca3c05 Binary files /dev/null and b/.aoc_tiles/tiles/2025/08.png differ diff --git a/.aoc_tiles/tiles/2025/09.png b/.aoc_tiles/tiles/2025/09.png new file mode 100644 index 0000000..b914bf7 Binary files /dev/null and b/.aoc_tiles/tiles/2025/09.png differ diff --git a/.aoc_tiles/tiles/2025/10.png b/.aoc_tiles/tiles/2025/10.png new file mode 100644 index 0000000..2055f98 Binary files /dev/null and b/.aoc_tiles/tiles/2025/10.png differ diff --git a/.aoc_tiles/tiles/2025/11.png b/.aoc_tiles/tiles/2025/11.png new file mode 100644 index 0000000..b1ad45e Binary files /dev/null and b/.aoc_tiles/tiles/2025/11.png differ diff --git a/.aoc_tiles/tiles/2025/12.png b/.aoc_tiles/tiles/2025/12.png new file mode 100644 index 0000000..04efebb Binary files /dev/null and b/.aoc_tiles/tiles/2025/12.png differ diff --git a/.aoc_tiles/tiles/2026/01.png b/.aoc_tiles/tiles/2026/01.png new file mode 100644 index 0000000..00742b7 Binary files /dev/null and b/.aoc_tiles/tiles/2026/01.png differ diff --git a/.aoc_tiles/tiles/2026/02.png b/.aoc_tiles/tiles/2026/02.png new file mode 100644 index 0000000..90ef215 Binary files /dev/null and b/.aoc_tiles/tiles/2026/02.png differ diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b23f102 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +**/target +**/input +flamegraph.svg +perf.data* +guesses +**/.aoc_tiles/* +!.aoc_tiles/tiles/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..24e8d48 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,71 @@ +repos: + - repo: local + hooks: + - id: fmt-2022 + name: Rust fmt (2022) + entry: sh -c 'cd 2022 && cargo fmt --all' + files: ^2022/ + types: [rust] + pass_filenames: false + language: system + - id: clippy-2022 + name: Rust clippy (2022) + entry: sh -c 'cd 2022 && cargo clippy --lib --all-features --tests --' + files: ^2022/.*\.(rs|toml)$ + pass_filenames: false + language: system + - id: fmt-2024 + name: Rust fmt (2024) + entry: sh -c 'cd 2024 && cargo fmt --all' + files: ^2024/ + types: [rust] + pass_filenames: false + language: system + - id: clippy-2024 + name: Rust clippy (2024) + entry: sh -c 'cd 2024 && cargo clippy --lib --all-features --tests -- -D warnings' + files: ^2024/.*\.(rs|toml)$ + pass_filenames: false + language: system + - id: fmt-2025 + name: Rust fmt (2025) + entry: sh -c 'cd 2025 && cargo fmt --all' + files: ^2025/ + types: [rust] + pass_filenames: false + language: system + - id: clippy-2025 + name: Rust clippy (2025) + entry: sh -c 'cd 2025 && cargo clippy --lib --all-features --tests --' + files: ^2025/.*\.(rs|toml)$ + pass_filenames: false + language: system + - id: fmt-2026 + name: Rust fmt (2026) + entry: sh -c 'cd 2026 && cargo fmt --all' + files: ^2026/ + types: [rust] + pass_filenames: false + language: system + - id: clippy-2026 + name: Rust clippy (2026) + entry: sh -c 'cd 2026 && cargo clippy --lib --all-features --tests --' + files: ^2026/.*\.(rs|toml)$ + pass_filenames: false + language: system + - repo: https://github.com/LiquidFun/aoc_tiles + rev: 0.7.2 + hooks: + - id: aoc-tiles + language: system + # Optionally use these arguments. Auto add tiles to git adds the tiles to git, + # possibly amends your commit by creating the tile images and updating the README. + # Language sorting shows the preference of the order of the languages to use. + # Exclude paterns are globs which can be used to exclude files when creating + # the tiles. See the customization section in the README for more flags. + # Simply remove the comments (#) below for args and the flags you want. + args: + - --auto-add-tiles-to-git=amend + - --tile-width-px=200 + # - --language-sorting=jl,kt,py,rs + # - --exclude-patterns=2021/*/*.apl,2021/*/*.py,2021/*/*.cpp diff --git a/README.md b/README.md new file mode 100644 index 0000000..dc256f5 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ + + +