Skip to content

Instantly share code, notes, and snippets.

@brainsik
Created October 31, 2013 21:15
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 brainsik/7257328 to your computer and use it in GitHub Desktop.
Save brainsik/7257328 to your computer and use it in GitHub Desktop.
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
Copy link

silas commented Nov 2, 2013

Haha, that's pretty awesome.

@slushieken
Copy link

gotta agree - well done.

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