此文章主要是在撰寫Web網頁時,使用Java Script及Kendo UI的學習心得。
此文章主要是在撰寫Web網頁時,使用Java Script及Kendo UI的學習心得。
Google API Console
https://console.developers.google.com
本文主要是紀錄架設Web端,Android端,iOS端Google SSO的相關設定,實際連接方式可參考官方文件。
iOS: Google Sign-In for iOS
Android: Google Sign-In for Android
更改$body-background-color
1 | $body-background-color ?= $blue |
參數路徑:
1 | $orange ?= hsl(16, 100%, 50%) |
一般我們可以使用SQL Server Manager Studio(SSMS)來匯出Insert Scripts。
Step 1: 選擇DB->Tasks->Generate Scripts
範例中,使用兩層的closure,將closure作為callback function,當完成事件時,需要透過callback function將執行結果傳遞至畫面上呈現.
使用時遇到了以下的錯誤訊息.
“Escaping closure captures non-escaping parmeter”
在使用Alamofire library進行Https連接時,遇到了default TLS Trust evaluation failed 這個錯誤.
基本上看起來是無法取得憑證所導致的錯誤,但網站端所請求的並不是合法的憑證.
因此我們必須先透過ServerTrustManager來繞過憑證的驗證.
在程式中,常常會愈遇到 Can’t find type ‘XXX’ in scope 的錯誤,發生原因通常是
- 拼字錯誤或大小寫不一致
- 型態宣告不對
- 未加入complie source中