在listview中的listitem设置事件响应,如果listitem中有button控件,这时候listitem就不会捕获到点击事件,而默认的是listitem中的button会捕获点击事件。那么如果点击listitem中的button怎么才能这个button是在哪一个item中呢,换句话说,....
分类:
其他好文 时间:
2015-12-02 17:56:07
阅读次数:
98
http://my.oschina.net/laigous/blog/478438下载的是spark for hadoop 2.6版本安装成功后,master上应有一个Master进程,slave上应有一个Worker进程,如果报错,就在对应的logs里找出错原因。这次slave上总是装不上的原因是...
分类:
其他好文 时间:
2015-12-02 17:56:57
阅读次数:
130
当我们通过Executor提交一组并发执行的任务,并且希望在每一个任务完成后能立即得到结果,有两种方式可以采取:方式一:通过一个list来保存一组future,然后在循环中轮训这组future,直到每个future都已完成。如果我们不希望出现因为排在前面的任务阻塞导致后面先完成的任务的结果没有及时获...
分类:
其他好文 时间:
2015-12-02 17:55:14
阅读次数:
135
There are two sorted arraysnums1andnums2of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should...
分类:
其他好文 时间:
2015-12-02 17:55:53
阅读次数:
130
使用位运算进行权限控制非常普遍。 如: 0000 表示初始化, 0001 表示新增, 0010 表示编辑, 0100 表示更新, 1000 表示查询。。。。。。 使用2的次方表示各个权限值 当给用户赋权限时采用按位或运算 | 如 赋查询,新增权限 : 0000 | 1000 | 000...
分类:
其他好文 时间:
2015-12-02 17:55:17
阅读次数:
160
//导出数据 /* * id datagrid id * url Action 路径 */ function exportExcelToFilter(id,url){ var filterRules = $('#'+id).datagrid('optio...
分类:
其他好文 时间:
2015-12-02 17:55:39
阅读次数:
240
1,表单页面 shangpin.html 1 2 3 4 5 商品信息 6 7 8 9 商品信息10 11 12 13 商品名称:14 15 商品类别:食品16 办公用品17 服装18 19 商品简介:20 21 22 23 24 25 26 27 28 2.接收处理servlet: ...
分类:
其他好文 时间:
2015-12-02 17:54:39
阅读次数:
199
2.4G5G另外对于802.11n, 40MHz情况:(1)2.4G频段sideband应符合下面的要求(2)5G频段sideband应符合下面的要求
分类:
其他好文 时间:
2015-12-02 17:54:46
阅读次数:
1604
在主机sudo su 切换到root mount proc jessie/proc -t proc mount sysfs jessie/sys -t sysfs chroot jessie /bin/bash password 修改密码 https://www.debian.org/release...
分类:
其他好文 时间:
2015-12-02 17:51:42
阅读次数:
106
centos安装php php-fpm1、下载php源码包http://www.php.net/downloads.php2 、安装phptar -xvf php-5.5.13.tar.bz2cd php-5.5.13./configure --prefix=/usr/local/php --wit...
分类:
其他好文 时间:
2015-12-02 17:52:00
阅读次数:
126
http://blog.sina.com.cn/s/blog_4e424e210100pboy.html随着各种业务对IT的依赖渐重,企业的IT基础架构规模不断扩张。作为一名系统工程师我们将如何应对这种日益增长的IT架构呢?在以前系统管理员就像流水线上的一名工人,不断重复的做着同样的工作;现在这一切...
分类:
其他好文 时间:
2015-12-02 17:51:38
阅读次数:
142
文章来自http://blog.crarun.com/article-7.html在Yii框架中,为了防止csrf攻击,封装了CSRF令牌验证。只需要在主配置文件中进行简单的配置,就可以实现CSRF的验证。 'components'=>array('request'=>array(//EnableY...
分类:
其他好文 时间:
2015-12-02 17:50:38
阅读次数:
192
HRESULT IDirect3DDevice9::SetTexture(DWORD Stage, IDirect3DBaseTexture9 *pTexture)其中Stage并不是“阶段”的意思,而是“通道”的意思,即纹理挂接点,取值范围0~7。参考:https://msdn.microsoft...
分类:
其他好文 时间:
2015-12-02 17:51:13
阅读次数:
127
Anytimeyoufeelthepain,refrain,don'tcarrytheworldonyourshoulders!Youcannotbeperfect,andtherewillalwaysbesomeregretsinyourlife.Whatyouneedtodoistorealiz...
分类:
其他好文 时间:
2015-12-02 17:51:20
阅读次数:
118
#include#include#includetypedef struct{int data[50];int *front,*rear;int tag;}QLink;QLink *q;//初始化int Init(QLink *q){q->front=0;q->rear=0;return 0;}//...
分类:
其他好文 时间:
2015-12-02 17:49:31
阅读次数:
125
1. 升级到SP2013时,需要对data connection文件(UDCX文件)进行修改:1. Mark all UDCX File (Ctrl + A) and open them.2. Find 3. Replace with: 2.
分类:
其他好文 时间:
2015-12-02 17:51:06
阅读次数:
95
Linux下最常用的打包程序就是tar了,使用tar程序打出来的包我们常称为tar包,tar包文件的命令通常都是以.tar结尾的。生成tar包后,就可以用其它的程序来进行压缩了,所以首先就来讲讲tar命令的基本用法: tar命令的选项有很多(用man tar可以查看到),但常用的就那么几个选项,下....
分类:
其他好文 时间:
2015-12-02 17:47:59
阅读次数:
138