mirror of
https://github.com/daylinmorgan/advent-of-code-2023.git
synced 2024-09-19 14:27:17 -05:00
32 lines
699 B
Markdown
32 lines
699 B
Markdown
# 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.
|
|
Set advent of code session cookie to `AOC_COOKIE` environment variable.
|
|
|
|
```sh
|
|
nim r ./tools/aoc.nim # -d:1 -y:2023
|
|
```
|
|
|
|
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
|
|
```
|