Wherever in the Revised Ordinances or in any ordinance heretofore or hereafter adopted, any act is prohibited or is made or declared to be unlawful or an offense or a misdemeanor, or wherever in the Revised Ordinances the doing of any act is required, or the failure to do any act is declared to be unlawful, where no specific penalty is provided therefor, the violation of any such provision of the Revised Ordinances or of any such ordinance is hereby made a misdemeanor, and any violator, upon conviction by the court, shall be fined in any amount not exceeding fifty dollars ($50.00) or imprisoned not more than thirty days, or both. Each day any violation of any provision of the Revised Ordinances shall continue shall constitute a separate offense.