Go to file
2023-12-26 10:50:02 +01:00
2020 Update day03.py 2021-12-01 22:29:02 +01:00
2021 Add day10 2021 Part1 2021-12-10 19:54:24 +01:00
2022 Add 2023 day 24 2023-12-24 10:10:09 +01:00
2023 Add 2023 day 25 2023-12-26 10:47:53 +01:00
aoc_utils Update graph.py 2023-12-26 10:48:16 +01:00
utils Add timer 2023-12-19 21:54:30 +01:00
.gitignore Update .gitignore 2023-12-26 10:48:27 +01:00
README.md Update README.md 2023-12-23 15:30:28 +01:00
requirements.txt Add requirements.txt 2023-12-26 10:50:02 +01:00

advent-of-code

Progress

               1111111111222222
      1234567890123456789012345
2020: ***~.....................
2021: *******~~~...............
2022: ***************~.*..*....
2023: **********************~..

.: nothing
~: 1 star
*: 2 stars

Shortcut

Add this to your .bashrc:

AOC_PATH=$HOME/path/to/this/repo/
alias aoc="$AOC_PATH/utils/cli.py"
aoc-new () {
  # To create a new day
  cd $AOC_PATH
  PATH="$PATH:$AOC_PATH"
  $AOC_PATH/utils/new_day.sh
  export PYTHONPATH="$PYTHONPATH:$AOC_PATH"
}

aoc-env () {
  # To load the AoC environment
  cd $AOC_PATH
  PATH="$PATH:$AOC_PATH"
  export PYTHONPATH="$PYTHONPATH:$AOC_PATH"
}