Skip to content

Instantly share code, notes, and snippets.

View Harisathwik's full-sized avatar
🐍
Associate Consultant | M.Tech @bits

Harisathwik Harisathwik

🐍
Associate Consultant | M.Tech @bits
View GitHub Profile
@Harisathwik
Harisathwik / YouTube-OAuth-Snippets
Created January 24, 2021 11:17 — forked from CoreyMSchafer/YouTube-OAuth-Snippets
YouTube-OAuth-Snippets
# token.pickle stores the user's credentials from previously successful logins
if os.path.exists('token.pickle'):
print('Loading Credentials From File...')
with open('token.pickle', 'rb') as token:
credentials = pickle.load(token)
# Google's Request
from google.auth.transport.requests import Request
Task 1: Create a project jumphost instance
Navigation menu > Compute engine > VM Instance
Task 2: Create a Kubernetes service cluster
gcloud config set compute/zone us-east1-b
gcloud container clusters create nucleus-webserver1