San Francisco, unlike most other cities in Silicon Valley, has a 1.5% payroll tax. And even more stunning is that they consider gains on stock options part of payroll, meaning that any San Francisco based company going public or being acquired could get hit with a massive tax bill in the tens of millions of dollars. They've got Twitter jumping through hoops to avoid the tax.