https://github.com/RussellDash332/advent-of-code
Collection of my Advent of Code repositories from 2015-2024 - 500/500 stars ⭐
https://github.com/RussellDash332/advent-of-code
advent-of-code advent-of-code-2015 advent-of-code-2016 advent-of-code-2017 advent-of-code-2018 advent-of-code-2019 advent-of-code-2020 advent-of-code-2021 advent-of-code-2022 advent-of-code-2023 advent-of-code-2024 advent-of-code-python advent-of-code-python3 adventofcode aoc
Last synced: 6 months ago
JSON representation
Collection of my Advent of Code repositories from 2015-2024 - 500/500 stars ⭐
- Host: GitHub
- URL: https://github.com/RussellDash332/advent-of-code
- Owner: RussellDash332
- License: mit
- Created: 2022-06-12T10:02:14.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-12-08T07:59:26.000Z (6 months ago)
- Last Synced: 2025-12-09T01:00:13.140Z (6 months ago)
- Topics: advent-of-code, advent-of-code-2015, advent-of-code-2016, advent-of-code-2017, advent-of-code-2018, advent-of-code-2019, advent-of-code-2020, advent-of-code-2021, advent-of-code-2022, advent-of-code-2023, advent-of-code-2024, advent-of-code-python, advent-of-code-python3, adventofcode, aoc
- Language: Python
- Homepage: https://adventofcode.com/
- Size: 122 KB
- Stars: 21
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-advent-of-code - RussellDash332/advent-of-code - 2025--12--12-brightgreen) (2025 / Solutions)
- really-awesome-advent-of-code - RussellDash332/advent-of-code - commit/RussellDash332/advent-of-code/main) (🎄 2025 AoC Solutions / Solutions)
README
# Advent of Code
Collection of my Advent of Code (AOC) repositories. For codes before 2023, tap on the cards to redirect you to the respective repository!
[](https://github.com/RussellDash332/aoc-2015)
[](https://github.com/RussellDash332/aoc-2016)
[](https://github.com/RussellDash332/aoc-2017)
[](https://github.com/RussellDash332/aoc-2018)
[](https://github.com/RussellDash332/aoc-2019)
[](https://github.com/RussellDash332/aoc-2020)
[](https://github.com/RussellDash332/aoc-2021)
[](https://github.com/RussellDash332/aoc-2022)
## Note to Self
```sh
export X=... # day number, 2 digits
export Y=... # year
# Note that .in files are hidden but it should be within Day-/.in
# Python
cd ~/advent-of-code/aoc-$Y/Day-$X/Python && python main.py < ../$X.in && cd ../../..
# JavaScript
cd ~/advent-of-code/aoc-$Y/Day-$X/JavaScript && node main.js < ../$X.in && cd ../../..
# Java
cd ~/advent-of-code/aoc-$Y/Day-$X/Java && javac Main.java && java Main < ../$X.in && cd ../../..
# C++
cd ~/advent-of-code/aoc-$Y/Day-$X/C++ && g++ -o mainc main.cpp && ./mainc < ../$X.in && cd ../../..
# Haskell
cd ~/advent-of-code/aoc-$Y/Day-$X/Haskell && runhaskell main.hs && cd ../../..
# Rust
cd ~/advent-of-code/aoc-$Y/Day-$X/Rust && rustc main.rs && ./main < ../$X.in && cd ../../..
# Ruby
cd ~/advent-of-code/aoc-$Y/Day-$X/Ruby && ruby main.rb < ../$X.in && cd ../../..
```