aboutsummaryrefslogtreecommitdiff
path: root/2022/one
diff options
context:
space:
mode:
authorj-james2022-12-01 03:01:41 +0000
committerj-james2022-12-01 03:01:41 +0000
commit5bb17e9fcf87a976c69dab9e6a73a42745b3d4ce (patch)
tree138bfc44e692d4c8890af11ec2f5816c2b461f27 /2022/one
parent1ec309b88e176909dc3d72ecb715d6e2d68c2f3d (diff)
Move scripts to a util folder
Diffstat (limited to '2022/one')
-rwxr-xr-x2022/one7
1 files changed, 0 insertions, 7 deletions
diff --git a/2022/one b/2022/one
deleted file mode 100755
index 6b7db35..0000000
--- a/2022/one
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-source "vars"
-LEVEL="1"
-SUBMIT_URL="https://adventofcode.com/${YEAR}/day/$((10#${DAY}))/answer"
-
-curl $SUBMIT_URL --cookie "session=${TOKEN}" --data "level=${LEVEL}&answer=$1" | rg -C 1 "main"