跳到主內容

最近更新的頁面

【SpringBoot】cors

Controll 新增 @CrossOrigin @CrossOrigin(origins = "*", exposedHeaders = {"X-Total-Count"}) @RestC...

【Larvel】 redirect() 與 redirect()->intended()

在 Laravel 中,redirect()->intended('/login') 和 redirect('/login') 有一些差異,主要是用於不同的用途和情境: redirect(...

【Nginx】location 匹配規則

一般匹配 location [=|~|~*|^~] /uri/ { ... } 模式 含义 location = /uri = 表示精确匹配,只有完全匹配上才能生效 location...

【zsh】如何設定快捷鍵

編輯登入執行檔 vim ~/.zshrc # 加上你要設定的alias alias ll="ls -alF" 重新載入或是關掉終端機再開 . ~/.zshrc # 或是 sour...

【MockK】Kotlin Mocking Library

相關連結 官方網站https://mockk.io/#chinese-guides-and-articles MockK:一款強大的 Kotlin Mocking Library (Pa...

【Kotlin】集合Iterable/Collection/List/Set/Map

出處 : https://blog.csdn.net/vitaviva/article/details/107587134 建立集合  不可變更集合 immutable import ...

【SpringBoot】 開啟tomcat log

   application.properties https://docs.spring.io/spring-boot/docs/3.1.6/reference/htmlsingle/#a...

【Kotlin】coroutines

相關資源官方文件:coroutines-guide 一. 什麼是coroutines?(協同程序) (一)意義: coroutines的中文翻譯為「協程」,「深入淺出kotlin」一書中形...

色票

     

【Tool】常用方法

*判斷為空 const isEmpty = (val) => { // null or undefined if (val == null) return true; ...

【ES6】null 判斷

https://developer.mozilla.org/zh-TW/docs/Web/JavaScript/Reference/Operators/Optional_chaining   ...

【Lua】使用map 做全域變數

http { map $server_name $redis_server { default 10.10.10.1; example.com 10...

Docker Image 相關

鏡像的獲取 pull from registry (online) 從registry拉取 public(公有) private(私有) build from...

【debug】centos7

場景 centos7服務器使用nvm安裝的node之後,只要使用npm或者node,均會出現以下問題 https://www.cnblogs.com/dingshaohua/p/171036...

Prometheus PromQL

   

Prometheus 相關資源

官方範例設定檔 prometheus-book prometheus實戰

Grafana 下拉選單(prometheus)

  prometheus  prometheus 設定檔,新增自訂label

Actuator+Prometheus+Grafana監控視覺化簡介

https://www.tpisoftware.com/tpu/articleDetails/2446 pom.xml 需增加以下依賴: <dependency> <groupId>o...

【PortScan】Masscan

Masscan是網路大規模的連接埠掃描儀。它可以在5分鐘內掃描整個互聯網,每秒從一台機器上傳輸1000萬個資料包(和掃描者的頻寬有關,掃描速率高容易誤報) https://github.com...

【 Mac】安裝netdata

$ brew update $ brew install netdata $ brew services start netdata # prometheus 格式 http://10....