Any person or agent, who shall violate any provision of the technical codes, or any portion of this chapter, shall be guilty of a misdemeanor which is punishable as set forth in section 1-11. Each person shall be considered guilty of a separate offense for each and every day or portion thereof during which any violation of any of the provisions of this chapter is committed or continue.