2k 2 分鐘

ChienI Kao 筆記網站 JHTNT 筆記網站 # What is DevOps? DevOps 拆開來就是 Development + Operations ,也就是開發與維運。 更準確的說可以是「開發」「測試」「維運」三者的結合,是一種軟體開發和部署的方法論。 DevOps 主要促進開發和 IT 運營兩個團隊的結合與運作,提升團隊之間的協作和溝通。 DevOps...
1.7k 2 分鐘

⭐️⭐️⭐️ # 題目敘述 You are given a 0-indexed array nums of n integers, and an integer k . The k-radius average for a subarray of nums centered at some index i with the radius k is the average of all elements in nums between the indices i - k and i + k (inclusive). If there are less than k elements before...
2k 2 分鐘

⭐️ # 題目敘述 There is a biker going on a road trip. The road trip consists of n + 1 points at different altitudes. The biker starts his trip on point 0 with altitude equal 0 . You are given an integer array gain of length n where gain[i] is the net gain in altitude between points i ​​​​​​ and i + 1 for...
1k 1 分鐘

ChienI Kao 筆記網站 JHTNT 筆記網站 # 淺淺介紹一下 Java JAVA 彈性且方便使用者使用,是開發人員建置多種應用程式時的最愛,舉凡社交媒體、Web 和遊戲應用程式及網路與企業應用程式,無所不在。 # Spring vs. Spring Boot Spring Spring Boot Info 以 JAVA 為基礎的開放原始碼 Web 應用程式架構。 在 Spring 架構上建置的延伸模組或模組。 Feature 使用預先建置程式碼的工具和程式庫,提供彈性且完全可設定的環境,以建立自訂、鬆散結合的 Web 應用程式。 提供建立獨立 Spring...
641 1 分鐘

ChienI Kao 筆記網站 JHTNT 筆記網站 # 軟體框架 (Software Framework) 為軟體開發提供了一個基礎的架構、地基,去實現更複雜的軟體或是邏輯,使開發更有效率的進行,他扮演著規範和定義的角色。 框架本身無法自行運作,開發者必須將自己的程式搭配框架才是一個完整的應用程式。 運用框架其實就像把別人已經做好的零件拿來使用,就像要製作一台機器人,總不可能從製作螺絲開始吧!螺絲通常是像他人購買,而我們專注於完成機器人的整體。 而軟體架構就是如此,他提供了別人事先寫好的函式庫(Library)或類別庫(Class...
2.5k 2 分鐘

⭐️⭐️⭐️ # 題目敘述 Given a function fn and a time in milliseconds t, return a debounced version of that function. A debounced function is a function whose execution is delayed by t milliseconds and whose execution is cancelled if it is called again within that window of time. The debounced function...
1.6k 1 分鐘

⭐️⭐️⭐️ # 題目敘述 There is an undirected graph with n nodes, where each node is numbered between 0 and n - 1 . You are given a 2D array graph , where graph[u] is an array of nodes that node u is adjacent to. More formally, for each v in graph[u] , there is an undirected edge between node u and node v ....
139 1 分鐘

ChienI Kao 筆記網站 JHTNT 筆記網站 # 版本退回 引用文: https://gitbook.tw/chapters/using-git/reset-commit git log 檢視提交的歷史記錄。 git log --oneline 目前的 Git 紀錄。 git reset [版本 id] 版本退回
1.1k 1 分鐘

ChienI Kao 筆記網站 JHTNT 筆記網站 當大家一起開發專案時,專案撰寫的內容越來越多,Git Commit 內容增加,就很容易有 Git Graph 非常雜亂的問題,對某一個功能重複撰寫等等。 這個時候就非常需要工作流程 (Work Flow),讓大家有規劃,更效率地開發。 # 常見 Work Flow Git Flow GitHub Flow GitLab Flow # 定義部署的環境 開發環境(工程師的電腦) 測試環境(讓審核人員測試使用,像是 QA 測試) 展示環境(讓早期用戶或是驗收使用) 產品環境(正式讓所有用戶使用) # Git Flow Git...
643 1 分鐘

ChienI Kao 筆記網站 JHTNT 筆記網站 # 什麼是 branch? 在開發軟體時,可能同時會有多人在開發同一功能或修復錯誤,也可能會有多個發佈版本的存在,並且需要針對每個版本進行維護,同一個數據庫可以同時進行多個修改。 現在最常用來管理 Git 分支的方法: master develop feature release hotfix # 分支常用指令 git branch# 查看分支。git branch [BRANCH_NAME]# 建立分支。git checkout [BRANCH_NAME]# 取出指定的分支。git checkout -b...