Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/j4ng5y/aoc2020

my repo for the Advent of Code 2020
https://github.com/j4ng5y/aoc2020

advent-of-code advent-of-code-2020 aoc aoc2020 go golang

Last synced: 14 days ago
JSON representation

my repo for the Advent of Code 2020

Awesome Lists containing this project

README

        

# AOC 2020

For full visibility and just so my leader board members know I'm doing this myself and not copying answers:

## Running the Go Code

If you want to run my Go code, you should probably have [Go](https://golang.org/dl) installed, but otherwise:

- `clone this repo`
- `cd /day/go`
- `go run main.go -input [-part (1|2)]`

OR

you can just head on over the the releases, pick your day, and download the binaries if I happened to have compiled them for you.
You can easily grab my input files for whatever day using the following:

```bash
DAY=1 wget https://raw.githubusercontent.com/j4ng5y/aoc2020/day${DAY}/day${DAY}/input.txt
```

## Running the Rust Code

if you want to run my Rust code, you should probably have [Rust](https://rustup.rs) (with the standard toolchain such as Cargo and whatnot)

## Usage (I'll try to keep these as consistent as possible)

```bash
Usage of day__:
-input string
The input file to parse
-part int
The part of the challenge to display (1/2), all other integers (or no value), displays both
```