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:
5
get_today_puzzle.sh
Executable file
5
get_today_puzzle.sh
Executable 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
|
||||
Reference in New Issue
Block a user