[Discharge of Cannon: Permit to be given by Mayor, and filed in office of Chief of Police. Discharge of Fire Arms prohibited within certain limits.]Sec. 22. No person shall discharge any cannon within that portion of this city and county lying between Larkin and Ninth Streets and the outer line of the streets forming the water-front, except by special permission, in writing, from the Mayor, which permit shall designate the time and particular locality of the firing, and the number of discharges which are authorized. A copy of such permit shall be filed by the person obtaining the same, in the office of the Chief of Police, at least two hours before the time of such firing; and the person or persons engaged in the discharge of such cannon, shall, on the demand of any citizen or peace officer, exhibit the permit by which such firing is authorized; and no person shall discharge any fire-arm of any other description in that portion of the city and county bounded by Devisadero, Ridley, Market, and Ninth streets, and the outer line of the streets forming the water-front, or within three hundred yards of any public highway, or upon any ground set apart as a cemetery, or public square, or park, or within three hundred yards of any dwelling-house. But this section shall not be construed so as to prohibit any person from shooting destructive animals within or upon his own inclosure. Any person who shall violate any of the provisions of this section shall be deemed guilty of a misdemeanor; and upon conviction thereof, shall be punished by a fine of not less than one hundred dollars, or by imprisonment in the county jail out more than thirty days.