原创 Problem: SpaceVim: Mac: 解決亂碼
SpaceVim 解決亂碼(Mac) 1. Install font https://github.com/ryanoasis/nerd-fonts $ brew tap caskroom/fonts $ brew cask i
原创 MyBatis: Generator configurations in Spring Boot
MyBatis generator configurations in Spring Boot 1. pom.xml <build> <finalName>abc</finalName> <plug
原创 Swagger: Swagger2 configurations in Spring Boot
Swagger2 configurations in Spring Boot 1. pom.xml <!--swagger-ui--> <dependency> <groupId>io.springfox</groupId
原创 apiDoc: Problem: display online test window in Spring Boot
Problem How to display apiDoc online test window[CRUD] in Spring Boot? Solution in apidoc.json config file: add be
原创 apiDoc: Skill: How to use apiDoc in Spring Boot
How to use apiDoc in Spring Boot 1. Install node.js To check if node.js is successfully installed: λ node --version
原创 Skill: Win10: gvim 卸載 SpaceVim
Skill: Win10: gvim 卸載 SpaceVim Description Win10 上的gvim 使用 install.cmd 安裝SpaceVim, 沒有官方的卸載工具。即使卸載重裝 gvim,打開也還是 Spa
原创 Druid: Skill: sql監控配置 in Spring Boot
Druid 監控配置 in Spring Boot 1. pom.xml <!-- alibaba的druid數據庫連接池 --> <dependency> <groupId>com.alibaba</groupId>
原创 Java: 返回樹形結構數據
Java - 返回樹形結構數據 1.TreeNodeDto @Data public class TreeNodeDto { private Long id; private Long organizatio
原创 Command: Maven: 執行jar包中指定main方法
Command: Maven: 執行jar包中指定main方法 pom.xml中指定main方法 1. pom.xml配置 <build> <finalName>first-server</finalName>
原创 Git: Problem: github提交後沒有記錄Contributions且提交者名字沒有鏈接無法點擊
Git: Problem: github提交後沒有記錄Contributions且提交者名字沒有鏈接無法點擊 Problem 使用github時,發現提交的記錄並沒有統計在GitHub首頁的Contributions Graph
原创 Zookeeper: connect to server
Connect to the zookeeper server 1.Start server λ cd C:\zookeeper-3.4.14\bin λ zkServer.cmd 2.Client connect to t
原创 Sublime: sublime text 3200 activate code
sublime text 3200 activate code Activate code ZYNGA INC. 50 User License EA7E-811825 927BA117 84C9300F 4A0CCBC4 34
原创 Redis: Mac: install and config
Redis install and config in Mac 1. Download https://redis.io/ download redis-5.0.4.tar.gz 2. Make ~ tar xzf red
原创 Java: Set String List 互轉
Java: Set String List 互轉 1.Code import java.util.*; public class Main { public static void main(String[] arg
原创 Spring: jdbcTemplate獲取剛插入記錄的主鍵id
Spring jdbcTemplate獲取剛插入記錄的主鍵id 1. JdbcTemplate JdbcTemplate jdbcTemplate1 = new JdbcTemplate(dataSource);