Skip to content

Instantly share code, notes, and snippets.

@exosyphon
exosyphon / gist:a974a476a06f782f5d4fca44da322ecb
Created August 18, 2023 19:48
Fetch data and parse using curl, jq and fzf
curl -s https://api.weather.gov/gridpoints/LWX/96,70/forecast/hourly | jq -c '.properties.periods[]' | fzf --reverse --header 'Make a selection' --no-height --preview 'printf %s {} | jq' -e
@exosyphon
exosyphon / fzf.sh
Created August 15, 2023 22:59
Search JSON results using FZF and preview them
curl -s SOME_ENDPOINT | jq -c '.data[]' | fzf --reverse --header 'Make a selection' --no-height --preview='printf %s {} | jq' -e