[廣東話] Python 入門:第三課 – Python containers (2): Dictionary / Set

Python Containers (第二部分)

  1. Review list, tuple, dictionary & set (列表, 元組, 字典, 集合)
  2. Dictionary: Conversion, access by key, get, update, remove, clear, keys, values, items, copy
  3. Set: Conversion, intersection (&), union (|), difference (-)

免費訂閱本 Youtube 頻道

[廣東話] Python 入門:第二課 – Python Containers – List / Tuple

Python Containers

  1. Python Containers
    1. List [] -列表
    2. Tuple () -元組
    3. Dictionary {key:value} -字典
    4. Set {key} -集合
  2. Using List
    • Append, add, insert, extend, pop, del, sort, copy
  3. Using Tuple
    • Accessing elements, variable assignment

免費訂閱本 Youtube 頻道

[廣東話] Python 入門:第一課 – PyCharm, Python examples & Python data types

[廣東話] Python 入門:第一課 – PyCharm, Python examples & Python data types

基於 Python 3.7 的教程,以廣東話教授。

# 第一課: PyCharm, Hello world, data type

  1. Pycharm IDE basic usage
  2. Indentation, print function
  3. Four main data type: str, int, float, bool
  4. Basic calculation
  5. Type conversion: int(), float(), str(), bool()
  6. String concatenation
  7. SLICE operation [start:end:step]
  8. String functions: find, replace, etc.

免費訂閱本 Youtube 頻道

閱讀:自控力 (斯坦福大學廣受歡迎心理課程)

自控力 (斯坦福大學廣受歡迎心理課程)

書名:自控力 (斯坦福大學廣受歡迎心理課程)

作者:Kelly McGonigal

“自控力” 是運用 “意志力” 控制自己的行為。所謂 “意志力”,是指控制自己的注意力、心情及欲望的能力。這書提供多個意志力實驗,希望讀者能親自驗証,到底那些方法適合自己。通過不斷練習,提昇意志力。

Android Studio 可成功 compile 但編輯器完全找不到 AppCompat 的任何參考

今天遇到一個很奇怪的 Android Studio 問題。打開其中一個項目時,可以成功 compile 但 AppCompat 的參考都找不到 (全部標示為紅字)。把上 Google 找到 stackoverflow 上也有人有過同樣的問題,什麼 Clean / Invalidate Caches 都不能解決問題,只有其中有一簡單方法對我的項目有效。 先把 Android Studio 關掉 到項目的 \.idea 刪除 libraries (或更名) 用 Android Studio 重新打開該項目 Stackoverflow 的解答

閱讀:解決問題的三大思考工具

解決問題的三大思考工具

這書可分為兩個部份:

解決問題方法 (三大思考方法)、
思維框架:思維框架:可重用的思維工具 / 思考模式

第一部份把思考方式分類,第二部份則是介紹各分類中的思維工具。

使用免費 SSL / Certbot

SSL / https

SSL 可以把內容加密。SSL 加密後,即使在不安全的網絡 (一般公用網絡) 上傳送,其他人是看不見的。只有在目標主機服務器可以解碼還原內容,其他所有第三者,包括你的 ISP 都不會知道內容。換句話說,第三者只會看到你訪問那個服務器,不會知道你看過了那一頁,傳送了什麼資料。

無法複製此頁面的內容