Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/flandredaisuki/advent-of-code

Checkout branch >_0
https://github.com/flandredaisuki/advent-of-code

advent-of-code advent-of-code-2020 advent-of-code-2021 advent-of-code-2022

Last synced: 16 days ago
JSON representation

Checkout branch >_0

Awesome Lists containing this project

README

        

# Advent of code 2024

[Homepage](https://adventofcode.com/2024)

Self Challenge: no deps

## bash

```shell
bash-run-aoc() {
FILENAME="day$1"
docker run --rm -it -v "$PWD:/app" -w "/app" bash:5.2.37 bash "${FILENAME}.sh"
}

# usage: bash-run-aoc <01|02|03|...|25>
# bash-run-aoc 01
# bash-run-aoc 02
```

## js

```shell
bun-run-aoc() {
FILENAME="day$1"
docker run --rm -it -v "$PWD:/app" -w "/app" oven/bun:1.1.38-alpine bun "${FILENAME}.js"
}

# usage: bun-run-aoc <01|02|03|...|25>
# bun-run-aoc 01
# bun-run-aoc 02
```