-
How to query JSON in the terminal with jq
jq is a command line filter for JSON: five one-liners cover names, filtering, sorting, summing and CSV. Measured on 20000 records: filtering takes 0.072 s with jq against 0.071 s with Python.
-
HTTPS on localhost with mkcert, without certificate warnings
mkcert creates a local CA, installs it in the system and browser trust stores, and signs a certificate for localhost. Measured: with the CA in --cacert, curl returns HTTP 200 and ssl_verify_result 0 in 0.006 s; without it, it fails with unable to get local issuer certificate.
-
What changes in the terminal once fzf handles the search
fzf matches what you type against what is in the list, typos included. Measured over 50,000 paths: grep returns 0 lines with two characters swapped, fzf returns all 500.
-
What one curl call can measure
With -w, curl breaks a request into five phases and prints the time of each one. Measured: of a 63 ms https call, 41.5 ms is the TLS handshake alone. The post also covers POST, headers, redirects and errors.
You reached the end. Every post is here.