I hereby claim:
- I am michaelwsherman on github.
- I am michaelwsherman (https://keybase.io/michaelwsherman) on keybase.
- I have a public key ASC0zOswalF3tCJL_6ZCBKugOw--j9JxuFfu6ylfnvDMrQo
To claim this, I am signing this object:
export INSTANCE_NAME="my-instance" | |
export ZONE="us-west1-b" | |
export NEW_MACHINE_TYPE="n1-standard-8" | |
gcloud compute instances set-machine-type $INSTANCE_NAME \ | |
--machine-type=$NEW_MACHINE_TYPE \ | |
--zone=$ZONE |
export INSTANCE_NAME="my-instance" | |
export ZONE="us-west1-b" | |
gcloud compute instances stop $INSTANCE_NAME \ | |
--zone=$ZONE |
export INSTANCE_NAME="my-instance" | |
export ZONE="us-west1-b" | |
gcloud compute instances remove-tags $INSTANCE_NAME \ | |
--zone=$ZONE \ | |
--tags=ssh |
export INSTANCE_NAME="my-instance" | |
export ZONE="us-west1-b" | |
gcloud compute instances add-tags $INSTANCE_NAME \ | |
--zone=$ZONE \ | |
--tags=ssh |
export INSTANCE_NAME="my-instance" | |
export ZONE="us-west1-b" | |
gcloud compute ssh $INSTANCE_NAME \ | |
--zone=$ZONE |
I hereby claim:
To claim this, I am signing this object:
# Make Ctrl-A the prefix key. | |
unbind C-b | |
set -g prefix C-a | |
# Set y to copy tmux selected to system clipboard. | |
bind -T copy-mode y send-keys -X copy-pipe-and-cancel 'xclip -selection clipboard,primary >/dev/null' |
export ZONE="us-west1-b" | |
export INSTANCE_NAME="my-instance" | |
export SSH_RULE_NAME="allow-ssh" | |
export SSH_TAG="ssh" | |
function create_notebook() { | |
export IMAGE_FAMILY="tf-latest-gpu" | |
export CREATION_INSTANCE_TYPE="n1-standard-4" | |
gcloud compute instances create $INSTANCE_NAME \ | |
--zone=$ZONE \ |