4 ms·
I have this script: #!/bin/sh set -e curl "https://adventofcode.com/${YEAR:?}/day/${DAY:?}/input" --cookie "session=$(cat .token)" then: YEAR=2024 DAY=1
by tocariimaa 2y ago
I have this script:
#!/bin/sh
set -e
curl "https://adventofcode.com/${YEAR:?}/day/${DAY:?}/input" --cookie "session=$(cat .token)"
then: YEAR=2024 DAY=1 ./aocdata