Day 5 part1 completed

Also, deleted an example_input.txt, modified .gitignore
added a script to get the current day's input
This commit is contained in:
2023-12-05 07:18:55 +01:00
parent 9ee98d375a
commit e46a2717b4
6 changed files with 135 additions and 7 deletions

5
get_today_puzzle.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
DAY=`date "+%-e"`
mkdir day${DAY}
# You have to get your cookie header in text format (Cookie: session=xxxx)
wget --verbose --header "`cat cookies.txt`" "https://adventofcode.com/2023/day/${DAY}/input" -O day${DAY}/input.txt