Skip to content

Instantly share code, notes, and snippets.

@wolframalpha
Last active January 3, 2018 09:03
Show Gist options
  • Select an option

  • Save wolframalpha/1d76d9140d8027434cebcd458beec1a8 to your computer and use it in GitHub Desktop.

Select an option

Save wolframalpha/1d76d9140d8027434cebcd458beec1a8 to your computer and use it in GitHub Desktop.
Cluster OPs
gcloud dataproc clusters create meow-1434 --bucket shopko-bucket --subnet default --zone asia-east1-b --master-machine-type n1-standard-4 --master-boot-disk-size 100 --num-workers 3 --worker-machine-type n1-standard-4 --worker-boot-disk-size 50 --scopes 'https://www.googleapis.com/auth/cloud-platform' --project affine-dev --initialization-actions 'gs://shopko-bucket/initialisation_script.sh'
gcloud compute ssh --zone=asia-east1-b --ssh-flag="-D" --ssh-flag="10000" --ssh-flag="-N" --ssh-flag="-n" "meow-3214-m" &
google-chrome "http://meow-3214-m:8123" \
--proxy-server="socks5://localhost:10000" \
--host-resolver-rules="MAP * 0.0.0.0 , EXCLUDE localhost" \
--user-data-dir=/tmp/ &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment