/aoc2017

Advent of Code 2017 in Lua

Primary LanguageLua

🎄 Advent of Code 2017 🎅

Quickstart

$ fd . --no-hidden --no-ignore | entr -c -s 'lua d6/main.lua < d6/input.txt'

Progress (7/25)

Lua
1 🔔
2 🔔
3 🔔
4 🔔
5 🔔
6 🔔
7 🔔
8 💤
9 💤
10 💤
11 💤
12 💤
13 💤
14 💤
15 💤
16 💤
17 💤
18 💤
19 💤
20 💤
21 💤
22 💤
23 💤
24 💤
25 💤

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

[LANGUAGE: lua]

# [Lua]()

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

- [GitHub Repository](https://github.com/cideM/aoc2017)
- [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.