impl day 2 + simplification, woops implemented the wrong pattern checker
This commit is contained in:
parent
f33dda8916
commit
4fba52d596
4 changed files with 50 additions and 10 deletions
|
|
@ -1,5 +1,6 @@
|
|||
day=$(date +%-e)
|
||||
day_zero=$(date +%0e)
|
||||
year=$(date +%Y)
|
||||
session=$(cat .sessioncookie)
|
||||
mkdir -p input
|
||||
curl -b "session=${session}" -o "./input/${day_zero}.txt" "https://adventofcode.com/2024/day/${day}/input"
|
||||
curl -b "session=${session}" -o "./input/${day_zero}.txt" "https://adventofcode.com/${year}/day/${day}/input"
|
||||
Loading…
Add table
Add a link
Reference in a new issue