Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/RussellDash332/advent-of-code
Collection of my Advent of Code repositories from 2015-2023 - 450/450 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-python advent-of-code-python3 aoc
Last synced: 6 days ago
JSON representation
Collection of my Advent of Code repositories from 2015-2023 - 450/450 stars ⭐
- Host: GitHub
- URL: https://github.com/RussellDash332/advent-of-code
- Owner: RussellDash332
- License: mit
- Created: 2022-06-12T10:02:14.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-28T14:21:49.000Z (6 months ago)
- Last Synced: 2024-05-01T16:22:42.622Z (2 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-python, advent-of-code-python3, aoc
- Language: Python
- Homepage: https://adventofcode.com/
- Size: 93.8 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-advent-of-code - RussellDash332/advent-of-code - 2023--12--28-brightgreen) (2023 / 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![![2015](https://github-readme-stats.vercel.app/api/pin/?theme=react&username=RussellDash332&repo=aoc-2015)](https://github.com/RussellDash332/aoc-2015)
[![2016](https://github-readme-stats.vercel.app/api/pin/?theme=highcontrast&username=RussellDash332&repo=aoc-2016)](https://github.com/RussellDash332/aoc-2016)
[![2017](https://github-readme-stats.vercel.app/api/pin/?theme=omni&username=RussellDash332&repo=aoc-2017)](https://github.com/RussellDash332/aoc-2017)
[![2018](https://github-readme-stats.vercel.app/api/pin/?theme=great-gatsby&username=RussellDash332&repo=aoc-2018)](https://github.com/RussellDash332/aoc-2018)
[![2019](https://github-readme-stats.vercel.app/api/pin/?theme=chartreuse-dark&username=RussellDash332&repo=aoc-2019)](https://github.com/RussellDash332/aoc-2019)
[![2020](https://github-readme-stats.vercel.app/api/pin/?theme=gotham&username=RussellDash332&repo=aoc-2020)](https://github.com/RussellDash332/aoc-2020)
[![2021](https://github-readme-stats.vercel.app/api/pin/?theme=monokai&username=RussellDash332&repo=aoc-2021)](https://github.com/RussellDash332/aoc-2021)
[![2022](https://github-readme-stats.vercel.app/api/pin/?theme=react&username=RussellDash332&repo=aoc-2022)](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 ../../..
```