Wesley13 Wesley13
3年前
java获取操作系统的MAC地址和硬盘序列号
1.判断操作系统是Windows还是Linux1privatestaticBooleanisLinux(){2StringosSystem.getProperty("os.name");3log.info("os.name:{}",os);4
Stella981 Stella981
3年前
JQuery中对option的添加、删除、取值
jQuery获取Select选择的Text和Value:1\.$("select\_id").change(function(){//code...});  //为Select添加事件,当选择其中一项时触发2\.varcheckText$("select\_id").find("option:selected").text();  
Wesley13 Wesley13
3年前
oracle游标的例子
declare    cursor ca is select id_no, name from user where ym201401;begin    for cb in ca loop        update path set enamecb.name where id_nocb.id
Wesley13 Wesley13
3年前
ES6 简单整理
1.变量声明let和constlet与const都是块级作用域,letfunctionname(){letage12;//age只在name()函数中存在}constconstname'tom'name'jack'//
Stella981 Stella981
3年前
Merge Into 语法
mergeinto根据查询数据对已存在的表中数据执行删除、修改、新增操作,在实际应用中非常实用,可以减少insert、update、delete的书写。基本语法:merge into table_name tn using (select column_name,... from table_name ) tmp on tn.条件tm
Wesley13 Wesley13
3年前
MySQL数据查询(重点)
1.查询所有列  \为所有列select\fromtable\_name;2.查询指定列selectid,agefromtable\_name;3.查询时添加常量列本次查询有效,不会添加到表中,只显示 可以用as来命名本列名select'java0328'fromtable\_name;
Stella981 Stella981
3年前
HTML5新增input标签属性
一.inputtype属性1<formaction""2邮箱<inputtype"email"name""id""<inputtype"submit"value"提交"<br/<br/3手机号码<inputtype"tel"name
Stella981 Stella981
3年前
JavaScript学习
Object类型    使用点表示法和对象变量访问都可以,建议用点。    person.name"zhangsan"         等价于          person\"name"\"zhangsan"Array类型    varcolorsnewArray();           
可莉 可莉
3年前
21.30 mongodb创建集合、数据管理
21.30mongodb创建集合、数据管理MongoDB创建集合:db.createCollection("mycol",{capped:true,size:6142800,max:10000})//语法:db.createCollection(name,options)name就是集合
Stella981 Stella981
3年前
Author name disambiguation using a graph model with node splitting and merging based on bibliogra...
Authornamedisambiguationusingagraphmodelwithnodesplittingandmergingbasedonbibliographicinformation