Auto-formatting Python with Ruff in Gemini CLI
Learn how to set up a hook in Gemini CLI that uses Ruff to format and sort imports in your Python code every time it modifies a file.
Learn how to set up a hook in Gemini CLI that uses Ruff to format and sort imports in your Python code every time it modifies a file.
Teach Gemini CLI to write executable, single-file Python scripts with an inline
dependency block, a technique that lets you run scripts without having to run
pip install first.
Use these gcloud commands to give your Cloud Run service a shorter *.cloud.run URL instead of the default .run.app address.
Cloud Run instances let you run a container with built-in SSH, explicit stop and start controls, and zero compute charges while stopped.
A hands-on look at how rebaseable container images are structured on Cloud Run, using Docker and FROM scratch.