Any person who shall violate any of the provisions of this code shall, upon conviction, be punished by a fine not to exceed $500 or by imprisonment in the county jail for a period not to exceed 90 days, or by both such fine and imprisonment; and each violation of any of the provisions of this code and each day the same is violated shall be deemed and taken to be a separate and distinct offense.