<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>gcp on Tom Roth</title><link>https://tomroth.dev/tags/gcp/</link><description>Recent content in gcp on Tom Roth</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sun, 26 May 2019 00:00:00 +0000</lastBuildDate><atom:link href="https://tomroth.dev/tags/gcp/index.xml" rel="self" type="application/rss+xml"/><item><title>How to enable Beta features for Google Speech-to-Text with Python</title><link>https://tomroth.dev/speech-beta/</link><pubDate>Sun, 26 May 2019 00:00:00 +0000</pubDate><guid>https://tomroth.dev/speech-beta/</guid><description>It&amp;rsquo;s a straightforward two-step process.
One: make sure you have version 1.0.0 or later of google-cloud-speech (use !pip freeze | grep google-cloud-speech)
Two: Instead of importing the client libraries like
from google.cloud import speech from google.cloud.speech import enums, types import them like
from google.cloud import speech_v1p1beta1 as speech, storage from google.cloud.speech_v1p1beta1 import enums, types The beta features should now be available for you to use.</description></item><item><title>Install Docker on a Google Cloud virtual machine</title><link>https://tomroth.dev/gcp-docker/</link><pubDate>Tue, 27 Nov 2018 00:00:00 +0000</pubDate><guid>https://tomroth.dev/gcp-docker/</guid><description>I set up a new virtual machine using the Google Cloud Platform and wanted to install Docker. Although I couldn&amp;rsquo;t get the official instructions to work, I found this tutorial for installing Docker using Debian 9, which worked since GCP virtual machines use Debian as their Linux distribution.
Here&amp;rsquo;s how to do it.
Start up a new virtual machine using GCP. Then ssh into the box (with gcloud compute ssh xxxx or something similar) and copy paste this into the terminal prompt</description></item></channel></rss>