Skip to content

pythoninthegrass/aoc

Repository files navigation

Advent of Code Entries

Here a few entries to the Advent of Code challenge, which is a coding challenge advent calendar created by Eric Wastl.

Semi-private leaderboard via code 1755756-b2d0233e; security through obscurity or something like that.

For more info: Advent of Code site.

Usage

  • Poetry
    • TODO
  • Docker
    # move to repo directory
    cd aoc
    
    # build image w/Dockerfile
    docker build -t runner .
    
    # run default bash entrypoint
    docker run -it --rm -v $(pwd):/home/appuser/app runner
    
    # run a script w/in container
    cd 01_sonar_sweep
    python sonar_sweep.py
    
    # stop container
    exit

Debugging

  • Raise cap of List Index Limit Max from 300 via
# ~/.vscode/extensions/ms-python.python-*/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_resolver.py
MAX_ITEMS_TO_HANDLE = 1000

Visual Studio Code - Python - List Index Limit Max 300 - Debugger - Stack Overflow

TODO

  • Poetry usage
  • Dockerfile
  • Replace csv w/feather
  • Keep going

About

Advent of Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published