Skip to content

Instantly share code, notes, and snippets.

@brainsik
Created October 31, 2013 21:15
Show Gist options
  • 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
@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