Advent of Code 2020 (Golang)
This repo contains my solutions to Advent of Code, 2020.
Prerequisites
You will need go
installed. Recommend installing brew
and running brew install go
.
Running the Solutions
Download, build, and install the solutions like so:
# Download, build, and install solutions from this repo
go get github.com/dds/aoc2020/...
# Run solution for day 1
day1
# Get input for day 20, wait up to 8h, and copy to clipboard if successful
aocinput 20 --timeout 8h --clipboard
# Watch the time count down until AoC 2022 Day 1, then display the input and stop.
watch -n 0.3 -e '! aocinput 1 -y 2022'