上一页 1 ··· 155 156 157 158 159 160 161 162 163 ··· 455 下一页
一. 准备工作1.下载安装sts(springsource推荐使用), 毕竟人家的框架用他自家的ide是最好的,当然sts也是基本eclipse的, 下载地址:http://www.springsource.org/downloads/sts-ggts2.下载安装gradle, spring 源码构建加入了gradle支持. gradle下载:http://www.gradle.org/downloads,下载后设置环境变量: GRADLE_HOME = gradle主目录 , 并在path中加入;%GRADLE_HOME%\bin;3.下载安装github, spring源码托管到了gith Read More
posted @ 2013-05-26 22:40 javawebsoa Views(10090) Comments(2) Diggs(2)
http://poj.org/problem?id=1151题目大意:给出 n 个矩形的“左下”和“右上”顶点坐标,求面积并;思路:由于坐标值为实数,所以不能直接用数组模拟,要先将所有坐标值离散化处理;#include<iostream>#include<stdio.h>#include<string.h>#include<stdlib.h>#include<algorithm>using namespace std;#define SIZE 103<<1double a[SIZE][4],x[SIZE],y[SIZE]; Read More
posted @ 2013-05-25 16:17 javawebsoa Views(201) Comments(0) Diggs(0)
题目连接分析:这题是在1000-10000之间,从一个素数变换到另一个素数。我们会想到先打印素数表,然后进行搜索。另外,对素数的变换,我们应进行为的变换。采用queue来存。代码如下:#include<cstdio>#include<cmath>#include<queue>#include<cstring>using namespace std;int k,m;int a[4]={1,10,100,1000};int visit[10000],prime[10000];void get_prime() //素数打表{ int i,j; for( Read More
posted @ 2013-05-25 16:05 javawebsoa Views(146) Comments(0) Diggs(0)
用过sublime的朋友可能都知道,这个工具的可定制性和可扩展性及其在页面操作用户体验方面,是做的非常不错,之前一直使用editplus3,无疑editplus也是一款很好的编辑器,响应速度快,支持各种编码,并且对各种语法高亮显示,比较遗憾的是,它只是一款优秀的轻量级编辑器,而并非ide,我们也不必过于苛求它。 为何要从editplus转到sublime呢,其实缘故很简单,当你觉得editplus不太能满足你,可是为了编辑代码方便,多少有点提示和对代码处理能力加强,又不想去打开eclipse/myeclipse的时候,那么sublime就是你的选择了。 sublime2一直备好评,安装上插件管 Read More
posted @ 2013-05-25 16:02 javawebsoa Views(267) Comments(0) Diggs(0)
参考metalink的文档:Doc ID: Note:3136.1 and 465043.1WARNING: inbound connection timed out (ORA-3136)1.参数含义:SQLNET.INBOUND_CONNECT_TIMEOUT is set to a value in seconds and determines how long a client has to provide the necessary authentication information to a database.INBOUND_CONNECT_TIMEOUT_listenername Read More
posted @ 2013-05-25 15:58 javawebsoa Views(469) Comments(0) Diggs(0)
hp笔记本4431S使用两年了,风扇声音很大,HP Support Assistant提示“清理通风口降低散热和风扇噪音” 查看官网:清理通风口降低散热和风扇噪音 决定自己清理通风口,以下是拆解及清理步骤。 1、关闭主机,切断电源,移除笔记本自带的电池。2、拧开后盖上的螺丝。 3、使用移除电池的方法,双手同时推动开关,移除笔记本后盖。 4、拧开风扇上的螺丝,取下电源线接口。 5、由于没有专用清理工具,我使用棉签清除通风口厚厚的灰尘。 6、重新安上风扇,接好接口,拧上螺丝。 7、从后推上笔记本后盖,推上电源,拧上后盖螺丝。 Read More
posted @ 2013-05-25 15:54 javawebsoa Views(1136) Comments(0) Diggs(0)
参加系举办的oracle交流会-------------深有体会 昨晚,系举办了oracle交流会中,学长的激情演讲和流利的英语水平,让我这个新人觉得很是羡慕。随着时代的发展,英语再生活中越来越重要,好的英语水平也是进入大公司的必要条件,也是提升自我修养的必修课。阅读英文网站可以提高英语水平,也可以通过听力和口语练习提高。Come on! Read More
posted @ 2013-05-25 15:51 javawebsoa Views(128) Comments(0) Diggs(0)
在浅谈 Office 2013 App中说到目前Office App支持三种类型的App, 前两篇讲了office 2013 app 之 task pane app(从新建到发布到office 365 SharePoint) 和office 2013 app 之 content app(从新建到发布到office 365 SharePoint)。本篇讲述office app之 Mail App 从新建到发布。Mail App 和之前两种App有些不同的地方: 1. 只能在Out Look里面应用(2013 在线版,本地版,office 365 上的都可以);2. App是部署到Exchange Read More
posted @ 2013-05-25 15:47 javawebsoa Views(191) Comments(0) Diggs(0)
首先你得写好xml文件,这也是最主要的。 然后,在activity中加入一个线程,延时2秒,用来跳转到主界面。 activity中线程代码如下:(顺便检测一下网络是否打开)@Override protected void onStart() { super.onStart(); if(isNetworkConnected()){ new Thread(){ @Override public void run() { try { Thread.sleep(2000); Intent intent = new Intent(SplashActivit... Read More
posted @ 2013-05-25 15:43 javawebsoa Views(220) Comments(0) Diggs(0)
在SQL Commander中,sql语句中如果有中文,显示是‘口口口’。解决办法如下:在Tools->tool Properties->General->Appearance->Fonts->SQL Editor选择PMingLiU,同时把Grid也选择PMingLiU就可以了。如上配置以后,中文就可以正常显示了。==============================================================还有另外一种办法 使用dbvisualizer一直存在一个问题,就是汉字始终是“口口”。解决方案是:dbvisualizer目录 Read More
posted @ 2013-05-25 15:39 javawebsoa Views(447) Comments(0) Diggs(0)
上一页 1 ··· 155 156 157 158 159 160 161 162 163 ··· 455 下一页