My personal pledge is that as a programmer I refuse to work for any company that goes on the attack with software patents, this obviously includes Apple and Microsoft. I also refuse to participate if asked by my company to help create a patent, I am willing to be fired over this. Since good programmers are a scarce resource if enough of us took this pledge it could really start having an effect.
See: http://paulgraham.com/softwarepatents.html
In particular:
"We do advise the companies we fund to apply for patents, but not so they can sue competitors. Successful startups either get bought or grow into big companies. If a startup wants to grow into a big company, they should apply for patents to build up the patent portfolio they'll need to maintain an armed truce with other big companies. If they want to get bought, they should apply for patents because patents are part of the mating dance with acquirers."