2020-12-01 17:00:29 +01:00
|
|
|
# De Zeus Advent of Code
|
|
|
|
|
2024-12-01 19:28:41 +01:00
|
|
|
| Wie? | Waar? (Repository) | Taal? |
|
|
|
|
|-----------|--------------------------------------|------:|
|
|
|
|
| vincent | https://github.com/Topvennie/AoC | Go |
|
|
|
|
| jnms | https://github.com/Reavershark/aoc24 | D |
|
|
|
|
| redfast00 | https://github.com/redfast00/aoc2024 | Rust |
|
2024-12-01 21:27:17 +01:00
|
|
|
| chvp | https://github.com/chvp/aoc2024 | SQL |
|
2021-12-01 15:39:11 +01:00
|
|
|
|
2020-12-04 13:41:21 +01:00
|
|
|
|
|
|
|
* repo clonen:
|
|
|
|
|
2020-12-04 13:59:56 +01:00
|
|
|
```sh
|
2021-12-01 16:01:04 +01:00
|
|
|
git clone git@github.com:ZeusWPI/Advent-of-Code-Aggregator.git
|
2024-12-01 19:20:40 +01:00
|
|
|
git submodule init 2024 # just the current year
|
2021-12-01 16:01:04 +01:00
|
|
|
git submodule update
|
2020-12-04 13:43:30 +01:00
|
|
|
```
|
2020-12-04 13:41:21 +01:00
|
|
|
|
2021-11-29 11:42:45 +01:00
|
|
|
* nieuwe persoon toevoegen:
|
2020-12-04 13:41:21 +01:00
|
|
|
|
2020-12-04 13:59:56 +01:00
|
|
|
```sh
|
2024-12-01 19:20:40 +01:00
|
|
|
cd 2024
|
2021-12-01 17:06:08 +01:00
|
|
|
git submodule add <link zoals in tabel> <naam zoals in tabel>
|
2020-12-04 13:41:21 +01:00
|
|
|
git commit -m 'hey guys ik heb een repo toegevoegd'
|
2020-12-04 13:43:30 +01:00
|
|
|
```
|
2020-12-04 13:41:21 +01:00
|
|
|
|
2020-12-05 14:16:38 +01:00
|
|
|
* uw lokale kopie updaten:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
git pull # duh
|
|
|
|
git submodule update
|
|
|
|
```
|
|
|
|
|
|
|
|
* van alle submodules de nieuwste versie binnenhalen (zelfs als mensen *force push*en):
|
2020-12-04 13:41:21 +01:00
|
|
|
|
2020-12-04 13:59:56 +01:00
|
|
|
```sh
|
2020-12-04 13:43:30 +01:00
|
|
|
git submodule foreach git fetch origin
|
|
|
|
git submodule foreach git reset --hard origin/HEAD > /dev/null 2>&1
|
2020-12-04 13:41:21 +01:00
|
|
|
git add * # oh no
|
|
|
|
git commit -m 'update submodules'
|
2020-12-04 13:43:30 +01:00
|
|
|
```
|
2020-12-04 13:41:21 +01:00
|
|
|
|
|
|
|
* benchmarks uitvoeren:
|
|
|
|
|
2020-12-04 13:59:56 +01:00
|
|
|
```sh
|
2024-12-01 19:20:40 +01:00
|
|
|
cd 2024
|
2021-11-29 11:42:45 +01:00
|
|
|
./complete-benchmark
|
2020-12-04 13:43:30 +01:00
|
|
|
```
|