advent-of-code-2024/README.md

32 lines
697 B
Markdown
Raw Permalink Normal View History

2024-12-01 10:57:37 -06:00
# 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
```