From 40a37576ad07e2e0ec504dd40d0864305c159022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BB=96=E5=B0=8F=E4=BF=8A?= Date: Tue, 1 Aug 2017 17:38:17 +0800 Subject: [PATCH 1/4] Fix: disordered readme.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 三个顿号表示代码 --- bigquery/api/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bigquery/api/README.md b/bigquery/api/README.md index fadd2c6d9b..319ac51bd0 100644 --- a/bigquery/api/README.md +++ b/bigquery/api/README.md @@ -16,7 +16,7 @@ This simple command-line application demonstrates how to invoke Google BigQuery ```sh $ git clone https://github.com/GoogleCloudPlatform/php-docs-samples $ cd php-docs-samples/bigquery/api -``` + ``` 4. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md). Run `php composer.phar install` (if composer is installed locally) or `composer install` (if composer is installed globally). @@ -31,8 +31,9 @@ This simple command-line application demonstrates how to invoke Google BigQuery query Run a BigQuery query schema Create or delete a table schema in BigQuery tables List BigQuery tables + ``` 6. Run `php bigquery.php COMMAND --help` to print information about the usage of each command. -``` + ## Contributing changes From 21e5355b5045a97c6e8098da04bad126a87bcada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BB=96=E5=B0=8F=E4=BF=8A?= Date: Tue, 1 Aug 2017 17:40:16 +0800 Subject: [PATCH 2/4] fix something --- bigquery/api/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bigquery/api/README.md b/bigquery/api/README.md index 319ac51bd0..45380d9d2c 100644 --- a/bigquery/api/README.md +++ b/bigquery/api/README.md @@ -13,7 +13,7 @@ This simple command-line application demonstrates how to invoke Google BigQuery to the path of the JSON key that was downloaded. 3. **Clone the repo** and cd into this directory - ```sh + ``` $ git clone https://github.com/GoogleCloudPlatform/php-docs-samples $ cd php-docs-samples/bigquery/api ``` @@ -22,7 +22,7 @@ This simple command-line application demonstrates how to invoke Google BigQuery (if composer is installed globally). 5. Run `php bigquery.php`. The following commands are available: - ```sh + ``` browse-table Browse a BigQuery table datasets List BigQuery datasets export Export data from a BigQuery table into a Cloud Storage bucket From 3773bc44559a7ec22e71bfb9bc9cc06e338c5429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BB=96=E5=B0=8F=E4=BF=8A?= Date: Fri, 1 Sep 2017 11:26:59 +0800 Subject: [PATCH 3/4] add sh tag --- bigquery/api/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bigquery/api/README.md b/bigquery/api/README.md index 45380d9d2c..ace0a038f0 100644 --- a/bigquery/api/README.md +++ b/bigquery/api/README.md @@ -13,8 +13,8 @@ This simple command-line application demonstrates how to invoke Google BigQuery to the path of the JSON key that was downloaded. 3. **Clone the repo** and cd into this directory - ``` - $ git clone https://github.com/GoogleCloudPlatform/php-docs-samples +    ```sh +    $ git clone https://github.com/GoogleCloudPlatform/php-docs-samples $ cd php-docs-samples/bigquery/api ``` 4. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md). @@ -22,7 +22,7 @@ This simple command-line application demonstrates how to invoke Google BigQuery (if composer is installed globally). 5. Run `php bigquery.php`. The following commands are available: - ``` + ```sh browse-table Browse a BigQuery table datasets List BigQuery datasets export Export data from a BigQuery table into a Cloud Storage bucket From 68ad32b7ac5791b48e0df8e2a543b0651cb28c36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BB=96=E5=B0=8F=E4=BF=8A?= Date: Fri, 1 Sep 2017 11:29:06 +0800 Subject: [PATCH 4/4] remove sh tag because sh do not work properly --- bigquery/api/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bigquery/api/README.md b/bigquery/api/README.md index ace0a038f0..f4a30efec3 100644 --- a/bigquery/api/README.md +++ b/bigquery/api/README.md @@ -13,7 +13,7 @@ This simple command-line application demonstrates how to invoke Google BigQuery to the path of the JSON key that was downloaded. 3. **Clone the repo** and cd into this directory -    ```sh +    ```    $ git clone https://github.com/GoogleCloudPlatform/php-docs-samples $ cd php-docs-samples/bigquery/api ``` @@ -22,7 +22,7 @@ This simple command-line application demonstrates how to invoke Google BigQuery (if composer is installed globally). 5. Run `php bigquery.php`. The following commands are available: - ```sh + ``` browse-table Browse a BigQuery table datasets List BigQuery datasets export Export data from a BigQuery table into a Cloud Storage bucket