1
0
Fork 0

Prepare AOC

This commit is contained in:
Lars Martens 2024-11-29 20:28:54 +01:00
commit 3f13305951
7 changed files with 505 additions and 0 deletions

21
README.md Normal file
View file

@ -0,0 +1,21 @@
# Advent Of Code 2024
My solutions for [Advent Of Code 2024](https://adventofcode.com/2024).
## Usage
This project uses [`just`](https://github.com/casey/just) . For some commands to work a session token needs to be provided in the `AOC_SESSION` environment variable. The easiest way to set it is to create the file `.env` with `AOC_SESSION=your token` inside in the root of this repository. The token can be received by reading the session cookie from the AOC website.
Download the puzzle input, create a file for the current day and open it in your $EDITOR:
```shell
just begin # Prepare the current day
just day=09 begin # Prepare day 9
```
Run:
```shell
just # Runs the current day
just day=09 # Runs day 9
```