Go to file
2023-12-23 20:35:28 +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 Added unfinished 2022 challenges 2023-12-10 15:33:05 +01:00
2023 2023 day 22: Slower code 2023-12-23 20:35:28 +01:00
aoc_utils 2023 day 22: Slower code 2023-12-23 20:35:28 +01:00
utils Add timer 2023-12-19 21:54:30 +01:00
.gitignore Add colors to cli 2023-12-01 10:47:58 +01:00
README.md Update README.md 2023-12-23 15:30:28 +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"
}