Added 2021 (python)

This commit is contained in:
Karma Riuk
2023-08-02 11:46:44 +02:00
parent 410815acf8
commit 11600f7ba9
82 changed files with 8693 additions and 0 deletions

6
2021/Makefile Normal file
View File

@ -0,0 +1,6 @@
N=$(shell find ./* -maxdepth 0 -type d | grep -v git | wc -l)
DIR_NAME=$(shell printf "%02d" $(N))
.PHONY: new
new:
cp -r 00_template "$(DIR_NAME)" && curl -s -H "Cookie: session=$$AOC_SESSION" "https://adventofcode.com/2021/day/$(N)/input" > "$(DIR_NAME)"/input