From 5bb17e9fcf87a976c69dab9e6a73a42745b3d4ce Mon Sep 17 00:00:00 2001 From: j-james Date: Wed, 30 Nov 2022 19:01:41 -0800 Subject: Move scripts to a util folder --- 2022/get | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 2022/get (limited to '2022/get') 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}))" -- cgit v1.2.3-70-g09d2