Redirect "all" output to a single file: Run: test.bat?>?test.txt?2>&1 and you‘ll get this text on screen (we‘ll never get rid of this line on screen, as it is sent to the Console and cannot be r...
在eclipse的工程上选择属性,再选择ProjectFacets里面中选择DynamicWebModule,将2.3修改为2.5,提示如下信息:CannotchangeversionofprojectfacetDynamicWebModuleto2.5解决方法:在工程目录下有一个.settings文件夹,打开org.eclipse.wst.common.project.facet.core.xml,做..
分类:
Web程序 时间:
2014-08-05 11:31:10
阅读次数:
264
昨天还用的好好的VSS今天早上一来就提示:Cannot find SS.INI file for user ***度娘了一下,好像都是说的:1,vss\users\***\ 下无文件SS.INI若无从别处copy一个2,vss\users\***\ 下有文件SS.INI修改vss下users.txt...
分类:
其他好文 时间:
2014-08-05 09:27:08
阅读次数:
170
编辑/etc/selinux/config,找到这段:# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELin...
分类:
其他好文 时间:
2014-08-04 21:09:17
阅读次数:
296
Cocos2d-x3.1中回调函数的定义在CCRef.h中声明,源码如下:
typedef void (Ref::*SEL_CallFunc)();
typedef void (Ref::*SEL_CallFuncN)(Node*);
typedef void (Ref::*SEL_CallFuncND)(Node*, void*);
typedef void (Ref::*SEL_Call...
分类:
其他好文 时间:
2014-08-04 18:04:17
阅读次数:
222
用Eclipse在线安装的方式:Help-->Install New Software地址输入:http://m2eclipse.sonatype.org/sites/m2e/,列表中打勾勾上后点击Next安装maven插件时遇到了如下的错误:Cannot complete the install ...
分类:
其他好文 时间:
2014-08-04 13:42:47
阅读次数:
255
mysql的DISTINCT的关键字有很多你想不到的用处1.在count 不重复的记录的时候能用到比如SELECT COUNT( DISTINCT id ) FROM tablename;就是计算talbebname表中id不同的记录有多少条2,在需要返回记录不同的id的具体值的时候可以用比如SEL...
分类:
数据库 时间:
2014-08-03 12:34:45
阅读次数:
289
一,retain, copy, assign区别1. 假设你用malloc分配了一块内存,并且把它的地址赋值给了指针a,后来你希望指针b也共享这块内存,于是你又把a赋值给(assign)了b。此时a 和b指向同一块内存,请问当a不再需要这块内存,能否直接释放它?答案是否定的,因为a并不知道b是否还在...
分类:
移动开发 时间:
2014-08-02 23:12:04
阅读次数:
349
环境和函数
1.环境
使用new.env函数创建环境
> an_environment
向环境中分配变量与列表相同
> an_environment[["pythag"]]
> an_environment$root
> assign("moond...
分类:
其他好文 时间:
2014-08-02 15:32:13
阅读次数:
967
参考:https://groups.google.com/forum/#!topic/theano-users/teA-07wOFpE这个问题出现的原因是,我在读文件的时候,应该Train_X读成matrix(rows * dimensions),Train_Y读成vector(因为只有label一...
分类:
编程语言 时间:
2014-08-02 01:32:12
阅读次数:
553