Using aocdl
utility to download puzzle inputs. Requires Go if grabbing with go get
. Pre-compiled binary will also work if you download/compile and put in path.
go get github.com/GreenLightning/advent-of-code-downloader/aocdl
aocdl -session-cookie 0000000000000000000000000000000000000000000000 -year 2015 -day 1
Some of this is so I can learn a new language, namely Go.
For the Go puzzles you can compile and run the resulting binary or just run the following...
go run ./main.go ./part_1.go ./part_2.go
NOTE: I run Linux primarily, so if you clone this down on Windows just know I am working entirely with PowerShell (Not Windows PowerShell) and the paths may look funny.
In the case of the PowerShell this is very much quick and dirty solutions. Things like tests, error checking, parameterization, and modularizing are minimal to non-existent. Quick and dirty solves the puzzle, channeling some inner Battle Faction for this ๐!