advent-of-code-2023/README.md

32 lines
699 B
Markdown
Raw Permalink Normal View History

2023-11-30 21:10:34 -06:00
# Advent of Code 2023
<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.
2023-12-02 11:27:33 -06:00
Set advent of code session cookie to `AOC_COOKIE` environment variable.
```sh
nim r ./tools/aoc.nim # -d:1 -y:2023
```
2023-12-01 07:47:21 -06:00
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-2023 solutions/day01/solution.nim
```
To interactively explore repo:
```sh
ssh -p 23231 git.dayl.in -t advent-of-code-2023
```