Skip to content

Instantly share code, notes, and snippets.

View tolache's full-sized avatar

Anatoly Cherenkov tolache

View GitHub Profile
@tolache
tolache / README.md
Last active June 30, 2026 10:04
Delete all Gemini Chats

Delete All Gemini Chats

Some Gemini versions don't have an option to delete all chats at once from the web UI. Workaround:

  1. Open browser developer console.

  2. Run this in the console.

    async function deleteAllGeminiChats() {
      // Helper function to find all currently loaded chat menu triggers
@tolache
tolache / install-teamcity-linux.md
Last active May 12, 2026 08:37
How to install TeamCity (Amazon Linux 2 / Ubuntu example)

How to install TeamCity (Amazon Linux 2023 / Ubuntu example)

Constants

They will be used in the installation process. Change them if you need to.

TC_VERSION="2026.1"
LINUX_USERNAME="$USER" # TeamCity service will start on behalf of the current user
LINUX_USERGROUP=$LINUX_USERNAME
TEAMCITY_HOME="/opt/teamcity" # directory where you want to install TeamCity server
AGENT_HOME="$TEAMCITY_HOME/buildAgent" # [optional] agent directory (if you want to run a build agent on the same machine - do NOT do this in production)