configs
jq
configs | jq | |
---|---|---|
6 | 306 | |
75 | 25,063 | |
- | - | |
4.7 | 0.0 | |
about 1 year ago | 11 months ago | |
JavaScript | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
configs
-
Improve your Python code with pre-commit
I was a long time pre-commit fan, just converted to https://trunk.io/ though
-
Ask HN: Who is hiring? (February 2023)
Trunk | https://trunk.io | Sr Full Stack / Sr C++ | Full-Time | Remote / Hybrid, SF
Trunk is an a16z funded dev tools startup, redefining software development at scale. We've built three products so far and have plans for more:
* Trunk Check: a universal linter/formatter, available as a CLI, VSCode extension, and CI check;
-
Extension to lint and format *every* language
Trunk is also a command line tool, so you can run all these checks on CI, with the same versions of tools you use locally
-
Grep one-liners as CI tasks
Tests are a good way to assert an invariant that you expect of your codebase, but as with all things, resolving the error can get a bit tricky/frustrating.
The canonical example in my mind is any kind of autofix-able linter, where there's some kind of patch (or more nuanced autofix) that the linter can generate on-the-spot for you. With a sh_test construct (or any other unit test), you generally find yourself printing out some command that the user can run to fix things, which in a sufficiently large codebase can get really frustrating.
(My company - https://trunk.io - is actually building a universal linter as part of our product offering, and we already have a system to write custom linters with varying levels of sophistication that can plug into both your IDE and CI system.)
- Ultra-clean sane configs for linters, formatters, and more
jq
-
GNU Parallel, where have you been all my life?
That should recursively list directories, counting only the files within each, and output² jsonl that can be further mangled within the shell². You could just as easily populate an associative array for further work, or $whatever. Unlike bash, zsh has reasonable behaviour around quoting and whitespace too.
¹ https://zsh.sourceforge.io/Doc/Release/User-Contributions.ht...
² https://github.com/jpmens/jo
³ https://github.com/stedolan/jq
- How do i edit reputation?
-
Jj: JSON Stream Editor
What I miss from jq and what is implemented but unreleased is platform independent line delimiters.
jq on Windows produces \r\n terminated lines which can be annoying when used with Cygwin / MSYS2 / WSL. The '--binary' option to not convert line delimiters is one of those pending improvements.
https://github.com/stedolan/jq/commit/0dab2b18d73e561f511801...
-
Building and deploying a web API powered by ChatGPT
If you have jq installed you can use it to make the output look nicer.
-
Search in your Jupyter notebooks from the CLI, fast.
It requires jq for JSON processing and GNU parallel for concurrent searches in the notebooks.
- Check the jq manual!
- mkv vs mp4 metadata
-
Amazon Begs Employees Not to Leak Corporate Secrets to ChatGPT
jq is your friend.
- Memes are all cool and all. But this is your daily remaining that 10000! =
-
How to export/import/externally-edit/whatever WI entries?
The jq command (https://stedolan.github.io/jq/) is useful pulling that information out.
What are some alternatives?
Anki-Android - AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
yq - Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents
semgrep - Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.
dasel - Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool. Supports conversion between formats and can be used as a Go package.
trunk-action - Trunk.io GitHub Action
gojq - Pure Go implementation of jq
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
json5 - JSON5 — JSON for Humans
relay - Sentry event forwarding and ingestion service.
jp - Validate and transform JSON with Bash
ClickHouse - ClickHouse® is a free analytics DBMS for big data
nushell - A new type of shell