Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 3.02 KB

README.md

File metadata and controls

48 lines (35 loc) · 3.02 KB

Repo for working through Advent of Code

Progress

badge

  • badge
  • badge
  • badge
  • badge
  • badge
  • badge
  • badge
  • badge
  • badge

Attempted in various languages

(either ones I know, or ones I have no clue what I'm doing with). Some more earnest attempts than others.

  • Ruby
  • Python
  • Golang
  • Rust
  • Elixir
  • Typescript

General setup:

  • store session token in .aoc_token
  • language setup is specific to the languages. Ones that haven't been done in a while might need some love.

Patterns to follow:

  • share test inputs in test_input/<YEAR>/<0-padded DAY>.txt
  • share inputs in inputs/<YEAR>/<0-padded DAY>.txt
  • Download the file if it doesn't exist in the language puzzle runner.:

Readme stars action setup:

  • Create a new fine-grained access token for the action to use. This token needs read and write access to gists

  • In the repo actions secrets:

    • AOC_SESSION: Same value as what's in .aoc_token. This needs to be updated from time to time.
    • AOC_USERID: Can be found by viewing your own private leaderboard. This should be the end of the url.
    • AOC_USER_AGENT: Maybe any string will do?
    • GIST_ID: The id of a gist to store the json results
    • GIST_SECRET: The gist access token created above