https://github.com/cidem/aoc2022
Advent of Code 2022 in Lua
https://github.com/cidem/aoc2022
advent-of-code advent-of-code-2022 aoc
Last synced: 7 months ago
JSON representation
Advent of Code 2022 in Lua
- Host: GitHub
- URL: https://github.com/cidem/aoc2022
- Owner: cideM
- License: agpl-3.0
- Created: 2022-12-01T10:05:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-04T17:41:14.000Z (over 2 years ago)
- Last Synced: 2024-12-27T19:15:42.252Z (over 1 year ago)
- Topics: advent-of-code, advent-of-code-2022, aoc
- Language: Lua
- Homepage:
- Size: 148 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :christmas_tree: Advent of Code 2022 :santa:
Also see my [Zig solutions](https://github.com/cideM/aoc2022-zig)!
## Quickstart
```shell
$ fd . --no-hidden --no-ignore | entr -c -s 'lua d6/main.lua < d6/input.txt'
```
## Progress (25/25)
| | Lua |
| --- | ------- |
| 1 | :bell: |
| 2 | :bell: |
| 3 | :bell: |
| 4 | :bell: |
| 5 | :bell: |
| 6 | :bell: |
| 7 | :bell: |
| 8 | :bell: |
| 9 | :bell: |
| 10 | :bell: |
| 11 | :bell: |
| 12 | :bell: |
| 13 | :bell: |
| 14 | :bell: |
| 15 | :bell: |
| 16 | :bell: |
| 17 | :bell: |
| 18 | :bell: |
| 19 | :bell: |
| 20 | :bell: |
| 21 | :bell: |
| 22 | :bell: |
| 23 | :bell: |
| 24 | :bell: |
| 25 | :bell: |
## Misc
Post code on Reddit, first for Linux, second for MacOS.
```
$ cat code | sed 's/^/ /' | xsel -b`
$ cat code | sed 's/^/ /' | pbcopy`
```
Turn it into a message:
```text
# [Lua]()
60 lines of code according to `tokei` when formatted with `stylua`.
[GitHub Repository](https://github.com/cideM/aoc2022)
```