###############################################
###############################################
jq '.eventsJson[].description'
| #!/bin/zsh - | |
| ############################################################################ | |
| # Miller - Extract information and attributes from an Akeneo PIM log file # | |
| # Pontus Sundén 2024 # | |
| ############################################################################ | |
| if [[ $# == 0 || $1 == "--help" || $1 == "-h" ]]; then | |
| echo | |
| echo ' Miller - Extract information and attributes from an Akeneo PIM log file' |
| #! /bin/zsh - | |
| ######################################################################## | |
| # Miller - Translate values in CSV file with mapping ("old" to "new") # | |
| # Pontus Sundén 2024 # | |
| ######################################################################## | |
| # get input from fancy command line flags | |
| zmodload zsh/zutil | |
| zparseopts -A ARGUMENTS -input: -map: -column: |
#########################################
#########################################
mlr --c2d --ops tab --ofs newline cat
mlr --csv put '$* = apply(func(k,v){if(v=="X"){v="Y"};return {k:v}})'
jira jql --json true "(summary ~ '$1' OR description ~ '$1') AND project IN (${projects})" | \
jq '.[] | {
uid: .key,
title: "\(.key): \(.fields.summary)",
subtitle: "Component: \(.fields.components[0].name)", | ;; Logseq Default Query 6-pack | |
| ;; --------------------------- | |
| ;; | |
| ;; Pontus Sundén (@psu) | |
| ;; October 28, 2022 | |
| ;; | |
| ;; Attribution | |
| ;; - https://gist.github.com/sawhney17/3a1b04936f35df80253431a61cb74737 | |
| ;; | |
| ;; --------------------------- |