<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>GCP Storage on Lin's Blog</title><link>http://coder.tw/tags/gcp-storage/</link><description>Recent content in GCP Storage on Lin's Blog</description><generator>Hugo</generator><language>zh-tw</language><lastBuildDate>Mon, 10 Apr 2017 09:20:02 +0000</lastBuildDate><atom:link href="http://coder.tw/tags/gcp-storage/index.xml" rel="self" type="application/rss+xml"/><item><title>第一次在 GCP Storage 放置靜態網頁就上手</title><link>http://coder.tw/posts/static-site-on-gcp-storage/</link><pubDate>Mon, 10 Apr 2017 09:20:02 +0000</pubDate><guid>http://coder.tw/posts/static-site-on-gcp-storage/</guid><description>&lt;p&gt;想要在 Google Cloud Storage 放置靜態網頁卻不知從何下手嗎？每次把檔案放到 Google Cloud Storage 分享給朋友還要按「公開」很麻煩麻？  這幾天因為工作需求研究了下，最開始以為只要設定好 Domain 並將檔案共享就可以了，研究後才知道還有許多小撇步，例如每次上傳檔案都要設定公開實在麻煩，其實可以設定上傳到指定 Bucket 預設都公開，甚至還可以設定 Index、404 頁面的預設檔案名稱，甚至一直以為無解的 SSL 問題，官方也提示了不錯的解法！&lt;/p&gt;</description></item><item><title>Tips for Upload Large File to Google Cloud Storage</title><link>http://coder.tw/posts/tips-for-upload-large-file-to-google-cloud-storage/</link><pubDate>Sun, 04 Dec 2016 10:00:49 +0000</pubDate><guid>http://coder.tw/posts/tips-for-upload-large-file-to-google-cloud-storage/</guid><description>&lt;p&gt;因為我有定期備份資料的習慣，會把 Google、Facebook、Evernote、相簿等等資料都定期備份到 Google Cloud Storage 上面，每次用瀏覽器上傳都會很煩惱上傳速度慢的問題，而且如果網路斷線還要重新傳送那 10 GB 的大檔案，後來研究了官方文件，找到一些關於上傳大檔案到 Google Cloud Storage 時很好用的小技巧分享給大家。&lt;/p&gt;
&lt;p&gt;包含：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;如何讓 GCP Storage 幫你驗證檔案的 MD5 Checksum&lt;/li&gt;
&lt;li&gt;如何啟動續傳功能，斷線沒關係可以繼續傳送&lt;/li&gt;
&lt;li&gt;如何透過平行化傳輸把上傳速率榨到極限&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Set Cross-Origin Resource Sharing (CORS) Enable on Google Cloud Storage</title><link>http://coder.tw/posts/set-cross-origin-resource-sharing-cors-enable-on-google-cloud-storage/</link><pubDate>Fri, 02 Dec 2016 13:50:59 +0000</pubDate><guid>http://coder.tw/posts/set-cross-origin-resource-sharing-cors-enable-on-google-cloud-storage/</guid><description>&lt;p&gt;最近因為社課教大家用 Phaser 開發小遊戲，有許多素材需要讓學員在 Codepen 上使用，所以需要一個支援 CORS 的網路空間來放置素材，腦筋動著動著就想到便宜大碗又可以綁定自己 Domain 的 Google Cloud Storage 去啦！&lt;/p&gt;
&lt;p&gt;其實 Google Cloud Storage 預設是不支援 Cross-Origin Resource Sharing (CORS) 的，但只要透過 gsutil （Google Cloud Storage Cli Tool） 就可以幫指定的 Bucket 啟用 CORS 功能！&lt;/p&gt;</description></item></channel></rss>