Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/odnoletkov/advent-of-code-jq
Solving Advent of Code with jq
https://github.com/odnoletkov/advent-of-code-jq
advent-of-code advent-of-code-2020 advent-of-code-2021 aoc jq
Last synced: 6 days ago
JSON representation
Solving Advent of Code with jq
- Host: GitHub
- URL: https://github.com/odnoletkov/advent-of-code-jq
- Owner: odnoletkov
- Created: 2020-12-02T03:57:27.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-25T21:09:51.000Z (6 months ago)
- Last Synced: 2024-03-16T00:43:02.892Z (4 months ago)
- Topics: advent-of-code, advent-of-code-2020, advent-of-code-2021, aoc, jq
- Language: jq
- Homepage: https://adventofcode.com
- Size: 178 KB
- Stars: 203
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-advent-of-code - odnoletkov/advent-of-code-jq - 2023--12--25-brightgreen) (2023 / Solutions)
- awesome-stars - advent-of-code-jq
README
# advent-of-code-jq
Solving [Advent of Code](https://adventofcode.com) with [jq](https://github.com/stedolan/jq)
## Run with input file
$ jq -nRf 2020/01-1.jq your_input.txt
## Or fetch input automatically (macOS)
$ make save-session
... paste 'session' cookie from browser
$ make 2020/01-1## Demo of solving using [vim-jqplay](https://github.com/bfrg/vim-jqplay)
[![asciicast](https://asciinema.org/a/rzFW2vMjOqUTHgat5YmOQ2oVw.svg)](https://asciinema.org/a/rzFW2vMjOqUTHgat5YmOQ2oVw?autoplay=1)