Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gerschtli/advent-of-code
My solutions to the Advent of Code challenges!
https://github.com/gerschtli/advent-of-code
advent-of-code golang rust tdd
Last synced: about 22 hours ago
JSON representation
My solutions to the Advent of Code challenges!
- Host: GitHub
- URL: https://github.com/gerschtli/advent-of-code
- Owner: Gerschtli
- License: mit
- Created: 2020-12-01T16:59:39.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-20T17:30:09.000Z (18 days ago)
- Last Synced: 2024-10-20T21:15:00.517Z (18 days ago)
- Topics: advent-of-code, golang, rust, tdd
- Language: Rust
- Homepage:
- Size: 265 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code
Yes, it's christmas time, my friends!
These are my solutions to the [adventofcode.com](https://adventofcode.com/) challenges.
My objective is not only to solve these challenges but to develop them test-driven and in a manner comparable to a
software artifact that has to be understood and maintained for a long time."But why?" you ask? Because everybody can write a nice one-liner nobody can understand (including the author after a few
days) and of course for the most important reason: Because I can :D## How to run
You need go 1.15, nix (at least 2.4 with flakes and nix-command enabled) and rustup (with a recent rust version)
installed or use my `shell.nix`.### Go applications
Can be run like:
```sh
cd 2020/01
go build -o main
./main
```### Nix applications
Can be run like:
```sh
cd 2021/01
nix run
```### Python applications
Can be run like:
```sh
cd 2021/02
pipenv install --deploy
pipenv run app
```### Rust applications
Can be run like:
```sh
cd 2020/02
cargo run
```