Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/cidem/aoc2023

Advent of Code 2023 in Lua
https://github.com/cidem/aoc2023

advent-of-code advent-of-code-2023 aoc2023 lua

Last synced: about 15 hours ago
JSON representation

Advent of Code 2023 in Lua

Awesome Lists containing this project

README

        

# Advent of Code 2023 :santa: :christmas_tree:

## 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: |

## Make Reddit Code Snippet

For longer code snippets, use https://topaz.github.io/paste/. If it's short enough, do this:

```
$ cat code | sed 's/^/ /' | xsel -b
$ cat code | sed 's/^/ /' | pbcopy
```

## Reddit Comment Template

```text
[LANGUAGE: lua]

# [Lua]()

60 lines of code according to `tokei` when formatted with `stylua`.

- [GitHub Repository](https://github.com/cideM/aoc2023)
- [Topaz Paste]()
```

## Disable Copilot

Add `set exrc` to your Neovim configuration, then `echo 'let g:copilot_enabled=v:false' > .nvimrc`, open the file and `:trust` it.