CSL的筆記

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
回筆記首頁

tags: Notes, Old, Index,Home

隨著年紀越來越大,記憶力也逐漸消逝。是時候該做個筆記來幫助自己學習了!

0.LineBOT課程資料

112學年度第二學期LineBOT課程資料 (教師:林奇賢 辦公室:數學科)

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
112學年度第二學期LineBOT課程資料

1.markdown語法

花了半天學會的markdown語法,可不能忘記了!

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
簡易的Markdown語法(on HackMD)

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
簡易的Markdown語法(on GitHUB)

2. Unit設定

Unit的設定可參閱Unit的官網 https://unit.nginx.org/configuration/

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
unit的簡易設定

3. VPS Linux re-build後設定

Linux裝好後設定指令step by step

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
VPS Linux re-build後設定

4. ngrok轉發伺服器

在筆電寫app時,可使用ngrok將localhost:port導到外網中,常用於測試Bot app

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
ngrok轉發伺服器

5. 網路上的Git筆記

Git指令會常常用到,連結一個筆記,以防忘記!

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Git 與 GitHub 起手式
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Git 個人常用指令筆記
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Git 官方教學文件

6. Docker 很簡單-安裝現成的image

簡易版的 docker指令,我們可用它來封裝webapp

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Docker 很簡單-安裝現成的image

7. Nginx 設定方法

Nginx的設定因不常更改常會忘記,做個筆記

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Nginx 設定方法

8. Flask、Fastapi、Bottle與Python內建wsgi

這裡我們介紹寫Web API時常用的小框架,Python內建wsgi、Bottle、Flask、Fastapi入門寫法的比較
Bottle模組只有一個py檔,很小,是個通用型框架

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Bottle與Python內建wsgi

FastAPI效能高,新興的 web api的框架,資源沒flask多

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
FastAPI:asgi與Python內建wsgi

Flask在網路上的資源非常豐富,開發app首選,效能比FastAPI略低,但之後有apiflask出現,不比FastAPI遜色

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Flask與Python內建wsgi

9. 製作Line Bot

連接 Line,來製作最簡單的 message api BOT

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Lesson 1
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Lesson 2
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Lesson 3
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Line - Message Api - Message types筆記

10. python的環境設定與多版本管理

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
虛擬環境設定
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
update-alternatives︰管理指令和檔案的多個版本 (python的多版本管理)

11. Nginx/Unit vs Gunicorn 效能與消耗資源比較

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Nginx/Unit vs Gunicorn 效能與消耗資源比較

12. 將LineBot移植到 Deta.sh

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
將LineBot移植到Deta.sh

13. WSL (Windows Subsystem for Linux) 安裝與使用教學

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
WSL (Windows Subsystem for Linux) 安裝與使用教學

14. Deta.sh Micros Base Drive 使用方法

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Deta.sh Micros Base Drive 使用方法

15. Python Dict物件與JSON類型轉換

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Python Dict物件與JSON類型轉換

16. Python 連結NoSQL資料庫(Firebase)的 CRUD

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Python 連結NoSQL資料庫(Firebase)的 CRUD

Author:

  • 林奇賢