RogelioKG

@RogelioKG

Studying in NCU CSIE 💻. He pursues his goals, never giving up.

Joined on Apr 5, 2024

  • References 🔗 MyApollo - 理解 Python 後端技術:從 CGI 談到 WSGI, uWSGI 與 uwsgi 🔗 MyApollo - 理解 Python 後端技術: ASGI - WSGI 的繼承者 Nouns Gateway Interface Web App 與 Web Server 溝通的協議 CGI (Common Gateway Interface) Web 伺服器在收到 request 時,如果要將 request 交由其他程式(CGI program)處理,就需要建立 1 個新的 process 執行該程式
     Like  Bookmark
  • References 🎬 程序員魚皮 - 光速入門 Nginx Vue + Docker + nginx 在專案根目錄先配置 nginx.conf​​​​server { ​​​​ # container 暴露出的是哪個 port ​​​​ listen 7777; ​​​​ server_name localhost; ​​​​ client_max_body_size 100m;
     Like  Bookmark
  • RogelioKG/typing References 🔗 好豪 - Python Type Hints 教學:我犯過的 3 個菜鳥錯誤 🔗 MyApollo - Python 的 typing.Protocol 怎麼使用? Usage common 📗 <span class="tip">TIP</span>
     Like  Bookmark
  • 📜 Preface preface beginner's guide 🔰 Asynchronous asyncio 🔰 CLI click tqdm
     Like 2 Bookmark
  • RogelioKG/pydantic References 🔗 MyApollo - 用 pydantic 輕鬆進行資料驗證 🎬 ArjanCodes - Why You Should Use Pydantic in 2024 | Tutorial 📄 Doc - Getting help with Pydantic Note 此文以能最快上手 Pydantic 為優先 (學習兩成功能,滿足八成用途) 的組織結構撰寫,若有不嚴謹、不完善之處請見諒。
     Like  Bookmark
  • collections.abc 抽象容器 📑 抽象容器整理表 ChainMap 鏈式字典 # 範例:ChainMap(dict_a, dict_b, dict_c) # 先從 dict_a 找,找不到再從 dict_b 找,找不到再從 dict_c 找。 from collections import ChainMap def find_from_dicts(dicts: list[dict[str, int]], key: str):
     Like  Bookmark
  • RogelioKG/asyncio References 🔗 MyApollo - asyncio 🔗 MyApollo - asyncio shield 🔗 Python Document : asyncio-queue 🔗 Python Asyncio Part 1 – Basic Concepts and Patterns 🔗 Python Asyncio Part 2 – Awaitables, Tasks, and Futures 🔗 Python Asyncio Part 3 – Asynchronous Context Managers and Asynchronous Iterators 🔗 Python Asyncio Part 4 – Library Support
     Like  Bookmark
  • Kconfig 是一種用於配置系統的語言,常見於 Linux kernel 和 ESP-IDF 等嵌入式開發框架中。 Format 📘 <span class="note">NOTE</span> 同一個 menu 或 choice 區塊內的所有 config 名稱,應該要有一個共同的 prefix,長度至少要 3 個字母。 若有嵌套關係,不要求 prefix 疊加,但疊加是好習慣。 Keywords
     Like  Bookmark
  • References 🔗 GDB 除錯技巧 🔗 C語言工具使用,GDB個人學習筆記 🔮 <span class="important">IMPORTANT</span> 如果要使用 GDB 對 C 程式進行 debug,<br>需要在編譯時添加 -g 參數:gcc main.c -g -o main,<br>debug:gdb ./main 🚨 <span class="caution">CAUTION</span> : Windows 64-bits
     Like  Bookmark
  • :::info 建議移駕至網頁版 Notion,觀看體驗更佳。 :::
     Like  Bookmark
  • References 🎬 奇乐编程学院 - CMake软件构建实战 🔗 Wikipedia 教科書 - CMake 🔗 HackMD - CMake 專案建置 Note 📘 <span class="note">NOTE</span> case insensitive
     Like  Bookmark
  • Setup global 使用套件管理器下載,如 apt, scoop 等 scoop​​​​scoop install vcpkg project 到你的專案目錄​​​​cd project 使用 git clone 下載 vcpkg​​​​git clone https://github.com/microsoft/vcpkg.git
     Like  Bookmark
  • Q&A Q:手滑點到 continue,結果跳過某 breakpoint,導致 debugee 要重 run 一遍,難道沒有可以 replay 的 debugger 嗎?A:通常 debugger 不大支援這個功能。是做得到,但中間要記錄的狀態太多了 。 Note debug 和醫生診斷一樣,觀察症狀去對症下藥 就算是 debug 大神,也沒有辦法確保每個 bug 如果你發現你的團隊花費的大量時間在 debug,表示code quality 糟到可怕 system modularity 的缺乏 Nouns
     Like 1 Bookmark
  • Python x. 刷題 📚 學習資源 zerojudge問題集 部分解答 1. Python 基礎 🔎 目標 理解 Python 的基本語法與常見內建功能。
     Like  Bookmark
  • RogelioKG/uv References 📑 Documentation - uv 🔗 使用 uv 管理 Python 環境 🎬 ArjanCodes - UV for Python… (Almost) All Batteries Included Installation Windows​​scoop install main/uv
     Like  Bookmark
  • RogelioKG/matplotlib References 🔗 入門 🔗 中文入門 🔗 核心指南 🔗 圖表學習 🔗 樣板 🔗 動畫
     Like  Bookmark
  • References 📑 Documentation - scoop 📑 Scoop Apps (尋找套件是否存在於 scoop) 🔗 Windows 套件管理工具 - Scoop Installation Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression Note 🚨 <span class="caution">CAUTION</span>
     Like  Bookmark
  • RogelioKG/pytest References 🔗 Documentation - Pytest 🔗 拾遺 - Python 測試入門 - 開始使用 PyTest 🔗 CSDN - pytest.ini 🔗 IT 邦 - Python 與自動化測試的敲門磚 🔗 知乎 - Pytest fixture 及 conftest 详解 🔗 Pytest With Eric - Ultimate Guide To Pytest Markers And Good Test Management 🔗 Pytest With Eric - What Is pytest.ini And How To Save Time Using Pytest Config
     Like  Bookmark
  • References 🔗 ESLint - Switching to ESLint's flat config format 🔗 PJCHENder - [note] ESLint 🔗 SoarLin - 使用 ESLint 自動修正 Vue 專案語法 🐘 ESLint - playground Note 📘 <span class="note">NOTE</span> eslint v8 和以前:使用 object config format
     Like  Bookmark
  • Toolkits 🔗 Python : Pytest 🔗 Java : JUnit 🔗 Vue : Vitest Terms system requirement specification (SRS) 軟體需求規格書。 system design document (SDD)
     Like 1 Bookmark