This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import time | |
| import datetime | |
| import threading | |
| # Global flag to control the thread's execution | |
| keep_alive_thread_running = False | |
| keep_alive_thread = None # To store the thread object | |
| def keep_colab_active_target(): | |
| global keep_alive_thread_running |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ============================================================================== | |
| # CANONICAL BASH CONFIGURATION TEMPLATE (~/.bashrc / sample.bashrc) | |
| # ============================================================================== | |
| # Architecture Overview: | |
| # 1. Essential Environment & Tool Managers (Top): Paths, NVM (node/npm/npx), Go, | |
| # and Conda needed by Antigravity agents, MCP servers, and subshells. | |
| # 2. Antigravity Agent & Headless Fast-Exit (Middle): Immediately short-circuits | |
| # headless agent runners, preventing terminal hangs from UI themes/prompts. | |
| # 3. Interactive Human Shells (Bottom): Heavy theme engines (Oh-My-Bash), tab | |
| # completions, and background daemons (Socat, Direnv). |