scripts
jq
scripts | jq | |
---|---|---|
36 | 306 | |
11 | 25,063 | |
- | - | |
4.9 | 0.0 | |
3 months ago | 11 months ago | |
Shell | C | |
GNU General Public License v3.0 only | 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.
scripts
- script: extract selected files from restic find using fzf
-
Why Do Privacy Advocates Favor Closed-Source IOS?
I made this at one point to counter that anti-Linux FUD; I still maintain it but not as religiously -- it's become too polarised and no one on that sub is logical once they've made up their minds (which perhaps applies to me also, but shrug !)
-
Question for restic users
try https://github.com/xkcd386at/scripts/blob/master/restic-find-fzf if this interests you. Like a lot of my tools, this one also uses the amazing fzf program to help you select files or directories to extract
- Running mail clients as a second user with machinectl. Works with thunderbird, kmail is tricky, and doesn't work with evolution.
-
chunk: a combination of head and tail
for people who want this kind of combination but still have muscle memory for head and tail arguments, try this: https://github.com/xkcd386at/scripts/blob/master/ht
-
Docfd: TUI fuzzy document finder
if someone wants a pure bash+fzf+ripgrep solution with slightly different behaviour, take a look at https://github.com/xkcd386at/scripts/blob/master/vgc
-
need help implementing s feature into a script
So... https://github.com/xkcd386at/scripts/blob/master/fclone (and yes the program name is probably even less imaginative than rfync -- suggestions welcome)
-
Does czkawka (or any other linux tool) have a feature for finding duplicate folders?
I have a script that identifies exact duplicate directories; see https://github.com/xkcd386at/scripts/blob/master/dirdups
-
FF primary password security effectiveness
https://github.com/xkcd386at/scripts/blob/master/usff for the win
-
Why MFA isn't Foolproof?
as for session token stealing, on Linux at least I have long advocated using multiple userids to run browsers -- I log on to gmail in a user called x3-gm, to amazon in a user called x3-amz, and so on. All simultaneously and without having to logoff/logon. https://github.com/xkcd386at/scripts/blob/master/usff has the details, but that's not important; the main idea is to not use the default locations for any important logged in site. Sure there is some pain in manually moving files between userids (e.g., move statement from bank userid to gmail userid to send to my accountant), but it's not hard and some judicious use of /tmp or similar can help a lot
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?
bat - A cat(1) clone with wings.
yq - Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents
cbonsai
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.
BorgBackup - Deduplicating archiver with compression and authenticated encryption.
gojq - Pure Go implementation of jq
miniplayer - A curses based mpd client with basic functionality and album art.
json5 - JSON5 — JSON for Humans
Clipboard - 😎🏖️🐬 Your new, 𝙧𝙞𝙙𝙤𝙣𝙠𝙪𝙡𝙞𝙘𝙞𝙤𝙪𝙨𝙡𝙮 smart clipboard manager
jp - Validate and transform JSON with Bash
nnn - n³ The unorthodox terminal file manager
nushell - A new type of shell