- Node.JS 18
To get your session cookie, go to the Advent of Code website, and while logged in:
- For Firefox: Right click and select "Inspect Element". In the "Storage" tab select "Cookies"
- For Chrome: Right click and select "Inspect" and in the "Application" tab select "Cookies"
You will then find a row with a key of "session". Copy and paste that into a file called .env
formatted as showed in the example.
Once installed run the following (replacing X with the day you are looking for)
node Solutions/dayX.js
Day | Challenge Name | Stars |
---|---|---|
1 | Calorie Counting | ⭐⭐ |
2 | Rock Paper Scissors | ⭐⭐ |
3 | Rucksack Reorganization | ⭐⭐ |
4 | Camp Cleanup | ⭐⭐ |
5 | Supply Stacks | ⭐⭐ |
6 | Tuning Trouble | ⭐⭐ |
7 | ||
8 | ||
9 | ||
10 | ||
11 | ||
12 | ||
13 | ||
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
20 | ||
21 | ||
22 | ||
23 | ||
24 | ||
25 |