Punishment for any violation of a city law or ordinance, not otherwise provided in this article or by ordinance, and the punishment for contempt shall be one or more or all of the following punishments at the discretion of the court: a fine not exceeding $1,000.00; imprisonment in the city jail or in the county jail by permission of the county authorities for a period not exceeding 30 days; or work on the street, or such other places where the offender may be lawfully placed at work under the provisions of this Charter, for a period not exceeding 30 days.