Solve 10 and 11.

This commit is contained in:
2023-12-15 18:20:31 -05:00
parent 9485fbae1d
commit 437498a745
7 changed files with 396 additions and 2 deletions

12
get.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <day>"
exit 1
fi
DAY=$1
SESSION_COOKIE=$(keyring get aoc-session-cookie felixm)
echo $SESSION_COOKIE
curl "https://adventofcode.com/2023/day/$DAY/input" --cookie "session=$SESSION_COOKIE" > "i$DAY.txt"