https://github.com/p403n1x87/aoc
Advent of Code
https://github.com/p403n1x87/aoc
Last synced: 6 months ago
JSON representation
Advent of Code
- Host: GitHub
- URL: https://github.com/p403n1x87/aoc
- Owner: P403n1x87
- Created: 2020-12-13T14:34:17.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-03T19:50:21.000Z (9 months ago)
- Last Synced: 2025-03-26T08:47:57.340Z (7 months ago)
- Language: HTML
- Size: 843 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of Code
## Requirements
- GHC >= 8.0.2
- NASM >= 2.13.02
- Python >= 3.9## Usage
Look at the headers of the request from e.g. your browser and grab the session
identifier from the `cookie` header (it looks like `Cookie: session=...`).
Invoke `./aoc token` on it with~~~ console
$ ./aoc token
~~~This will store the token (in plain text) in `.token` within the current
working directory.You can now automatically pull the input data for each day with the command
~~~ console
$ ./aoc pull
~~~Before you can run the code you need to invoke `./aoc init` to create a
virtual environment for the Python code, with the `aoctk` package installed.
After this step you can run the code for a specific day with~~~ console
$ ./aoc run
~~~