Recently Updated Pages
Connect with someone Hi, Tim. I recently completed the Google Cybersecurity Certificate program,...
Glossary terms
Technical debt: The pending work that accumulates when a quick-and-easy solution is applied ins...
Legal AI
法律 AI Legal Assistant ailaw - AI 法律助手 律果科技 - 打造出全球唯一能通過臺灣律師第一試的LLM 練成第一款超懂臺灣法律的LLM,律果實現法務...
pip
Installation Tutorials Install packages in a virtual environment using pip and venv - Python ...
Phrases 3
A website is producing service errors when loading certain pages. so it might make sense to f...
Course 2
Understanding Slowness Slow Web Server ab - Apache benchmark tool ab -n 500 site.example.com ...
Binary Search
二分搜尋(Binary Search)是一種高效的搜尋演算法,用於在已排序的串列(List)中尋找特定元素的位置或值。 前提條件: 資料集合必須是已排序的,可以是升序或降序排列。這是因為二分...
List 串列
串列是任何類型元素的序列,並且是可變的。用於儲存項目集合,它們可以包含任何型別的資料,並以方(中)括號表示。 a = [1, 2, 3, 4, 5] b = ['mango', 'pinea...
Regular Expression
Basic Regex Character types \w matches with any alphanumeric character, including underline ...
Datetime
時間格式代碼 %d:以十進製表示的月份中的第幾天,填充零。 %m:十進製表示的月份,零填充。 %y:以零填充的十進製表示法的年份的最後兩位數字。 %Y:以十進製表示的四位年份數字,零...
String 字串
字串是字元序列且是不可變的。以單引號或雙引號括起來的多個字元的集合,可以包含字母、數字和特殊字元。 Concatenate secret_password = 'jhk7GSH8ds' p...
Examples
登入紀錄報告 Custom Class Dictionary/Set/List Data Set Methods def get_event_date(event): re...
Cybersecurity Certificate
Google Cybersecurity Certificates (GCC) Google 資安證書 啟動台灣資安人才培育計畫 資訊安全人才教育 - Google 安全中心 Goo...
Dictionary 字典
不像序列是由一個範圍內的數字當作索引,dictionary 是由鍵 (key) 來當索引,鍵可以是任何不可變的類型;字串和數字都可以當作鍵。Tuple 也可以當作鍵,如果他們只含有字串、數字或 ...
Installation
Alternatives 變更 python 指令的預設路徑 alternatives --set python /usr/bin/python3 # Or alternatives -...
Windows AD 認證
登入 RedHat 系統時,可使用 Windows AD 帳號。 RedHat 7/8 (不加入網域) 這個方式需要先建立相同名稱的本機帳號,通常這個會違反資安規範。 Chapter ...
CSV
Reading CSV files csv.reader(<file-object>, delimiter=':') : input is CSV file. the parameter ...
Tuple 元組
元組類似於清單,是任何類型的元素序列,但它們是不可變的,它們以括號表示。 符號用括號 內容不可變更 處理大量資料比 List 節省記憶體 讀取速度比串列(List)快 a = ...
Course 1
Naming rules and conventions 命名規則與慣例 When assigning names to objects, programmers adhere to a s...
Set 集合
當您想要儲存一堆元素,並確定這些元素只出現一次時,就會使用集合(set)。集合(set)的元素也必須是不可變的。您可以將其視為字典 (dictionary) 中沒有關聯值 (value) 的鍵 ...