Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/j4ng5y/aoc2020
- Owner: j4ng5y
- License: mit
- Created: 2020-12-02T17:56:38.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-09T08:09:39.000Z (about 4 years ago)
- Last Synced: 2024-05-23T04:22:40.752Z (7 months ago)
- Topics: advent-of-code, advent-of-code-2020, aoc, aoc2020, go, golang
- Language: Go
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```