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: about 6 hours 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 (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-16T21:57:49.000Z (26 days ago)
- Last Synced: 2025-01-07T13:47:19.065Z (4 days ago)
- Topics: advent-of-code, advent-of-code-2020, advent-of-code-2021, aoc, jq
- Language: jq
- Homepage: https://adventofcode.com
- Size: 173 KB
- Stars: 211
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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)