The "10-page anti-diversity screed" that got a Google employee fired this week is a prime example of many, many societal ills. Besides the larger issues of systematic oppression, workplace harassment, and misogyny and racism that are rampant in the tech industry at large, there's a simpler lesson to be learned here:
If you'd got a company-wide message board, blog, or Slack channel, maybe use some common sense before blasting something out to the entire staff, including your bosses?
Even if what you're sending out is something more benign than an indictment of an entire gender, use the same rule of thumb here that you should be using for social media in general: when in doubt, just don't post it. You'll never regret it, we promise.
With that said, there are plenty of scenarios where an ongoing workplace issue or culture problem may need to be addressed. Instead of mass producing a digital manifesto, try talking to your direct manager first. Here are some tips on how to best approach things when you're unhappy at work.