Repo for working through Advent of Code
(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
- 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.
- 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.:
-
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
- AOC_SESSION: Same value as what's in