DFS&BFSfrom collections import deque
9/10/2023act is a tool to run github action locally. By using act, we can get feedback from CI faster. No need to commit/push any changes to github for checking your code is fulfilling the CI requirements or not. Installation MacOS Using homebrew to install act brew install act Install Docker
12/5/2022電腦是由硬體和軟體所構成的,而主要負責運算的部分是作業系統的核心 - Kernel。當使用者下了命令之後,Kernel 就會接收這個命令並且再交由 CPU 進行處理。那 Kernel 是如何接收這些命令的呢 ? 可以看到下面這張圖,使用者和 Kernel 會靠著 Shell 作為一個使用者的介面來進行溝通,也就是說使用者下達了命令後,Shell 會將這些命令轉成 Kernel 可以理解的程式碼,再傳送給 Kernel 好讓 Kernel 可以正確地控制硬體工作。 ![Kernel](https://cdn.mindmajix.com/blog/images/linux-0203-1919.png =300x300) BASH (Bourne Again SHell) BASH 是 Linux 預設的 Shell,雖然 Shell 有很多種,但是 BASH 會被作為 Linux 預設的 Shell 是因為他的功能非常強大,下面列出幾個主要的優點 : 命令紀錄 (history)
7/3/2022Elasticsearch 除了提供搜尋的功能外,也提供了資料統計的功能,也就是本篇要介紹的聚合。聚合提供了多種分析的方式來滿足大多數的資料統計需求,例如 : 一個月內最大筆金額的訂單是哪一個 ? 這次促銷活動期間賣最差的商品是哪一項 ? 今年度每月的平均業績是多少 ? 而聚合主要的功能有以下四個 : Metric Aggregation (指標型聚合) Bucket Aggregation (桶型聚合)
8/25/2021or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up