Description
Mr.Dog was fired by his company. In order to support his family, he must find a new job as soon as possible. Nowadays, It's hard to have a job, since there are swelling numbers of the...
分类:
其他好文 时间:
2014-07-27 23:57:39
阅读次数:
630
public class Test{ public static void main(String[] args){ Person p = new Person(); }}/*4.修饰的变量是一个常量(所有字符都大些 XXX 或者 XXX_XXX),只能赋值一次! fi...
分类:
编程语言 时间:
2014-07-27 23:33:29
阅读次数:
232
public class Test{ public static void main(String[] args){ //第一种: //int[][] arr1 = new int[][]{{1,2}, {2, 3}, {4, 5}}; ...
分类:
编程语言 时间:
2014-07-27 23:15:19
阅读次数:
250
在eclipse中调试maven test一般情况下,使用如下方式都不能使myeclipse检测到程序中的断点: 项目 -> Run As -> maven test 或 项目 -> Debug As -> maven test如果想使eclipse在执行 maven test 的时候,能进行断点调...
分类:
系统相关 时间:
2014-07-27 23:13:09
阅读次数:
506
最近一段一直使用sublime进行golang开发,整体感觉很不错,虽然比不上eclipse之类IDE强大,但是用起来很轻巧便捷,开发golang完全做够了。由于有一部分代码复用率很高,经常要用到,而自己记性特别差也懒得每次自己敲,就希望能够像其他IDE的插件那样能直接插入代码模板,于是就研究了下s...
分类:
其他好文 时间:
2014-07-27 21:59:19
阅读次数:
341
近些年来,Spring一直很火,许多框架都能跟Spring完美集成,CXF也不例外。下面,我就介绍一下如何使用CXF + Spring发布webService。我们还是使用前两篇博客使用的实例。
服务端:
目录结构:
这里需要的所有Spring的包,CXF的lib目录下都有。
IHelloWorldServer代码:
package com.test.server;
...
分类:
编程语言 时间:
2014-07-27 11:37:16
阅读次数:
341
CSV的样例中Select ... into outfile...是不带字段名的,只导出数据,所以需要自己想另外的办法实现,这里有一个笨招,自己构造一个字段列,示例如下:1,创建测试表数据CREATE TABLE test.c SELECT 1 AS pid,1 AS item,15.0 AS wgt UNION ALLSELECT 1 AS pid,2 AS item,20.0 AS wgt U...
分类:
数据库 时间:
2014-07-27 11:20:42
阅读次数:
244
用XMLHttpRequest对象,发请求的基本代码如下:var xmlhttp=new XMLHttpRequest(); var url="http://localhost:3004/test"; xmlhttp.open("get",...
分类:
Web程序 时间:
2014-07-27 10:33:42
阅读次数:
950
多个cu文件nvcc -cubin -m64 -lcudadevrt -lcublas_device -gencode arch=compute_35,code=sm_35 -o test.cubin -c test.cu -dlinkYou can also do that in two step...
分类:
系统相关 时间:
2014-07-26 16:51:12
阅读次数:
350
1.项目目的 a.通过Spring+Mybatis实现通过web访问达成mySql的操作 b.理解Spring+Mybatis的配置 c.理解maven对项目的管理 2.配置文件 a.采用maven约定结构,src/main/java、src/main/resources、src/main/test b.基...
分类:
编程语言 时间:
2014-07-26 15:42:53
阅读次数:
395