I've heard of various strategies like publishing the work in as many forums as possible; publishing it on IP.com; filing a patent application and withdrawing it; filing it and pledging; etc.
It would be nice if there were a step by step guide written by an attorney--ideally an ex-patent attorney--that goes lists the steps in order of priority/cost/ease for both individual innovators and companies with deeper pockets.