Except as otherwise provided in this code, any person violating any provision of this code is guilty of a gross misdemeanor and will, upon conviction, be fined not less than ten dollars nor more than one thousand dollars, or imprisoned for not more than three hundred sixty-four days, or both, in addition to any other penalty or forfeiture provided herein or otherwise by law.