原创 json 遞歸diff工具

import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.Random; import com.al

原创 在windows機器上安裝apache ab

轉載:https://blog.csdn.net/qq_26565861/article/details/81198303 結論分析:http://www.ttlsa.com/web/analysis-of-ab-output-infor

原创 git恢復到以前版本

命令行操作: 1.  git log 查看之前的commit的id,找到想要還原的版本號 2. git reset --hard 版本號   還原到之前的某個版本 3. git push -f origin master  強制push到

原创 testNG+selenium+maven+jenkins windows 安裝及配置過程

1. 環境準備:     1.1 安裝JDK      本文采用jdk-8u111-windows-x64.exe;    1.2 配置tomcat   本文采用tomcat8,無需安裝,配置JAVA_HOME及JRE_HOME環境變量即

原创 git 經常用到的操作

  強制覆蓋已有的分支(可能會丟失改動) git push -u origin master -f   上傳本地文件到遠程倉庫 1. git status 查看當前文件狀態 2. git add <files> 將新的文件加入索引 3.

原创 linux+jdk安裝+jenkins安裝配置

1. 查看是否有jdk環境java --version,說明沒有安裝jdk下載jdk8:wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=ac

原创 git 本地工程傳到遠程服務器:

# 顯示當前的Git配置 $ git config --list # 編輯Git配置文件 $ git config -e [--global] # 設置提交代碼時的用戶信息 $ git config [--global] user.n

原创 基於linux的web自動化(selenium+jenkins+linux+firefox)

安裝Xvfb  yum install xorg-x11-server-Xvfb    查檢安裝是否成功    yum search xvfb 說明已經安裝成功了 2. 安裝firefox yum install firefox 確保

原创 no matches found (正則表達式使用中常見錯誤)

Pattern p = Pattern.compile ( ".*?_(//d*_//d*)" ); Matcher m = p.matcher(jobName);//jobName is a string. e.g. firs

原创 程序員+測試學習資料地址

1. w3c school: https://www.w3cschool.cn/tutorial 2. rpm: http://man.linuxde.net/rpm 3. React 教程: http://www.runoob.com/

原创 二叉樹-已知前序序列和中序序列,求後序序列

package test; public class SubTree { /**  * 已知二叉樹前序和中序,求後序  * @param pre  * @param mid  * @param last  * @param i  */ 

原创 比較兩個list的不同

public void testDifferent(){ArrayList<String> al = new ArrayList<String>(Arrays.asList("a","b","c"));A