上一页 1 2 3 4 5 6 7 8 ··· 61 下一页
摘要: 网上找了好多方法,都比较慢。NPinyin经过测试,挺快。 public static class PinYinHelper { /// <summary> /// 汉字转化为拼音 /// </summary> /// <param name="str">汉字</param> /// <return 阅读全文
posted @ 2021-01-14 09:43 石shi 阅读(704) 评论(0) 推荐(0) 编辑
摘要: 实体类: public class ApiActionDescriptorModel:ICloneable { public string ActionName { get; set; } public string ControllerName { get; set; } public ApiPa 阅读全文
posted @ 2021-01-08 13:20 石shi 阅读(3880) 评论(2) 推荐(1) 编辑
摘要: 在”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 ' 阅读全文
posted @ 2021-01-05 13:27 石shi 阅读(249) 评论(0) 推荐(1) 编辑
摘要: private List<string> IpOrderBy(List<string> ips) { List<string> ipList = new List<string>(); if (ips != null && ips.Count > 0) { for (int i = 0; i < i 阅读全文
posted @ 2020-12-23 10:41 石shi 阅读(350) 评论(0) 推荐(0) 编辑
摘要: var reg = /[^\\\/]*[\\\/]+/g; //匹配文件的名称和后缀的正则表达式 var name = $(this).val().replace(reg, ''); var postfix = /\.[^\.]+/.exec(name);//获取文件的后缀 var text =na 阅读全文
posted @ 2020-12-21 10:46 石shi 阅读(1508) 评论(0) 推荐(0) 编辑
摘要: 特殊符号: {} 集合 ${}变量引用 #ping ip ip=10.10.19.10 i=1 while [ $i -le 5 ] do ping -c1 $ip &>dev/null if [ $? -eq 0 ];then echo "$ip is up.." fi let i=i+1 don 阅读全文
posted @ 2020-12-14 22:20 石shi 阅读(141) 评论(0) 推荐(0) 编辑
摘要: function ArrayList(){ //属性 this.array=[] //方法 //将数据可以插入到数组中的方法 ArrayList.prototype.insert=function(item){ this.array.push(item) } //toString ArrayList 阅读全文
posted @ 2020-12-12 14:09 石shi 阅读(99) 评论(0) 推荐(0) 编辑
摘要: <textArea rows="10" cols="100" id="test">你好好呀</textArea> <button onclick="change()" >点击改变</button> function change(){ var text= document.getElementByI 阅读全文
posted @ 2020-12-10 15:26 石shi 阅读(1692) 评论(0) 推荐(0) 编辑
摘要: 异常处理: 抛出异常: promise: 阅读全文
posted @ 2020-12-05 20:59 石shi 阅读(63) 评论(0) 推荐(0) 编辑
摘要: 内置分析器: Request Body深入搜索: GET movies/_search { "query": { "terms": { "column2": [ "beautiful", "mind" ] } } } GET movies/_search { "query": { "terms": 阅读全文
posted @ 2020-12-05 13:38 石shi 阅读(136) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 61 下一页