Last updated and checked to work with version 3.0.0 of the toolsThis tutorial will take you through the process of using the "Eclipse Integration Grad...
分类:
其他好文 时间:
2014-11-11 12:18:57
阅读次数:
291
1、问题 今日在维护集群环境的时候,遇到了一个小问题,rsync 向集群中的机器传输文件的时候报错: protocol version mismatch -- is your shell clean?
(see the rsync man page for an explanation)
rsync erro...
分类:
其他好文 时间:
2014-11-11 07:07:02
阅读次数:
342
注意这里使用的是jetty7.0以上的版本在项目的pom.xml添加内容:1、pom.xml添加依赖<!--Jetty-->
<dependency>
<groupId>org.eclipse.jetty.aggregate</groupId>
<artifactId>jetty-all</artifactId>
<version>8.0.4.v20111024</v..
分类:
其他好文 时间:
2014-11-11 02:12:32
阅读次数:
282
新建服务器控件,继承TextBox控件添加JS文件,实现验证方法functionValidateText(valType,text){if(valType=="Number"){//如果是数字varreg=/^\d+$/;//定义正则表达式,只能输入数字if(!reg.test(text.value)){alert("你输入的不是数字!");text.value="";}}elseif(valType=="B..
分类:
Web程序 时间:
2014-11-11 02:06:06
阅读次数:
255
不需要重新创建Project,手动修改工程设置。
第一步:在Project文件中,修改type,去掉static
第二步:还需要修改工程设置:
CLANG_WARN_UNREACHABLE_CODE = YES;
CURRENT_PROJECT_VERSION = 1;
ENABLE_STRICT_OBJC_MSGSEND = YES;
VERS...
分类:
移动开发 时间:
2014-11-11 00:54:36
阅读次数:
181
起因:在sdksdk manager中更新了adt及其他的支持库后,eclipse报错:This Android SDK requires Android Developer Toolkit version 23.1的错误。可是sdksdk manager中明明显示23.1的adt是已经installed的了呀,这就奇怪了。。
解决办法:Help -> Install New Softw...
分类:
移动开发 时间:
2014-11-11 00:50:52
阅读次数:
159
《=用来重复显示的图
1.最简单方式
创建wave_repeat.xml
xml version="1.0" encoding="utf-8"?>
bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/wave"
android:t...
分类:
移动开发 时间:
2014-11-10 23:25:03
阅读次数:
212
Number of Locks
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 1140
Accepted: 559
Description
In certain factory a kind of spring locks is manufactured. T...
分类:
其他好文 时间:
2014-11-10 21:57:46
阅读次数:
287
Plus OneGiven a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant dig...
分类:
其他好文 时间:
2014-11-10 21:45:39
阅读次数:
191
Follow up for N-Queens problem.
Now, instead outputting board configurations, return the total number of distinct solutions.
思路1:打表
public class Solution {
public int totalNQ...
分类:
其他好文 时间:
2014-11-10 19:58:54
阅读次数:
220