pre {
font-size: 0.8em;
}
code {
background-color: rgba(0, 0, 0, 0.01);
border: 1px solid rgba(51, 51, 51, 0.1);
padding: 0.2em;
}
注:/wp-content/themes/twentyfifteen/css/editor-style.css 也有改动
Google镜像站
Android EventBus
Android 开发之如何优雅地复制Assets文件到SD卡
字节数组(byte[])转16进制字符串(HexString)
public static String bytesToHexString(byte[] bytes) {
StringBuffer stringBuffer = new StringBuffer();
String temp = null;
for (int i = 0; i < bytes.length; i++) {
temp = Integer.toHexString(bytes[i] & 0xFF);
if (temp.length() == 1) {
stringBuffer.append("0");
}
stringBuffer.append(temp);
}
return stringBuffer.toString().toUpperCase();
}
参考链接: