This document provides guidelines for maintaining high-quality Python code. These rules MUST be followed by all AI coding agents and contributors.
All code you write MUST be fully optimized.
"Fully optimized" includes:
| # Completely remove any previous config | |
| sudo apt remove --purge mysql* | |
| sudo apt autoremove | |
| sudo find / -iname mysql | |
| # install the server | |
| sudo apt update | |
| sudo apt install mysql-server | |
| # run the wizard | |
| sudo mysql_secure_installation |
| adb help // List all comands | |
| == Adb Server | |
| adb kill-server | |
| adb start-server | |
| == Adb Reboot | |
| adb reboot | |
| adb reboot recovery | |
| adb reboot-bootloader |
| # | |
| # Based on https://hub.docker.com/_/sonarqube | |
| # | |
| version: "3.7" | |
| services: | |
| sonarqube: | |
| container_name: sonarqube |
| -- Create a group | |
| CREATE ROLE readaccess; | |
| -- Grant access to existing tables | |
| GRANT USAGE ON SCHEMA public TO readaccess; | |
| GRANT SELECT ON ALL TABLES IN SCHEMA public TO readaccess; | |
| -- Grant access to future tables | |
| ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess; |