Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Tips / Google Service

Google Service

在 Google Cloud Platform 有四種執行選項: 1) Compute Engine 和 VPS 一樣 擁有完整控制 2) Kubernetes Engine 執行 Docker Container 自行調配資源 3) App Engine Flexible Environment 採 Docker 基底的 PaaS 環境 4) Cloud Functions 事件導向的非同步運算環境

https://console.developers.google.com/apis/dashboard

Plone PAS Plugin Login with Google

Mail

imaplib.IMAP4_SSL() Example gmail_imap_example.py EMAIL_FOLDER = "[Gmail]/Trash" 預設安全等級可能擋掉登入 https://www.google.com/settings/security/lesssecureapps 調整設定 或是 Two-way Verification 產生特定密碼 https://security.google.com/settings/security/apppasswords 信件內文 body = email.message_from_string(data[0][1].decode('utf-8')) 然後再 body.get_payload(decode=True) 不過要注意 Terminal 編碼議題 (例 Linux 成功 Win CMD 失敗)

Google Tag Manager

滾軸事件