Hacker Utilities

Hacker Utilities

Scripts and tools to accomplish terribly geeky things.

Hacker Utilities

Download a complete web page with wget

When developing a website, it can be helpful to download all the component pieces of a rendered page so that it displays statically offline. An easy way to do this is with wget:

wget -E -H -k -K -p -e robots=off <url>

How to compress PDF in Mac OS X

  1. Download this zip file.
  2. Unzip the contents and copy them into /Library/Filters
  3. Open PDF in Preview (you may need to restart Preview)
  4. Choose File —> Export…
  5. Export Format: PDF
  6. Quartz Filter: Choose the desired settings (“Reduce to 150 dpi average quality” is a good default)