`
deyum
  • 浏览: 34916 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
  本文转载自http://jyao.iteye.com/blog/1915561 og4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Failed to obtain DB connection from data ...
本文翻译自《Game Development Essentials -- QA and Testing》。   作为一个测试员,主要的目标是:     找到Bugs     复现Bugs     提交Bugs报告 次要的目标是:     验证Bugs已经被修复     确实这个游戏好玩 Bug严重程度:    1. Low        低        修复不修复都没有多大不同。不影响运行流程。    2. Medium    中等    应该修复    3. High        高    4. Critical    致命Bug的分类视觉,声音,级别设计,人 ...
近日在做一个学习法语的小应用,被MP3AB段复读的功能困扰了很久,最后终于在网上找到一个解决方法,就是使用CountDownTimer让MediaPlayer只播放MP3的某个区段,轻松解决了AB段复读的功能。详细代码如下: public void play(final String filePath) throws Exception { try { if (mMediaPlayer == null) { // 创建MediaPlayer对象并设置Listener mMediaPlayer = new MediaPlayer(); } else { ...
Android模拟器快捷键大全 http://www.android123.com.cn/moniqi/29.html 引用 Android模拟器同样存在很多快捷键,当模拟器运行时,可以使用下面的热键来操作android emulator,Android开发网友情提示这样比键盘和鼠标操作更高效,不妨试一下  When running the emulator, use the following keypresses: 模拟器快捷键     F1/PgUp     Menu key 菜单键     F2/PgDown   Star key 星号键     F3          Call ...

CSS float属性

    博客分类:
  • Web
下面http://www.w3school.com.cn对float属性的介绍: 引用float 属性定义元素在哪个方向浮动。以往这个属性总应用于图像,使文本围绕在图像周围,不过在 CSS 中,任何元素都可以浮动。浮动元素会生成一个块级框,而不论它本身是何种元素。 如果浮动非替换元素,则要指定一个明确的宽度;否则,它们会尽可能地窄。 注意:假如在一行之上只有极少的空间可供浮动元素,那么这个元素会跳至下一行,这个过程会持续到某一行拥有足够的空间为止。 可能的值 值描述left元素向左浮动。right元素向右浮动。none默认值。元素不浮动,并会显示在其在文本中出现的位置。inherit规定应该 ...
1. 为图片加边框 以下CSS中,第一种是以详细方式进行设置,第二种以缩略形式进行设置。 <div id="pg60"> <img class="pg60" src="chpt3/myfish.jpg" alt="My Fish"/> <img class="pg60_imgborder" src="chpt3/myfish.jpg" alt="My Fish"/> </div> img. ...
11. 为段落文本加高亮 <div> <h1 class="pg39"> Chinese-style Stuffed Peppers </h1> 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, world...... </div> <div class="pg39"> & ...
第二章 文本格式化及其它基础知识(Text Styling and Other Basics) 《The CSS Anthology(CSS文集)》包含100多个实用的小例子,非常适合入门者学习CSS相关的知识。 1. 用CSS替换<font>标签 曾几何时,在CSS被广泛接纳之前,很多Web开发者都是使用<font>标签在网页上为文本加样式。但是这种方法会导致工作量非常大,试想一下为每一个段落都加上这样一个标签,或者之后客户又要求为这些段落换上新的样式时……而使用CSS的话,只需要改动一处地方即能使新样式应用到所有的标签,非常便利。 p { color ...
InputSource is = new InputSource(new StringReader(script)); info("setting up scraper ... "); ScraperConfiguration scraperConfig = new ScraperConfiguration(is); Scraper scraper = new Scraper(scraperConfig, new File("temp/").getAbsolutePath()); scraper.getHttpClientManager().s ...
print("sys.isVariableDefined(\"headerList2\"):" + sys.isVariableDefined("headerList2")); sys (即SystemUtilities) 的getVar( )的取值顺序是:先从FunctionContext中取,再从Scraper的Context中取。 <var/>的取值是:会从传入的Context实例 ...
apache.commons.lang ExceptionUtils.getFullStackTrace(e) catch (Exception e) { //print("====threadChanged.toString():" + threadChanged.toString()); //print("====forumDateFrmt:" + forumDateFrmt + "====usedLocale:" + usedLocale + "====dateString:" ...
调试诸如: document.write('<script type="text/javascript" src="_common/js/complaintManagment/' + fileName + '"></script>'); 生成的 javascript ? 使用 Google Chrome 的 developer tools 吧。在 FireFox 3.6.11 上的 Firebug 不能调试啊。 IE ?
  gate-5.2.1-build3581-ALL\plugins\Keyphrase_Extraction_Algorithm\src\gate\creole\kea\Kea.java     Why top detection?   Generally, one post focus on one topic which may mainly from the first poster. We should reflect the relationship between posts which under the same thread. But now we just ...
As title.
  使用变量前先判断一下它有没有内容(因为在 Facebook 里并不是每一个 Post 都有 Comment !!) :   ${commentsCount.toString().trim().length() > 0 && commentsCount.toInt() == 1}   而不是:   ${commentsCount.toInt() == 1} 这样的用法在 commentsCount 字符串为空时会抛出如下异常 :   org.webharvest.exception.ScriptException: E ...
Global site tag (gtag.js) - Google Analytics