12 2020 档案
摘要: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
阅读全文
摘要:var reg = /[^\\\/]*[\\\/]+/g; //匹配文件的名称和后缀的正则表达式 var name = $(this).val().replace(reg, ''); var postfix = /\.[^\.]+/.exec(name);//获取文件的后缀 var text =na
阅读全文
摘要:特殊符号: {} 集合 ${}变量引用 #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
阅读全文
摘要:function ArrayList(){ //属性 this.array=[] //方法 //将数据可以插入到数组中的方法 ArrayList.prototype.insert=function(item){ this.array.push(item) } //toString ArrayList
阅读全文
摘要:<textArea rows="10" cols="100" id="test">你好好呀</textArea> <button onclick="change()" >点击改变</button> function change(){ var text= document.getElementByI
阅读全文
摘要:内置分析器: Request Body深入搜索: GET movies/_search { "query": { "terms": { "column2": [ "beautiful", "mind" ] } } } GET movies/_search { "query": { "terms":
阅读全文