diff options
author | j-james | 2022-12-01 03:01:41 +0000 |
---|---|---|
committer | j-james | 2022-12-01 03:01:41 +0000 |
commit | 5bb17e9fcf87a976c69dab9e6a73a42745b3d4ce (patch) | |
tree | 138bfc44e692d4c8890af11ec2f5816c2b461f27 /2022/get | |
parent | 1ec309b88e176909dc3d72ecb715d6e2d68c2f3d (diff) |
Move scripts to a util folder
Diffstat (limited to '2022/get')
-rwxr-xr-x | 2022/get | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/2022/get b/2022/get deleted file mode 100755 index b1eff41..0000000 --- a/2022/get +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -source "vars" -INPUT_URL="https://adventofcode.com/${YEAR}/day/$((10#${DAY}))/input" - -mkdir "nim/day${DAY}" -cp "main.nim" "nim/day${DAY}/main.nim" -curl $INPUT_URL --cookie "session=${TOKEN}" > "nim/day${DAY}/input.txt" - -cargo new "rust/day${DAY}" -cp "main.rs" "rust/day${DAY}/src/main.rs" -cp "nim/day${DAY}/input.txt" "rust/day${DAY}/src/input.txt" - -subl -a "nim/day${DAY}/input.txt" -subl -a "nim/day${DAY}/main.nim" -# chromium "https://adventofcode.com/${YEAR}/day/$((10#${DAY}))" |