Skip to content

Instantly share code, notes, and snippets.

@langheran
Created October 6, 2025 17:56
Show Gist options
  • Save langheran/866192c0de819484331234844a597aa0 to your computer and use it in GitHub Desktop.
Save langheran/866192c0de819484331234844a597aa0 to your computer and use it in GitHub Desktop.
C:\Users\NisimHurst\NDS\scripts\cmds\gu.cmd
@echo off
for /F %%a in ('echo prompt $E ^| cmd') do set "ESC=%%a"
call gcloud config configurations list
call gcloud config configurations activate %*
call gcloud config configurations list
echo %ESC%[33mRun the following commands to authenticate and set up your environment:%ESC%[0m
echo gcloud auth login
echo gcloud auth application-default login
echo gcloud auth application-default set-quota-project <proyecto>
echo gcloud container clusters get-credentials <cluster> --zone us-central1-c --project <proyecto>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment