Also, deleted an example_input.txt, modified .gitignore added a script to get the current day's input
5 lines
236 B
Bash
Executable File
5 lines
236 B
Bash
Executable File
#!/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 |