原创 好文收藏-mysql分組取每組前幾條記錄(排序)

mysql分組取每組前幾條記錄(排序)   http://blog.sina.com.cn/s/blog_4c197d420101e408.html   mysql分組取每組前幾條記錄(排名) 附group by與order by的研究

原创 Hyperledger e2e_cli 示例部署遇到問題及解決方法

先決條件http://hyperledger-fabric.readthedocs.io/en/latest/prereqs.html

原创 Rancher入門到精通-2.0 總目錄訂閱免費技術支持

Rancher入門到精通-2.0 Nginx失敗重試中的HTTP協議冪等問題: non_idempotent Nginx通過反向代理做負載均衡時,如果被代理的其中一個服務發生錯誤或者超時的時候,通常希望Nginx自動重試其他的服務,從

原创 好碼推薦-驚歎馬克斯,開源了,來不及,我要發火箭去了

點地址去浪把 https://docs.spacexdata.com/ https://github.com/r-spacex/SpaceX-API

原创 Mysql表設計需要注意的問題(轉)

Mysql表設計需要注意的問題 下面探討的數據庫爲MySQL 存儲引擎爲innodb因爲這是最常見的,使用最多的數據庫和引擎 什麼是頁分裂? 這是因爲聚簇索引採用的是平衡二叉樹算法,而且每個節點都保存了該主鍵所對應行的數據,假設插入數據的

原创 org.springframework security.authentication AuthenticationManager available: expected at least 1 be

Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframe

原创 Sonar學習筆記-手動安裝checkstyle插件

版本:sonarqube6.7.7 在sonar應用市場中安裝插件時報錯,沒有找到合適版本,於是手動安裝插件 第一步: 下載對應版本的checkstyle插件 https://github.com/checkstyle/sonar-che

原创 Sonar學習筆記-Rule template canot be activated on a Quality profile checkstyle:RegexpSinglelineCheck

  Rule template can't be activated on a Quality profile: checkstyle:com.puppycrawl.tools.checkstyle.checks.regexp.Regex

原创 好碼推薦-ApiBoot是接口服務的落地解決方案,提供了一系列開箱即用的組件,通過封裝來簡化主流第三方框架的集成

  ApiBoot是接口服務的落地解決方案,提供了一系列開箱即用的組件,通過封裝來簡化主流第三方框架的集成,從而提高開發者開發效率、學習成本、降低入門門檻,真正的實現開箱即用!!! 對SpringBoot簡單瞭解的開發者就可以編寫安全穩

原创 sonar https 代碼檢測 Failed to upload report - 413

 Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project fram

原创 Sonar maven 編譯的時候 Validation of project failed is already part of project

Validation of project failed: o Module "xx" is already part of project "cxx" Sonarqube在掃描Maven多模塊項目的時候,需要在parent pom添加一

原创 Sonar Maven配置官方demo 基礎和多模塊配置

https://github.com/SonarSource/sonar-scanning-examples/tree/master/sonarqube-scanner-maven Multi-module Apache Maven e

原创 學習別人代碼發現加密工具Jasypt,看看怎麼用的

一、概述   Jasypt 這個Java類包爲開發人員提供一種簡單的方式來爲項目增加加密功能,包括:密碼Digest認證,文本和對象加密,集成 hibernate,Spring Security(Acegi)來增強密碼管理。   Jasy

原创 今天想寫個單元測試不想手寫百度 發現idea JUnitGenerator V2.0可以實現 但沒達到想要的結果

今天想寫個單元測試 1.    前提條件 開發環境已正確配置 工程已解決JUnit依賴關係(pom.xml) 我用的是4.12版本: 1 <dependency> 2 <groupId>junit</groupId> 3

原创 Git log 查詢 亂碼 幾條條命令解決

git config --global i18n.commitencoding utf-8  --註釋:該命令表示提交命令的時候使用utf-8編碼集提交 git config --global i18n.logoutputencodin