(a) Whenever in this Code or in any ordinance of the county any act is prohibited or is made or declared to be unlawful or an offense, or whenever in such Code or ordinance the doing of an act is required or the failure to do an act is declared to be unlawful, where no specific penalty is provided therefor, the violation of any such provision of this Code or any ordinance shall be punished by a fine not exceeding $1,000.00 or 60 days imprisonment, or both, except as otherwise provided by general law. The fines imposed therefor may be collected by execution. Each day any violation continues shall be a separate offense. (b) In addition to the penalties hereinabove provided, any condition caused or permitted to exist in violation of any of the provisions of this Code or any ordinance or resolution shall be deemed a public nuisance and may be abated by the county as provided by law, and each day that such condition continues shall be regarded as a new and separate offense.