Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@pstadler
Last active June 13, 2018 14:52
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save pstadler/3859480 to your computer and use it in GitHub Desktop.
Save pstadler/3859480 to your computer and use it in GitHub Desktop.
Real-time stock tickers shell script (requires jq)
# This has been moved: https://github.com/pstadler/ticker.sh
@apanzerj
Copy link

Just a note, I couldn't get this to work within Geeklet using rbenv and I tried adding the PATH="/usr/local/bin:$PATH" && eval "$(rbenv init -)" &&

to the script. Great for regular command line use tho!

@pstadler
Copy link
Author

I ported this to shell. Older versions can be found in the "Revisions" tab.

@almakdad
Copy link

almakdad commented Mar 1, 2018

Keep getting "'jq' is not in the PATH. (See: https://stedolan.github.io/jq/)" when calling it from a Geeklet. Any ideas what could be causing this?

@pstadler
Copy link
Author

Find your homebrew binary path using echo $(brew --prefix)/bin. Add something like this to the very beginning of the geeklet:

PATH=/usr/local/bin:$PATH

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