自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(31)
  • 资源 (3)
  • 收藏
  • 关注

原创 解决:Connections could not be acquired from the underlying database!

 本文转载自http://jyao.iteye.com/blog/1915561og4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.org.quartz.SchedulerConfigException: Failure occured during job recovery....

2013-12-01 16:14:08 419

原创 游戏测试常见Bug

本文翻译自《Game Development Essentials -- QA and Testing》。 作为一个测试员,主要的目标是:    找到Bugs    复现Bugs    提交Bugs报告次要的目标是:    验证Bugs已经被修复    确实这个游戏好玩Bug严重程度:    1. Low        低        修复不修复都...

2013-03-24 11:47:23 3101

原创 如何让MediaPlayer实现AB段复读功能

近日在做一个学习法语的小应用,被MP3AB段复读的功能困扰了很久,最后终于在网上找到一个解决方法,就是使用CountDownTimer让MediaPlayer只播放MP3的某个区段,轻松解决了AB段复读的功能。详细代码如下:[code="java"]public void play(final String filePath) throws Exception { try { i...

2012-03-21 00:36:47 657

原创 Android模拟器快捷键大全

Android模拟器快捷键大全 [url]http://www.android123.com.cn/moniqi/29.html[/url][quote]Android模拟器同样存在很多快捷键,当模拟器运行时,可以使用下面的热键来操作android emulator,Android开发网友情提示这样比键盘和鼠标操作更高效,不妨试一下 When running the emulator...

2012-03-06 01:39:40 295

原创 CSS float属性

下面[url]http://www.w3school.com.cn[/url]对float属性的介绍:[quote]float 属性定义元素在哪个方向浮动。以往这个属性总应用于图像,使文本围绕在图像周围,不过在 CSS 中,任何元素都可以浮动。浮动元素会生成一个块级框,而不论它本身是何种元素。如果浮动非替换元素,则要指定一个明确的宽度;否则,它们会尽可能地窄。注意:假如在一行之上只...

2012-03-03 15:06:36 137

CSS文集(The CSS Anthology) 第三章 CSS和图片

[b]1. 为图片加边框[/b]以下CSS中,第一种是以详细方式进行设置,第二种以缩略形式进行设置。[code="html"] [/code][code="css"]img.pg60 { border-width : 1px; border-style : solid; border-color : #000000;}.pg60_i...

2012-02-18 21:07:06 95

CSS文集《The CSS Anthology》 第二章 文本格式化及其它基础知识 (2)

[b]11. 为段落文本加高亮[/b][code="html"] Chinese-style Stuffed Peppers Below, I've created a CSS rule for all te level-one headings in a document. The result is shown in Figure 2.11. hello, w...

2012-02-18 19:46:25 335

原创 CSS文集《The CSS Anthology》 第二章 文本格式化及其它基础知识 (1)

[size=x-large]第二章 文本格式化及其它基础知识(Text Styling and Other Basics)[/size]《The CSS Anthology(CSS文集)》包含100多个实用的小例子,非常适合入门者学习CSS相关的知识。[b]1. 用CSS替换标签[/b]曾几何时,在CSS被广泛接纳之前,很多Web开发者都是使用标签在网页上为文本加样式。但是这种...

2012-02-15 13:25:59 94

原创 Web-Harvest: Set a Proxy Server

[code="java"]InputSource is = new InputSource(new StringReader(script));info("setting up scraper ... ");ScraperConfiguration scraperConfig = new ScraperConfiguration(is);Scraper scraper = new ...

2011-06-09 11:36:39 125

原创 Beanshell : Setting variables in WebHarvest scripts

print("sys.isVariableDefined(\"headerList2\"):" + sys.isVariableDefined("headerList2"));sys (即SystemUtilities) 的getVar( )的取值顺序是:先从FunctionContext中取,再从Scraper的Context中取。<var/>的取值是:会从传入的Co...

2011-06-09 11:34:08 94

原创 ExceptionUtils : A very useful class from apache commons

apache.commons.langExceptionUtils.getFullStackTrace(e)catch (Exception e) { //print("====threadChanged.toString():" + threadChanged.toString()); //print("====forumDateFrmt:" + foru...

2011-06-09 11:23:30 79

原创 调试内嵌的javascript

调试诸如:[code="java"]document.write('');[/code]生成的 javascript ?使用 Google Chrome 的 developer tools 吧。在 FireFox 3.6.11 上的 Firebug 不能调试啊。 IE ?

2011-06-09 11:22:21 123

原创 Topic Detection -- Kea

 gate-5.2.1-build3581-ALL\plugins\Keyphrase_Extraction_Algorithm\src\gate\creole\kea\Kea.java  Why top detection? Generally, one postfocus on one topic which may mainly from the first po...

2011-06-09 11:21:38 178

原创 JProfiler : 用JProfiler可以很容易发现Blocked掉的线程。

As title.

2011-06-09 11:20:55 408

原创 WH : Stupid !! toString().trim().length() > 0

 使用变量前先判断一下它有没有内容(因为在Facebook里并不是每一个Post都有Comment!!): ${commentsCount.toString().trim().length()> 0 && commentsCount.toInt() == 1} 而不是: ${commentsCount.toInt...

2011-06-09 11:19:22 200

原创 WH : && => &&

 <ifcondition="${ (commentsCount.toString().trim().length() > 0)&& (commentsCount.toInt() > 1) }"> <call-inlinename="fetchComments"></call-inline&g

2011-06-09 11:12:15 84

原创 Web-Harvest: variables!!

  Getting sized of alist variable: ListVariable.toList().size()Getting content of a string variable: NodeVariable.toString()  beanshell中的变量也是context中的变量,所以setContextVar()不能设置...

2011-06-09 11:11:54 88

原创 Spring WebContextApplication

 问题:ClosingWebContextApplicaton Spring启动后自动退出。 原因:Hehe,因为还有Tomcat跑在相同的端口。

2011-06-09 11:11:14 62

原创 Cygwin

在Windows下使用Linux中的常用工具!!

2011-06-09 11:10:19 64

原创 eclipse : XXX cannot be resolved to a type

Go to:[Project] \[Clean...]  

2011-06-09 11:09:51 107

原创 GOOD practice : 字符串比较

对于字符串的比较和打印一定要额外加引号输出!!

2011-06-09 11:09:22 80

原创 Spring : 隐藏的依赖

可以在Bean定义上加attribute:"depends-on=BEAN_NAME1[,BEAN_NAME2][,BEAN_NAME3]...".

2011-06-09 11:09:04 62

原创 Linux : 生成随机密码

 生成6位随机密码$ echo `< /dev/urandom tr -dc_A-Z-a-z-0-9 | head -c6`  生成8位随机密码$ echo `< /dev/urandom tr -dc_A-Z-a-z-0-9 | head -c8` 

2011-06-09 11:08:34 171

原创 twitter : 搜索中文关键字时每个中文字要用空格分开

如题。

2011-06-09 11:07:25 359

原创 properties文件中相同的参数只能取得一个值

如题。嘿嘿。

2011-06-09 11:06:43 619

原创 Eclipse : Order and Export

 如果本项目所引用的jar包也要被其它项目用到,那么需要在本项目的Build Path中,Order and Export选项页把这些jar勾选。

2011-06-09 11:05:54 388

原创 SQL : 数据表结构对比工具

AdeptSQL Diff不错,还提供了输出SQL语句(复制就行了)。

2011-06-09 11:04:46 645

原创 Beanshell : becareful of the { }

It will cause some unexpected problems to variables.

2011-06-09 11:04:04 74

HTMLUnit : javascript 对页面的更改如何获得

HTMLUnit acts like a real browser, so everything  that the javascript done in the HTML page's DOM model will not affect the source of page. But we can get the updated DOM model from using this metho...

2011-06-09 11:02:43 96

原创 Eclipse:生成SVN更改信息

"Team" -> "Show History" -> Right click on a revision number -> select "Generate ChangeLog" -> Select "svn log with affected paths"

2011-06-09 10:57:12 137

原创 在JSP中得到绝对地址

basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath() + "/";在HTML的Head标签中中加入一个Base标签:那么页面上的所有链接在被点击或请求时,都会加上这个basePath前缀...

2010-09-10 11:26:47 94

实用软件测试

实用软件测试经验,以真实世界的例子贯穿各个篇节,此书展现了软件测试基本的技术,告诉你如何明确地选择和应用成功的策略去测试一个在限定在一定财政和时间里的系统.

2013-04-10

Game Development Essentials游戏开发精要

520页的书,图文并茂地讲述游戏开发的各个方面,希望对大家有用。

2013-03-23

游戏开发精要 -- 游戏测试

找了几个网站终于找到,少见的专门讲游戏测试的书。英文版。

2013-03-23

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除