Skip to content

Instantly share code, notes, and snippets.

@shouya
Created March 31, 2013 18:21
Show Gist options
  • Save shouya/5281512 to your computer and use it in GitHub Desktop.
Save shouya/5281512 to your computer and use it in GitHub Desktop.
IB Math HL Worked Solutions
1.upto(17) do |x|
1.upto(10) do |y|
url = "http://media.pearsoncmg.com/intl/ema/9780435074968_" \
"Garry_Wazir/workedsolutions/HL_Exercise_" \
"#{x}.#{y}_Worked_Solutions.pdf"
`wget -c #{url}`
end
url = "http://media.pearsoncmg.com/intl/ema/9780435074968_" \
"Garry_Wazir/workedsolutions/" \
"HL_Chapter#{x}_Practice_Question_Solutions.pdf"
`wget -c #{url}`
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment