Skip to content

Instantly share code, notes, and snippets.

@brainsik brainsik/curlit.sh
Created Oct 31, 2013

Embed
What would you like to do?
Solves the "coding" challenge at letsrevolutionizetesting.com
x='http://letsrevolutionizetesting.com/challenge'; while :; do r=`curl -s -H "Accept: application/json" $x`; x=`echo $r | grep -E -o 'http[^"]+'`; if ! echo "$x" | grep -q http; then echo $r; break; fi; echo $x; done
@silas

This comment has been minimized.

Copy link

silas commented Nov 2, 2013

Haha, that's pretty awesome.

@slushieken

This comment has been minimized.

Copy link

slushieken commented Jul 13, 2015

gotta agree - well done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.