Protestors at Occupy Oakland violated a host of city codes outside of the demonstrations themselves, including laws against public defecation, pitching tents and keeping pets overnight in public areas, and selling and smoking marijuana and other drugs.