Skip to content

Instantly share code, notes, and snippets.

@icco
Created March 3, 2018 19:28
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 icco/73a5218e583d32e1bb81d6ffa41f3566 to your computer and use it in GitHub Desktop.
Save icco/73a5218e583d32e1bb81d6ffa41f3566 to your computer and use it in GitHub Desktop.
A quick load throw at httpbin
#! /bin/bash
# Requires https://github.com/rakyll/hey
curl -sL https://httpbin-cabotage.cmh1.psfhosted.org/ | sed -n 's/.*href="\/\([^"]*\).*/\1/p' | xargs -L 1 $GOPATH/bin/hey https://httpbin-cabotage.cmh1.psfhosted.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment