Skip to main content

Recently Updated Pages

USB 管理

Linux Administration

限制用戶可存取 USB 硬碟 修改 /etc/modprobe.d/blacklist.conf # These lines would disable the USB drive. bl...

Updated 1 year ago by A-Lang (Admin)

Grub2

Linux Administration

RedHat/CentOS 7 設定檔: /etc/default/grub,通用設定 /etc/grub.d/40_custom,自訂內容 建立開機用的設定檔(請勿手動編輯) ...

Updated 1 year ago by A-Lang (Admin)

n2n VPN

VPN

Introduction n2n 已經停止維護多年,請改用 EasyTier,或其他方案。 n2n is a layer-two peer-to-peer virtual private n...

Updated 1 year ago by A-Lang (Admin)

Microsoft Azure

Cloud Platforms

Tutorials Azure Animations, where we make hard-to-understand Azure cloud concepts easier and m...

Updated 1 year ago by A-Lang (Admin)

Secure Docker Network

Docker

With SWAG SWAG - Secure Web Application Gateway With iptables 從 Linux 基礎實現 Docker Bridge 網路:...

Updated 1 year ago by A-Lang (Admin)

Automation Tools

Automation

With SSH Fabric is a high level Python (2.7, 3.4+) library designed to execute shell commands ...

Updated 1 year ago by A-Lang (Admin)

OpenSSL

Linux Administration 檔案及目錄加密-Encrypt

Create Example Reference File, let us create a 1GB large text file using the fallocate command: ...

Updated 1 year ago by A-Lang (Admin)

Puppet

Automation

系統組態管理工具 Open Source Puppet is a freely available open source configuration management platform ...

Updated 1 year ago by A-Lang (Admin)

Asterisk for Docker

Asterisk

GitHub sites https://github.com/christoofar/asterisk  https://github.com/mlan/docker-asterisk...

Updated 1 year ago by A-Lang (Admin)

設定 postfix 為寄信主機

Postfix

情境說明 需求:需要一部 SMTP 寄信主機可供論壇網站寄信,免費的 Gmail 或 ISP 提供的 SMTP 主機都會有寄送數量的限制,而其他提供可大量寄信的雲端服務商,例如 Mailchi...

Updated 1 year ago by A-Lang (Admin)

Infracture as code (IaC)

Automation

Infrastructure as Code (IaC): When all of the configuration necessary to deploy and manage a node...

Updated 1 year ago by A-Lang (Admin)

Google Cloud Platform (GCP)

Cloud Platforms

Instance Template Steps: 建立 VM Instance (via web) 關閉 VM Instance 建立 Custom Image for VM Ins...

Updated 1 year ago by A-Lang (Admin)

Pull request

Git

拉取請求可讓您通知其他貢獻者有關 Git 分支的變更。 拉取請求時,您可以先討論並評估建議的變更,然後再將變更執行到主分支。 您最終可以透過建立拉取請求,將變更合併回主儲存庫 (或 repo)...

Updated 1 year ago by A-Lang (Admin)

Code review

Git

程式碼審閱 (Code Review) 也稱為同儕程式碼審閱 (peer code review),是指有目的、有條理地聚集其他程式設計師,以檢查彼此的程式碼是否有錯誤。與其他技術不同,程式碼審...

Updated 1 year ago by A-Lang (Admin)

Merge

Git

Git merge 區分兩種類型: Fast-forward merge: 兩分支的所有 commit 紀錄沒有分歧 Three-way merge: 兩分支的 commit 紀錄有分歧...

Updated 1 year ago by A-Lang (Admin)

Functions

Python

參數類型定義範例 def _gpt_parse_images( image_infos: List[Tuple[str, List[str]]], prom...

Updated 1 year ago by A-Lang (Admin)

實例流程

Git

多人協作基本 人員A push 更新至遠端庫時發生錯誤:  ! [rejected] master -> master (fetch first) error: faile...

Updated 1 year ago by A-Lang (Admin)

Branch

Git

Tips Branch : 指向特定 commit 的指標,代表專案中獨立的開發流程 HEAD: 指向目前的分支 main (master): 新專案建立時的預設分支,通常用於主版本 ...

Updated 1 year ago by A-Lang (Admin)

AI Cloud Providers

GenAI

LLM API Fireworks.ai - Fast, Affordable, Customizable Gen AI Platform Blog: https://blog.fi...

Updated 1 year ago by A-Lang (Admin)

patch & diff

Linux Administration

單一檔案 # 建立更新檔 diff -uN my_original.code my_fixed.code > my.patch # 套用更新至指定檔 patch my.code < ...

Updated 1 year ago by A-Lang (Admin)