本地文件在commit到仓库之前若没有chmod +x 权限的话,那在svn仓库里的文件将会保持当前无可执行属性状态。 即使在本地chmod +x filename 之后,再提交到仓库也是没有用的。check out到其他目录的时候,文件仍然没有可执行权限。 需要使用svn 设置文件属性,如下 li ...
分类:
其他好文 时间:
2016-07-20 10:33:52
阅读次数:
168
tomcat7中禁用catalina.out的输出,又可能很大。 直接修改catalina.sh文件的输出语句。 在文件中找到以下内容。 if [ -z "$CATALINA_OUT" ] ; then CATALINA_OUT="$CATALINA_BASE"/logs/catalina.out ...
分类:
其他好文 时间:
2016-07-20 10:32:37
阅读次数:
125
翻了下收藏夹,顺手整理到这里来。 catalina.out文件会越来越大,对系统的稳定造成了一定的影响。conf/logging.properties 一般在部署Tomcat后,运行久了,catalina.out文件会越来越大,对系统的稳定造成了一定的影响。 可通过修改conf/logging.pr ...
分类:
其他好文 时间:
2016-07-20 10:23:01
阅读次数:
186
npm install – g babel babel – help 在项目里安装npm install babel-core -- save-dev babel xx.js babel xx.js -- out-file xxx.js babel xx.js -- out-file xxx.js ... ...
分类:
其他好文 时间:
2016-07-20 09:06:22
阅读次数:
159
Given a directed graph, design an algorithm to find out whether there is a route between two nodes. Have you met this question in a real interview? Ye ...
分类:
其他好文 时间:
2016-07-20 06:34:42
阅读次数:
233
@Test public void testNativSQL(){ System.out.println(" 查询所有 原生sql "); //查询所有 查询出来的list是数组组成的集合对象,所以先循环集合,拿到的是数组,然后用[]拿到数组中的元素 String sql="select * fro ...
分类:
Web程序 时间:
2016-07-19 13:28:24
阅读次数:
167
#include
#include
#include
void setdata(int a[8][8]); //设置随机数
void out(int a[8][8]); //输出数组
void outDiagonal(int a[8][8]); //输出对角线元素的值
void mine(int a[8][8],int x, int y); //按“扫雷”游戏的...
分类:
其他好文 时间:
2016-07-19 10:41:18
阅读次数:
142
Implementing a Neural Network
In this exercise we will develop a neural network with fully-connected layers to perform classification, and test it out on the CIFAR-10 dataset.
这里开始采用矩阵的形式来推导梯度,而且将...
分类:
Web程序 时间:
2016-07-19 10:38:29
阅读次数:
386
栈和队列的相互实现 关于栈和队列的考察 栈和队列都是比较常用的数据结构。栈的应用非常的广泛,比如说,递归函数的实现就是借助于栈保存相关的数据。操作系统中每个线程也会使用栈来保存函数调用涉及到的一些参数和其他变量等。栈最大的一个特点就是先进后出(FILO—First-In/Last-Out)。 队列和 ...
分类:
其他好文 时间:
2016-07-18 01:56:56
阅读次数:
210
今天逛贴吧的时候偶然发现吧友的一个有趣例子。publicclassDemo{
publicstaticvoidmain(String[]args){
System.out.println(24/0);//会抛byzero异常
System.out.println(24.0/0.0)//可以输出,输出为Infinity;
}
}目前对于第二句为什么不会报byzero异常也不知道。先做个标记..
分类:
编程语言 时间:
2016-07-17 18:07:35
阅读次数:
227