/adventofcode-2021

Advent of Code solutions for 2021

Primary LanguageJupyter Notebook

Advent of Code 2021

Santa and the elves need our help again. Advent of Code is a Christmas advent calendar of daily puzzles that can be solved by writing code.

Last year I picked up Rust to learn a new language and made a personal record of 15 stars.

This year I'm planning to use Python with Jupyter Notebook.

Results

Jupyter Notebook

  1. Activate virtualenv:
source venv/bin/activate
  1. Run Jupyter Notebook server
jupyter notebook
  1. Convert to HTML
jupyter nbconvert to=html [notebook]

Docs site notes

https://mikkelhartmann.dk/2019/05/14/static-website-from-jupyter-notebooks.html for instructions to use nbconvert and MkDocs.