Recently Updated Pages
Installation
Alternatives 變更 python 指令的預設路徑 alternatives --set python /usr/bin/python3 # Or alternatives -...
進階管理技巧
建立系統用帳號 CentOS/RedHat) groupadd -r asterisk useradd -r -g asterisk -d /var/lib/asterisk -M ast...
Windows AD 認證
登入 RedHat 系統時,可使用 Windows AD 帳號。 RedHat 7/8 (不加入網域) 這個方式需要先建立相同名稱的本機帳號,通常這個會違反資安規範。 Chapter ...
Phrases 2
before we're done with for loops, let's check out some common mistakes you may come across whil...
系統管理技巧
Home 目錄 完整複製 Home 目錄 由於 User 的 Home 目錄內有許多隱藏檔,若要完整複製它們,有兩個方法: 方法一:可以複製成一個新目錄 cd /home cp -a ...
Cheat Sheets
PDF bash_cheat_sheet.pdf bash-shell-scripting.pdf Bash Parameter Bash Loops Bash Bas...
CSV
Reading CSV files csv.reader(<file-object>, delimiter=':') : input is CSV file. the parameter ...
Tuple 元組
元組類似於清單,是任何類型的元素序列,但它們是不可變的,它們以括號表示。 符號用括號 內容不可變更 處理大量資料比 List 節省記憶體 讀取速度比串列(List)快 a = ...
算術
let #!/usr/bin/env bash let NUMBER1=10 let NUMBER2=3 # Addition => + operator let ADD=$N...
Course 1
Naming rules and conventions 命名規則與慣例 When assigning names to objects, programmers adhere to a s...
Dockerfile
Build Image Docker image 瘦身工具: dive Basic build command cd /path/to/Dockerfile docker bui...
Security Websites
CVE Database https://www.cve.org/ (Formerly: https://cve.mitre.org) https://nvd.nist.gov/ (CV...
SQLPlus
常用技巧 show user conn system/pass -- 登入資料庫 r -- 執行前一個SQL / ...
Set 集合
當您想要儲存一堆元素,並確定這些元素只出現一次時,就會使用集合(set)。集合(set)的元素也必須是不可變的。您可以將其視為字典 (dictionary) 中沒有關聯值 (value) 的鍵 ...
Python Cheat Sheet
String Methods Set/List/Dictionary Methods List methods List methods Data Structures ...
Classes and methods
Defining classes and methods class ClassName: def method_name(self, other_parameters): ...
Dictionaries vs. Lists
Dictionaries are similar to lists, but there are a few differences: Both dictionaries and lists:...
Resources
Let's Encrypt How To Secure Apache with Let's Encrypt on Ubuntu 16.04 SSL For Free 免費 SSL 憑證申...
Dev Online Courses
Developer Roadmaps 開發者學習路線圖 Developer Roadmaps - roadmap.sh Dev Community A constructive ...
Sample Scripts
線上範例 ip.sh - 主機 Public IP 品質健檢 whoamifuck.sh - Linux 系統安全檢測 Auto-rar.sh 解壓縮多個分割檔案 (*.part...