Wow, sounds rough. You seem bitter and hurt by the whole experience still. Let me just tell you: this experience is good for you in the long run. I can tell you as someone who sits on the ASD scale, I've had some painful periods in my early life where my brain locked on and obsessed over similar rejections. And the obsession and bitterness didn't do me an ounce of good. But later on I accepted it and realized the experience itself made me a wiser, better person.
As to your experience - sounds normal to me (unfortunately). You didn't fit the culture, or at least ended up working with some anti-you people. Maybe you weren't brogrammer enough. It happens to most everyone at some point in their career. I suggest you take from it what you can - when to recognize that things are not working out as early as possible, and to never expose yourself to risk as an at-will employee (always have a money backup!).