Hacker News new | ask | show | jobs
by ranman 5020 days ago
my hacky way of killing Randall's server:

  curl --limit-rate 40K -O http://imgs.xkcd.com/clickdrag/\[0-100\]\{n,s\}\[0-100\]\{e,w\}.png
Then to remove all the 404s:

  find . -type f -size 345c -exec rm -f {} \;
Woo! No code.
2 comments

Use "curl -f" and it won't save the 404 output
imgs.xkcd.com seems to point to a CDN, so it's unlikely to kill his server ;)