介绍 一、什么是面向对象的程序设计及为什么要有它 二、类与对象 三、属性查找 四、绑定到对象的方法的特殊之处 五、对象之间的交互 六、练习 一、什么是面向对象的程序设计及为什么要有它 面向对象的程序设计并不是全部。对于一个软件质量来说,面向对象的程序设计只是用来解决扩展性。 二、类与对象 如此,通过 ...
分类:
其他好文 时间:
2018-01-19 00:22:42
阅读次数:
241
总算通过了nfs的localhost测试。 配置很简单,下面摘自网络,并且整理下: 1 安装nfs #apt-get install nfs-kernel-server #apt-get install nfs-common 2 配置/etc/exports 在文本末添加 #/root/nfs_ro ...
分类:
数据库 时间:
2018-01-19 00:21:12
阅读次数:
197
Switch>enableSwitch#Switch#Switch#configterminalSwitch(config)#ipdhcppool10Switch(dhcp-config)#network192.168.1.0Switch(dhcp-config)#network192.168.1.0255.255.255.0Switch(dhcp-config)#dnsSwitch(dhc
分类:
其他好文 时间:
2018-01-18 21:15:21
阅读次数:
158
一 介绍 官网:http://selenium-python.readthedocs.io 二 安装 三 基本使用 四 选择器 一 基本用法 二 xpath 三 获取标签属性 from selenium import webdriver from selenium.webdriver import ...
分类:
其他好文 时间:
2018-01-18 19:37:13
阅读次数:
169
4、验证启动 $ cd $SQOOP_HOME/bin $ sqoop-version 预期的输出: 15/12/17 14:52:32 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6 Sqoop 1.4.6 git commit id 5b34acca ...
分类:
其他好文 时间:
2018-01-18 19:36:33
阅读次数:
209
{ path:'/',component:Recommend,beforeEnter: (to, from, next) => { console.log(to); ajax('get','/api/mall/categoryList',true,'',res=>{ var data=res.dat... ...
分类:
其他好文 时间:
2018-01-18 19:33:58
阅读次数:
173
void Awake(){CanvasScaler canvasScaler = GetComponent<CanvasScaler>();float screenWidthScale = Screen.width / canvasScaler.referenceResolution.x;float ...
分类:
其他好文 时间:
2018-01-18 19:32:20
阅读次数:
156
// 传统ajax用法 var xhr = new XMLHttpRequest(); xhr.responseType = 'json'; xhr.timeout = 2000; console.log(xhr.readyState);//0 xhr.open('GET', url); conso... ...
分类:
Web程序 时间:
2018-01-18 18:03:18
阅读次数:
169
Spark中的CrossValidation Spark中采用是k折交叉验证 (k-fold cross validation)。举个例子,例如10折交叉验证(10-fold cross validation),将数据集分成10份,轮流将其中9份做训练1份做验证,10次的结果的均值作为对算法精度的估 ...
分类:
其他好文 时间:
2018-01-18 17:12:27
阅读次数:
206