iCloud as a Cross-Platform Source of Truth (CalDav, CardDav)

This is a summary of how to use iCloud for syncing contacts, calendars and reminders on non-Apple clients/platforms.