原创 SQL語句優化建議用法彙總

1、優化limit分頁 一般情況 SELECT * FROM operation WHERE type = 'SQLStats' AND name = 'SlowLog' ORDER BY create_time

原创 微信公衆號支付後申請退款代碼

package net.dunotech.mercury.mtzx.Test; import net.dunotech.mercury.mtzx.logger.MyLogger; import net.dunotech.merc

原创 微信公衆號/小程序errcode 錯誤碼 大全

本文轉載自:https://blog.csdn.net/Liuboxx1/article/details/83829810 $errArr = [ '-1' => '{"errMsg":"system

原创 如何在大量的字符找是否有匹配的?

public static boolean match(String stringS, String stringT) { char[] charsS = stringS.toCharArray();

原创 Docker倉庫Harbor搭建並設置HTTPS

這裏採用離線安裝的方式,安裝需要有root權限。 請先安裝好docker和docker-compose 編輯/etc/docker/daemon.json文件,沒有這個文件的話就新建它,但路徑不能改。 vim /etc/docke

原创 docker安裝Prometheus

1、創建配置掛載目錄 mkdir prometheus chmod 777 -R prometheus 2、創建編輯配置文件 cd prometheus touch prometheus.yml vim prometheus.ym

原创 log4j的properties配置文件

###一、添加log4j的依賴包 <!-- log4j --> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <v

原创 阿里雲服務器掛載新的硬盤

來自: https://yq.aliyun.com/articles/658970?spm=a2c4e.11155472.0.0.44833a893U25Wv 1 查看實例是否有數據盤: fdisk -l 2 分區數據盤 fdis

原创 nginx的root與alias

root和alias都可以定義在location模塊中,都是用來指定請求資源的真實路徑,比如: location /i/ { root /data/w3; } 請求 http://XXX/i/top.gif 這個地址時,那麼

原创 常見SQL錯誤用法

1、LIMIT 語句分頁 一般情況 SELECT * FROM operation WHERE type = 'SQLStats' AND name = 'SlowLog' ORDER BY create_time

原创 視頻文件截圖

maven <dependency> <groupId>org.bytedeco</groupId> <artifactId>javacv</artifactId> <version>1.3.1</version> </de

原创 JAVA開發正確姿勢

1, Array轉ArrayList ArrayList<String> arrayList = new ArrayList<String>(Arrays.asList(arr)); 2, 判斷一個數組是否包含某個值 Array

原创 mysql download mysql各個版本下載地址

各個歷史版本下載地址:https://downloads.mysql.com/archives/community/ 最新版本下載地址:https://dev.mysql.com/downloads/mysql/

原创 運維筆記

在做運維工作期間的文檔記錄總結一、dockerdocker安裝方法第一種第二種第三種卸載docker1. node_exporter2. grafana2.1 grafana變量級聯問題2.1.1 Prometheus配置2.1.

原创 docker運行grafana

官方文檔:http://docs.grafana.org/ docker run -d -p 3000:3000 --name=grafana --network host \ -e "GF_SERVER_ROOT_URL=http: