The Privacy Diet · Code companion

The book's code, ready to copy

The Privacy Diet is mostly settings, not code — but Chapters 8 and 9 have commands and a configuration file. Here they are exactly as printed, with where each one goes and which page it's on.

Before you paste

  • Placeholders are the book's: your-bucket-name, /path/to/your/data. Swap in your own values after pasting.
  • These are the book's starting points. Be Your Own Cloud builds each of them out properly — each block links to its newer version.
  1. Part 1 — Your Phone

    • Chapter 1

      Understanding Your Smartphone

      No code in this chapter

    • Chapter 2

      Privacy Settings You Should Change today

      No code in this chapter

    • Chapter 3

      Advanced Android: Custom ROMs and De-Googling

      No code in this chapter

  2. Part 2 — Internet Use

    • Chapter 4

      Browsing Safely: Browsers, Search, and Fingerprinting

      No code in this chapter

    • Chapter 5

      Secure Communication: Email, Messaging, and Metadata

      No code in this chapter

    • Chapter 6

      VPNs: What They Do, What They Don't, and How to Choose

      No code in this chapter

  3. Part 3 — Your Home Network