Skip to content

Instantly share code, notes, and snippets.

@ckolderup
Created October 9, 2014 20:10
Show Gist options
  • Save ckolderup/efb9ff0635eee61ab3fb to your computer and use it in GitHub Desktop.
Save ckolderup/efb9ff0635eee61ab3fb to your computer and use it in GitHub Desktop.
get titles of all top hacker news stories
curl -s -S "https://hacker-news.firebaseio.com/v0/topstories.json" | jq ".[]" | xargs -I % curl -s -S "https://hacker-news.firebaseio.com/v0/item/%.json" | jq ".title"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment