31 lines
697 B
Markdown
31 lines
697 B
Markdown
# Advent of Code 2024
|
|
|
|
<div align="center">
|
|
<img
|
|
src="./assets/tree.svg"
|
|
alt="christmas tree"
|
|
width="600"
|
|
>
|
|
</div>
|
|
|
|
To generate a new day and fetch the input's for a puzzle use the below command.
|
|
Note: the day and year are inferred from today's date if not specified.
|
|
Set advent of code session cookie to `AOC_COOKIE` environment variable.
|
|
|
|
```sh
|
|
nim r ./src/aoc.nim # -d:1 -y:2024
|
|
```
|
|
|
|
To quickly view solutions from your terminal use my soft-serve instance!
|
|
|
|
For an individual solution:
|
|
|
|
```sh
|
|
ssh -p 23231 git.dayl.in repo blob advent-of-code-2024 solutions/day01/solution.nim
|
|
```
|
|
|
|
To interactively explore repo:
|
|
|
|
```sh
|
|
ssh -p 23231 git.dayl.in -t advent-of-code-2024
|
|
```
|