If you'd like the stress relieving effect of mushrooms without the guilt of illegal drugs and all that comes with it, try surfing.
Apparently, there was a study with PTSD soldiers - one group took, I think it was some kind of amphetamine, for a couple of days and the others went surfing for a couple of weeks with roughly the same positive effect on their PTSD.
If you want to know more, I read it in "Stealing Fire" by Steven Kotler and Jamie Wheal.
I guess it depends on what kind of software you want or can develop. I just started freelancing as web and hybrid app developer this year and what works for me is going to meetups, especially startup/entrepreneurship meetups. There are always founders there looking for developers.
For me, this is the place to collect leads. And it's pretty easy, too, because developers are rare. If you tell them your a developer, the founders who are looking for one will probably approach you.
Read the book "So Good They Can't Ignore You" by Cal Newport. It's not about web dev or entrepreneurship, but it's well worth the read. (I'm a web dev turned entrepreneur, so I know it suits your situation). I'm finally reading it and it is eye-opening.
In short: Become really good at what you do through deliberate practice. This will open doors and get you where you want to go.
I'm reading James Altucher's Choose Yourself Guide To Wealth right now and I really like it, although it's quite verbosely written (I'm about halfway through). This book is about business and monetizing ideas. I haven't read Choose Yourself, which is more of a self-help book, I think.
If you want to know more, I read it in "Stealing Fire" by Steven Kotler and Jamie Wheal.