https://stackoverflow.com/questions/32960857/how-to-convert-arbitrary-simple-json-to-csv-using-jq
jq -r '
(map(keys) | add | unique) as $cols
| map(. as $row | $cols | map($row[.])) as $rowshttps://stackoverflow.com/questions/32960857/how-to-convert-arbitrary-simple-json-to-csv-using-jq
jq -r '
(map(keys) | add | unique) as $cols
| map(. as $row | $cols | map($row[.])) as $rows| #!/bin/sh | |
| # test_len.sh | |
| # This script is used to test the maximum line length that can be processed | |
| # using read -r and eval. | |
| # testing line lengths divided by 10: | |
| test_lengths='409 410 900 1800' |
free
Google account needed
history, editable queries
multiple responses, response tuning (tone, length)
subjective
# Check staged changes in minimal diff (just file names and changed lines)
# keeping coloring, less needs -R to pass colors
git diff --staged -U0 --color | grep -Pv '^(\e\[.{1,2}m)?(---|\+\+\+|index)' | less
# Note: None of these codes for ASCII ESC worked in GNU grep -E \e \x1b \033| { | |
| "ignoreWords": ["appdirs"] | |
| } |