Recently Updated Pages
USB 管理
限制用戶可存取 USB 硬碟 修改 /etc/modprobe.d/blacklist.conf # These lines would disable the USB drive. bl...
Grub2
RedHat/CentOS 7 設定檔: /etc/default/grub,通用設定 /etc/grub.d/40_custom,自訂內容 建立開機用的設定檔(請勿手動編輯) ...
n2n VPN
Introduction n2n 已經停止維護多年,請改用 EasyTier,或其他方案。 n2n is a layer-two peer-to-peer virtual private n...
Microsoft Azure
Tutorials Azure Animations, where we make hard-to-understand Azure cloud concepts easier and m...
Secure Docker Network
With SWAG SWAG - Secure Web Application Gateway With iptables 從 Linux 基礎實現 Docker Bridge 網路:...
Automation Tools
With SSH Fabric is a high level Python (2.7, 3.4+) library designed to execute shell commands ...
OpenSSL
Create Example Reference File, let us create a 1GB large text file using the fallocate command: ...
Puppet
系統組態管理工具 Open Source Puppet is a freely available open source configuration management platform ...
Asterisk for Docker
GitHub sites https://github.com/christoofar/asterisk https://github.com/mlan/docker-asterisk...
設定 postfix 為寄信主機
情境說明 需求:需要一部 SMTP 寄信主機可供論壇網站寄信,免費的 Gmail 或 ISP 提供的 SMTP 主機都會有寄送數量的限制,而其他提供可大量寄信的雲端服務商,例如 Mailchi...
Infracture as code (IaC)
Infrastructure as Code (IaC): When all of the configuration necessary to deploy and manage a node...
Google Cloud Platform (GCP)
Instance Template Steps: 建立 VM Instance (via web) 關閉 VM Instance 建立 Custom Image for VM Ins...
Pull request
拉取請求可讓您通知其他貢獻者有關 Git 分支的變更。 拉取請求時,您可以先討論並評估建議的變更,然後再將變更執行到主分支。 您最終可以透過建立拉取請求,將變更合併回主儲存庫 (或 repo)...
Code review
程式碼審閱 (Code Review) 也稱為同儕程式碼審閱 (peer code review),是指有目的、有條理地聚集其他程式設計師,以檢查彼此的程式碼是否有錯誤。與其他技術不同,程式碼審...
Merge
Git merge 區分兩種類型: Fast-forward merge: 兩分支的所有 commit 紀錄沒有分歧 Three-way merge: 兩分支的 commit 紀錄有分歧...
Functions
參數類型定義範例 def _gpt_parse_images( image_infos: List[Tuple[str, List[str]]], prom...
實例流程
多人協作基本 人員A push 更新至遠端庫時發生錯誤: ! [rejected] master -> master (fetch first) error: faile...
Branch
Tips Branch : 指向特定 commit 的指標,代表專案中獨立的開發流程 HEAD: 指向目前的分支 main (master): 新專案建立時的預設分支,通常用於主版本 ...
AI Cloud Providers
LLM API Fireworks.ai - Fast, Affordable, Customizable Gen AI Platform Blog: https://blog.fi...
patch & diff
單一檔案 # 建立更新檔 diff -uN my_original.code my_fixed.code > my.patch # 套用更新至指定檔 patch my.code < ...