Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suddengunter/adventofcode
Advent of code solutions
https://github.com/suddengunter/adventofcode
advent-of-code advent-of-code-2021 advent-of-code-2022 adventofcode aoc elixir go
Last synced: about 1 month ago
JSON representation
Advent of code solutions
- Host: GitHub
- URL: https://github.com/suddengunter/adventofcode
- Owner: SuddenGunter
- License: mit
- Created: 2021-12-01T10:26:44.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-03T22:37:22.000Z (about 1 year ago)
- Last Synced: 2023-12-03T23:24:13.833Z (about 1 year ago)
- Topics: advent-of-code, advent-of-code-2021, advent-of-code-2022, adventofcode, aoc, elixir, go
- Language: Go
- Homepage:
- Size: 313 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# adventofcode
[Advent of code](https://adventofcode.com/) solutions.
## 2022
30/50 stars
Languages: Go, Elixir
Second AoC that I've participated in. Solved in December 2022
## 2021
50/50 stars
Languages: Go, Elixir
First AoC that I've participated in. Solved in December 2021
## 2015
28/50 stars
Languages: Elixir, Go
Solved long time after event has ended, when there was no other AoC live event.
## Tools
To help with boilerplate code setup and input file creation I wrote simple tool called gaoc (Go + AoC).
```sh
go install github.com/SuddenGunter/adventofcode/tools/gaoc@latest
```### How to use gaoc
```sh
gaoc gen
```Supported flags:
- -d - day of the AoC (defaults to current day)
- -y - year of the AoC (defaults to current year)
- -t - template - right now only go and demo are supported (defaults to go)
- -o - output - directory where to put generated code (defaults to `day{{.Day}}`)
- -st - AoC session token, if not empty gaoc tries to fetch input and put it into template