This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | sudo yum install -y yum-utils | |
| sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo | |
| sudo yum makecache fast | |
| sudo yum -y install docker-ce | |
| ## if there's a docker installed, please removed it first. | |
| systemctl stop docker | |
| sudo yum remove docker | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | mvn eclipse:eclipse | |
| -DskipTests,不执行测试用例,但编译测试用例类生成相应的class文件至target/test-classes下。 | |
| -Dmaven.test.skip=true,不执行测试用例,也不编译测试用例类。 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 关闭当前finder窗口:command + w | |
| 批量关闭finder窗口: option + command + w | |
| https://vim.rtorr.com/lang/zh_cn | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | ######## submit codes | |
| # step 1. add changes to staging area | |
| git add fileanme | |
| git add . | |
| git add --all . | |
| git rm fileanme | |
| git mv source dst | |
| # step 2. commit to local repostiroy | |
| git commit -m "comments" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | ######################################################## | |
| ## nc command | |
| ######################################################## | |
| ## 扫描IP和端口, 查看该ip,端口是否可用 | |
| nc -v -z 192.168.0.1 8080 | |
| ## insecure connection to https | |
| curl -k https://localhost:6443/api |