Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@zmackie
Created June 23, 2018 21:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zmackie/7c6482cecd2a948f4b88d557192c2344 to your computer and use it in GitHub Desktop.
Save zmackie/7c6482cecd2a948f4b88d557192c2344 to your computer and use it in GitHub Desktop.
Various Gotchas i've been gotcha-ed by

Using jq for environement variable creation is nice, because you can have one blob with the value. Not: export $BLAH=$(cat whatever.json | jq .key) Do: export $BLAH=$(cat whatever.json | jq -r .key) # you must add the -r flag for raw mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment