01 2021 档案
摘要:var REGEX_TPL = {}; REGEX_TPL.RORN = /(\r|\n)*/g; REGEX_TPL.SPLIT = /[\r|\n]+/g; REGEX_TPL.IPTEXTFIELD_BLANKREG = /\S +\S/; REGEX_TPL.IPTEXTFIELD_MASK
阅读全文
摘要:网上找了好多方法,都比较慢。NPinyin经过测试,挺快。 public static class PinYinHelper { /// <summary> /// 汉字转化为拼音 /// </summary> /// <param name="str">汉字</param> /// <return
阅读全文
摘要:实体类: public class ApiActionDescriptorModel:ICloneable { public string ActionName { get; set; } public string ControllerName { get; set; } public ApiPa
阅读全文
摘要:在”a b c d”的b后面插入3个字段e f g echo a b c d|awk '{$3="e f g "$3}1' 获取ipv4地址: 方法一: ifconfig | awk '/inet / && !($2 ~/^127/){print $2}' 方法二: ifconfig | awk '
阅读全文