Skip to content

Instantly share code, notes, and snippets.

@Ki6an
Ki6an / launch_remote_vscode.py
Last active December 31, 2021 12:20
automate connecting local vscode to GC
import re
import subprocess as sp
# run the gc script
process = sp.run(
["gcloud", "alpha", "cloud-shell", "ssh", "--dry-run", "--authorize-session"],
stderr=sp.PIPE,
stdout=sp.PIPE,
shell=True,
)
@Ki6an
Ki6an / qa-bert.ipynb
Created January 26, 2021 07:02
QA-bert.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.