ant1. ant手册翻译ant手册翻译是一项大工程!!!!!!ant在线手册的链接好不明确。2. ant 支持for循环安装ant-contrib Ref[1.1]. 要在ant的build.xml脚本中支持,参考链接Ref[1.2]。下面的build.xml是遍历txt文件,将每一行进行输出的a...
分类:
移动开发 时间:
2014-12-14 00:42:48
阅读次数:
246
php的变量是由zval结构体表示包含zvalue、type、is_ref_gc、refcount_gc构成有八种类型构成boolean、interger、float、string、array、object、resource、nullphp的常量:typedef struct _zend_const...
分类:
Web程序 时间:
2014-12-13 23:06:57
阅读次数:
204
问题:当我强制转换实体类型到泛型的,或者将泛型强制转换为实体类型,会提示无法转换。如下面代码:PersonInfor 为实体类,T为泛型 public int GetPersonMsgW_(ref T pInfo, string imagePath) { //泛型转换为实体类型 ...
分类:
其他好文 时间:
2014-12-12 18:53:34
阅读次数:
633
#!/usr/bin/pythonimportMySQLdbimportpycurldefmaster_work(ip,port):printip,portconn=MySQLdb.connect(host=str(ip),user=‘***‘,passwd=‘****‘,port=int(port))cur=conn.cursor(cursorclass=MySQLdb.cursors.DictCursor)cur.execute(‘showstatus;‘)result=cur.fetchall()#co..
分类:
数据库 时间:
2014-12-12 17:06:30
阅读次数:
241
#!/usr/bin/pythonimportpycurlimportosimportMySQLdbimportcStringIOimportsimplejsonimportredisdeffts_get_appname(host,user,port,db,passwd):conn=MySQLdb.connect(host=str(host),user=user,passwd=passwd,port=int(port),db=db)cur=conn.cursor(cursorclass=MySQLdb.cur..
分类:
其他好文 时间:
2014-12-12 17:05:27
阅读次数:
198
使用DBMS_XPLAN包中的方法是在oracle数据库中得到目标SQL的执行计划的另一种方法。针对不同的应用场景吗,你可以选择如下四种方法中的一种:select*fromtable(dbms_xplan.display)select*fromtable(dbms_xplan.display_cursor(null,null,‘advenced‘));select*fromtable(dbms_xp..
分类:
数据库 时间:
2014-12-12 16:56:08
阅读次数:
316
Ceph配置参数(一)
Ceph配置参数(二)
8、MONITOR CONFIG REFERENCE
http://ceph.com/docs/master/rados/configuration/mon-config-ref/
客户端在读写数据前,都比去和monitor取得联系,获得cluster map,结合CRUSH算法计算得到对象的位置。
(1...
分类:
其他好文 时间:
2014-12-11 20:58:57
阅读次数:
908
css中cursor属性详解-鼠标移到图片变换鼠标形状 语法:cursor : auto | all-scroll | col-resize| crosshair | default | hand | move | help | no-drop | not-allowed | pointer | p...
分类:
Web程序 时间:
2014-12-11 17:12:44
阅读次数:
209
今天在慕课网(很不错的一个IT技术免费网站)上学习nodeJS开发电影网站,其中使用到了mongo数据库,但是在执行中遇到了如下错误!
Failed to connect to 127.0.0.1:27017, reason: errno:10061 No connection could be made because the target machine actively ref...
分类:
数据库 时间:
2014-12-11 12:21:26
阅读次数:
232
Ceph配置参数(一)
6、KEYVALUESTORE CONFIG REFERENCE
http://ceph.com/docs/master/rados/configuration/keyvaluestore-config-ref/
KeyValueStore is an alternative OSD backend compared to FileStore. Curre...
分类:
其他好文 时间:
2014-12-11 10:32:36
阅读次数:
526