Sometimes you find a website that is just awesome, and you want a local copy of it. Here is how you do it:

#!/bin/bash
H='--header'
wget -mkEpnp -w 3 $H='Accept-Language: en-us,en;q=0.5' \
$H='Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' \
$H='Connection: keep-alive' \
-U 'Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2' \
--referer=http://www.google.com/ $1

Put the above into a file called mirror.

chmod 777 mirror

Then mv the file to a location in your path, like $HOME/bin if you have that, or /usr/sbin or some other place. The above will go slowly, so that you don’t spam the server with too many requests. It will also help you avoid causing errors on their site if they depend on certain headers for statistics or routing.