CSL
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
1
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# CSL的筆記 :house: [回筆記首頁](https://www.mirai.tw) [![hackmd-github-sync-badge](https://hackmd.io/B7_KbNXyRSGSKxny0cTKqg/badge)](https://hackmd.io/B7_KbNXyRSGSKxny0cTKqg) ###### tags: `Notes`, `Old`, `Index`,`Home` [toc] 隨著年紀越來越大,記憶力也逐漸消逝。是時候該做個筆記來幫助自己學習了! ## 0.LineBOT課程資料 112學年度第二學期LineBOT課程資料 (教師:林奇賢 辦公室:數學科) :arrow_right:[112學年度第二學期LineBOT課程資料](https://hackmd.io/8frig-3ZS2uMOgiLQVRmGQ) ## 1.markdown語法 花了半天學會的markdown語法,可不能忘記了! :arrow_right:[簡易的Markdown語法(on HackMD)](https://hackmd.io/@CSL/BJkKSZ1Os) :arrow_right:[簡易的Markdown語法(on GitHUB)](./Markdown) ## 2. Unit設定 Unit的設定可參閱Unit的官網 https://unit.nginx.org/configuration/ :arrow_right:[unit的簡易設定](https://hackmd.io/@CSL/HJopMcXOj) ## 3. VPS Linux re-build後設定 Linux裝好後設定指令step by step :arrow_right: [VPS Linux re-build後設定](https://hackmd.io/@CSL/Sk2BKOX_o) ## 4. ngrok轉發伺服器 在筆電寫app時,可使用ngrok將localhost:port導到外網中,常用於測試Bot app :arrow_right: [ngrok轉發伺服器](https://hackmd.io/@CSL/Hk6aDDQdi) ## 5. 網路上的Git筆記 Git指令會常常用到,連結一個筆記,以防忘記! :arrow_right: [Git 與 GitHub 起手式](https://medium.com/wenchin-rolls-around/git-%E8%88%87-github-%E8%B5%B7%E6%89%8B%E5%BC%8F-966e18da84f2) :arrow_right: [Git 個人常用指令筆記](https://icguanyu.github.io/other/git%E5%B8%B8%E7%94%A8%E6%8C%87%E4%BB%A4/) :arrow_right: [Git 官方教學文件](https://git-scm.com/book/zh-tw/v2) ## 6. Docker 很簡單-安裝現成的image 簡易版的 docker指令,我們可用它來封裝webapp :arrow_right: [Docker 很簡單-安裝現成的image](https://hackmd.io/@CSL/r1LkbTZuo) ## 7. Nginx 設定方法 Nginx的設定因不常更改常會忘記,做個筆記 :arrow_right: [Nginx 設定方法](https://hackmd.io/@CSL/H1Z_ikZOj) ## 8. Flask、Fastapi、Bottle與Python內建wsgi 這裡我們介紹寫Web API時常用的小框架,Python內建wsgi、Bottle、Flask、Fastapi入門寫法的比較 Bottle模組只有一個py檔,很小,是個通用型框架 :arrow_right: [Bottle與Python內建wsgi](https://hackmd.io/@CSL/SySo6HG_i) FastAPI效能高,新興的 web api的框架,資源沒flask多 :arrow_right: [FastAPI:asgi與Python內建wsgi](https://hackmd.io/@CSL/Hyzuh83Oo) Flask在網路上的資源非常豐富,開發app首選,效能比FastAPI略低,但之後有[apiflask](https://apiflask.com/)出現,不比FastAPI遜色 :arrow_right: [Flask與Python內建wsgi](https://hackmd.io/@CSL/ry3rWp8ds) ## 9. 製作Line Bot 連接 Line,來製作最簡單的 message api BOT :arrow_right: [Lesson 1](https://hackmd.io/@CSL/By2Q3GIdo) :arrow_right: [Lesson 2](https://hackmd.io/@CSL/r1pLWiC_i) :arrow_right: [Lesson 3](https://hackmd.io/mQAwolZvRKWQw5XSzFwMNg) :arrow_right: [Line - Message Api - Message types筆記](https://hackmd.io/@CSL/HkuqgjzYo) ## 10. python的環境設定與多版本管理 :arrow_right: [虛擬環境設定](https://hackmd.io/5WErNa21QmCUwEWmCEAu3g) :arrow_right: [update-alternatives︰管理指令和檔案的多個版本 (python的多版本管理)](https://hackmd.io/@CSL/r1j8oHgFj) ## 11. Nginx/Unit vs Gunicorn 效能與消耗資源比較 :arrow_right: [Nginx/Unit vs Gunicorn 效能與消耗資源比較](https://hackmd.io/@CSL/SJCnbHvKo) ## 12. 將LineBot移植到 Deta.sh :arrow_right: [將LineBot移植到Deta.sh](https://hackmd.io/@CSL/HJcsPvhOj) ## 13. WSL (Windows Subsystem for Linux) 安裝與使用教學 :arrow_right: [WSL (Windows Subsystem for Linux) 安裝與使用教學](https://hackmd.io/aitP3VASSj-5H_Dd7NV32A) ## 14. Deta.sh Micros Base Drive 使用方法 :arrow_right: [Deta.sh Micros Base Drive 使用方法](https://hackmd.io/mQiOGfQRSBCjHjx-EAHxHg) ## 15. Python Dict物件與JSON類型轉換 :arrow_right: [Python Dict物件與JSON類型轉換](https://hackmd.io/8-UqaQCfQnKDVdA5_eawMQ) ## 16. Python 連結NoSQL資料庫(Firebase)的 CRUD :arrow_right: [Python 連結NoSQL資料庫(Firebase)的 CRUD](https://hackmd.io/@CSL/BJVz8SFl3) Author: - [name=林奇賢]

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully