JoshS 發表在 痞客邦 留言(0) 人氣(18)
git checkout branch 一般的 branch切換
git pull origin develop 也就是讓當前branch 去 pull develop的版本
JoshS 發表在 痞客邦 留言(4) 人氣(13)
在工作中有時會看見同事這麼用:
public static Map<String,List<String>> gatherCode ;
static{
gatherCode = new HashMap<String,List<String>>();
List<String> A1E = new ArrayList<String>(){
{
add("A11");
add("A12");
}
};
JoshS 發表在 痞客邦 留言(0) 人氣(23)
有時要組Json 做加解密時常常會因為物件轉Json時的String 其物件內的屬性排序會亂排
則這時再透過ObjectMapper轉換前其Object物件內需加入@JsonPropertyOrder注入
JoshS 發表在 痞客邦 留言(0) 人氣(110)
ArrayList 是非同步 故執行起來比Vector快
而Vector 是同步 的其好處是在處理多執行序時會等待先到的一方執行完後才執行下一個
JoshS 發表在 痞客邦 留言(0) 人氣(7)
import com.fasterxml.jackson.databind.ObjectMapper;
JoshS 發表在 痞客邦 留言(0) 人氣(12)
String encryptSha256Data = this.eccrypt(JsonUtil.objectToSting(data));
RSAPrivateKey rsaPrivateKey = this.getPrivateKey(wxPublicKey);
String encryptRSAData = this.encrypt(rsaPrivateKey, encryptSha256Data.getBytes());
JoshS 發表在 痞客邦 留言(0) 人氣(177)
import org.codehaus.jackson.map.ObjectMapper;
JoshS 發表在 痞客邦 留言(0) 人氣(423)
JoshS 發表在 痞客邦 留言(0) 人氣(7,252)
指令的部分可查詢 鳥哥linux網站: http://linux.vbird.org/linux_basic/redhat6.1/linux_06command.php
JoshS 發表在 痞客邦 留言(0) 人氣(985)