example

[Python]Gmail SMTP example

  • Date: 3/29/2019
  • Author:

# -*- coding:utf-8 -*-import smtplibfrom email.mime.text import MIMETextclass sendmail: def __init__(self): self.mail_host="smtp.gmail.com" self.mail_...

Read More »

Kubernetes in Action: Examples from Google Container Engine by Aparna Sinha & Robert Bailey, Google

  • Date: 5/7/2019
  • Author:

<a href="https://www.youtube.com/embed/H4yAOSdEY24?wmode=opaque&amp;autoplay=1&amp;showinfo=0&amp;autohide=1">Embedded video for Kubernetes in Action:...

Read More »

iAunty Gets Chinese Postpartum Maternal Care Online: An example of O2O company in traditional industry

  • Date: 6/6/2019
  • Author:

With a platform gathering service providers and clients, iAunty makes traditional Chinese Postpartum Maternal Care a first ever O2O example in the field.

Read More »

如何將 Go 程式編譯成 WebAssembly

  • Date: 5/15/2019
  • Author:

Go 1.11 之後的版本,支援可以直接將 Go 寫的內容編譯成 WebAssembly (wasm),然後搭配已經寫好的 wasm_exec.html 和 wasm_exec.js 就可以直接在頁面上執行。註:WebAssembly 在 Firefox 52+ 和 Chrome 57+/lates…

Read More »

Shell script argv、argc 使用範例

  • Date: 5/17/2019
  • Author:

Shell script 常會需要接收參數, 就會用到 argc、argv, 來寫個簡單範例. argc: 參數共有幾個 argv: 取得各個參數 Shell script argv、argc 使用範例 Shell 裡面的 argc、argv 對應的變數如下: argc: $# argv: $@ (變數會存於此陣列), 由 $1, $2, $3 ... 取得各個參數(變數) 註: $0 為 pat…

Read More »

Android CLI 開發 App 範例 (Hello World)

  • Date: 5/17/2019
  • Author:

Android CLI 的開發環境安裝完成後(註: 可參考: Android CLI 開發環境安裝、建置), 再來來寫個簡單的 App 測試看看. Android CLI 開發 App 範例 (Hello World) 在此先記錄些常用指令, Android CLI 常用開發基本指令記錄: android list targets android update...

Read More »