In case of any violation or attempted violation of the provisions of these regulations, the city may institute any appropriate action or proceeding to prevent such violation or attempted violation.