1.前期准备1.1设置hostnameCentOS7,可以通过hostnamectlset-hostnamehostname命令设置hostname,并且修改hosts文件.这里域名是sijibao.info.hostnamectlset-hostnamemail.sijibao.info为什么要设置hostname呢?因为一般情况下,Postfix在与其他的SMTP服务器进行通信的时候,会使用h
分类:
数据库 时间:
2018-07-03 23:54:43
阅读次数:
489
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Security.Cryptography... ...
分类:
其他好文 时间:
2018-07-03 15:02:55
阅读次数:
170
create Function StrToTable(@str varchar(1000)) Returns @tableName Table ( str2table varchar(50) ) As –该函数用于把一个用逗号分隔的多个数据字符串变成一个表的一列,例如字符串’1,2,3,4,5’ 将 ...
分类:
数据库 时间:
2018-07-02 14:51:12
阅读次数:
144
Vue.set Vue.set( target, key, value ),target不能是 Vue 实例,或者 Vue 实例的根数据对象,因为源码中做了如下判断: target._isVue阻止了给Vue实例添加属性,ob && ob.vmCount阻止了给Vue实例的根数据对象添加属性。 Vu ...
/** * 鼠标移上去显示层 * @param divId 显示的层ID * @returns */ $.fn.myHoverTip = function(divId) { var div = $("#" + divId); //要浮动在这个元素旁边的层 div.css("position", "a ...
分类:
其他好文 时间:
2018-06-29 20:34:30
阅读次数:
224
把QString写到文件中可以用toutf8()函数 QByteArray QString::toUtf8() const Returns a UTF-8 representation of the string as a QByteArray. UTF-8 is a Unicode codec a ...
分类:
其他好文 时间:
2018-06-29 19:55:59
阅读次数:
340
sklearn.linear_model.LinearRegression.score Returns the coefficient of determination R^2 of the prediction. The coefficient R^2 is defined as (1 - u/v ...
分类:
其他好文 时间:
2018-06-28 17:33:41
阅读次数:
1305
工程目录结构: Common.cs: DS_List.cs: progam.cs: ...
分类:
其他好文 时间:
2018-06-28 16:02:28
阅读次数:
171
session是服务端产生,保存在服务端的。 session的获取是通过httpservletrequest的getSession(boolean create) Returns the current HttpSession associated with this request or, if ...
分类:
其他好文 时间:
2018-06-26 16:04:20
阅读次数:
139
instancsof动态类型检查。除了在判断是否与应生成的类型一样外都不使用,getClass()同样 ==引用等价性 equals()对象等价性 基本数据类型使用 在自定义ADT时需要重写Object的equals() 对象类型使用 a.equals(null) returns false equ ...
分类:
其他好文 时间:
2018-06-23 22:58:16
阅读次数:
310