master
george 2 years ago
parent c40f36107c
commit afaf4a1ddf

1
.gitignore vendored

@ -1 +1,2 @@
/target
input

@ -6,4 +6,4 @@ DAY=`date +%d`
! [ "$1" = "" ] && printf "%d" $1 >/dev/null 2>&1 && DAY=$1
[ "$AOC_SESSION_COOKIE" = "" ] && echo "\$AOC_SESSION_COOKIE not set" && exit 1
echo -e curl -i https://adventofcode.com/2022/day/$DAY/input --cookie "session=$AOC_SESSION_COOKIE" -o day`printf "%02d" $DAY`/input
curl -i https://adventofcode.com/2022/day/$DAY/input --cookie "session=$AOC_SESSION_COOKIE" -o day`printf "%02d" $DAY`/input

Loading…
Cancel
Save