Topics
- modern fast replacements for established use cases
- new more powerful tools
- interactive command line tools aka text UI or TUI
| #!/usr/bin/env bash | |
| set -e | |
| query_file="$1" | |
| # use json instead of csv, because I had an error where BQ complained it could not render a field as csv table | |
| bq query --format json --headless -sync -quiet < "$query_file" 2>/dev/null \ | |
| | vd --filetype json |
| #!/usr/bin/env bash | |
| set -e | |
| # brew install ankitpokhrel/jira-cli/jira-cli fzf | |
| jira issue list \ | |
| --columns KEY,STATUS,SUMMARY,RESOLUTION,ASSIGNEE \ | |
| --resolution x \ | |
| --type ~Epic \ |
| ───────┬──────────────────────────────────────────────────────────────────────── | |
| │ File: /Users/waldemar/.config/nvim/init.vim | |
| ───────┼──────────────────────────────────────────────────────────────────────── | |
| 1 │ call plug#begin() | |
| 2 │ " Global: | |
| 3 │ Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
| 4 │ " Plug 'kien/ctrlp.vim' | |
| 5 │ Plug 'tpope/vim-sensible' | |
| 6 │ Plug 'rking/ag.vim' | |
| 7 │ Plug 'scrooloose/nerdtree' |
| #!/usr/bin/env inlein | |
| '{:dependencies [[org.clojure/clojure "1.10.0"] | |
| [spec-provider "0.4.14"] | |
| [org.clojure/tools.cli "0.4.2"] | |
| [cheshire "5.8.1"]]} | |
| (require '[cheshire.core :as json]) | |
| (require '[clojure.edn :as edn]) | |
| (require '[spec-provider.provider :as sp]) | |
| (require '[clojure.string :as string]) |
| #!/usr/bin/env inlein | |
| '{:dependencies [[org.clojure/clojure "1.10.0"] | |
| [cheshire "5.8.1"]]} | |
| (require '[cheshire.core :as json]) | |
| (require '[clojure.edn :as edn]) | |
| (defn read-edn | |
| [s] | |
| (try |
| { | |
| "ignition": { | |
| "version": "2.1.0", | |
| "config": {} | |
| }, | |
| "storage": {}, | |
| "systemd": {}, | |
| "networkd": {}, | |
| "passwd": { | |
| "users": [ |
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDcJIYfSR6r85ZbogEhuPFnptCCHE9kVtUL7ekX+vMlXj5lQ/H1NSLm4Fls14z+yiimQAEbF4Vl7bM+YwX1azwoCihVseeRgwIZi0Ukb0et0Llh3/tOX5aM47gNdYyAWXDiz2Tsj/Sz0prm6m4N5AymHQXKfWqPdqJszZ/0iZXu1ZQeteGR3wnHObIh6721PdmgLz0/YPkMDx7/gfYLrqV/DvGeCQimg+V3d//NPLdNXlFUOrxiiTne8zC61R/LNavE0i+DdQu0qFgSFUiVnimlswgzkZy6gWMsZpdWbnkEQmsXhMq73/TakQVxDNBDuNu/P+Apwhi0IGVjwK2h52vs9gAQCxnekP+7puVZrQqsw/i8619eRi6ELNpYYyCIkFEyOFtjTtfDe0nsU0FiFYLQGksd2tcRdVGwV42H/JwJH5wF9YGjnkBxD21PqUUeinKyuujb7AH1DtwIAtv3KKf5MtjxCWRAFKZd5EB8sj8iuuzNFsQJokqIyLNp4JAKiJbtaJJ5Hj23YOtc275dA3Prczn1GGP9lXE6uqaf38LeIYdUg8mAEmwkeoCmcbYE5aqnohax2Z3tYIOABdlE5/qoNyF4ziQ/nEJUrpRBJ2ens0ABb/lJXg7M5Xo7n++5EgLy1Bo23e/nREsQIZr/ookpVYHYvsSJsw1BKnk+ixZeAQ== [email protected] |
I hereby claim:
To claim this, I am signing this object:
| function follow_json_log { | |
| if [ -n "$1" ] | |
| then | |
| jq -R "fromjson? | select (type == \"object\") | $1" | |
| else | |
| jq -R 'fromjson? | select (type == "object")' | |
| fi | |
| } |