Skip to content

Latest commit

Β 

History

History
35 lines (30 loc) Β· 1.24 KB

README.md

File metadata and controls

35 lines (30 loc) Β· 1.24 KB
         .---_         ____ ____ ____ ____ ____ ____
        / / /\|       ||A |||d |||v |||e |||n |||t ||
      / / | \ *       ||__|||__|||__|||__|||__|||__||
     /  /  \ \        |/__\|/__\|/__\|/__\|/__\|/__\|
    / /  / \  \        ____ ____ _________ ____ ____ ____ ____
  ./~~~~~~~~~~~\.     ||o |||f |||       |||C |||o |||d |||e ||
 ( .",^. -". '.~ )    ||__|||__|||_______|||__|||__|||__|||__||
  '~~~~~~~~~~~~~'     |/__\|/__\|/_______\|/__\|/__\|/__\|/__\|

My solutions to Advent of Code. πŸŽ„

Requirements

Once a Year

  1. Log into AoC website.
  2. Extract the session id from the cookie.
  3. Save the session id in a file named .env, in the format
    AOC_SESSION=<aoc session id>
    
    or, if using GitHub Codespaces, update the AOC_SESSION secret here.

Years 2015 and 2020 (JavaScript)

  1. Setup yarn
  2. Run yarn solve yyyy d

Years 2021+ (Python)

  1. Setup python -m pip install -r requirements.txt
  2. Run yarn pysolve yyyy d