上一页 1 ··· 76 77 78 79 80 81 82 83 84 ··· 87 下一页

2015年4月17日

摘要: import htmlhtml.escape(s, quote=True)对特殊字符进行转义Convert the characters &, in string s to HTML-safe sequences. Use this if you need to display text that... 阅读全文
posted @ 2015-04-17 14:46 帅胡 阅读(566) 评论(0) 推荐(0) 编辑
摘要: We can provide a balloon help for any of our widgets.#!/usr/bin/python# -*- coding: utf-8 -*-"""ZetCode PyQt4 tutorial This example shows a tooltip on... 阅读全文
posted @ 2015-04-17 12:32 帅胡 阅读(442) 评论(0) 推荐(0) 编辑
摘要: The application icon is a small image which is usually displayed in the top left corner of the titlebar. In the following example we will show how we ... 阅读全文
posted @ 2015-04-17 11:25 帅胡 阅读(303) 评论(0) 推荐(0) 编辑
摘要: This is a simple example showing a small window. Yet we can do a lot with this window. We can resize it, maximise it, or minimise it. This requires a ... 阅读全文
posted @ 2015-04-17 11:19 帅胡 阅读(483) 评论(0) 推荐(0) 编辑
摘要: Java™ Platform, Standard Edition 6 (Java SE) 专注于提升性能,提供的增强工具可以管理和监视应用程序以及诊断常见的问题。本文将介绍 Java SE 平台中监视和管理的基本知识,并提供 Java SE 6 中相关增强的详细信息。Java SE 6 对性能进行了... 阅读全文
posted @ 2015-04-17 11:07 帅胡 阅读(207) 评论(0) 推荐(0) 编辑
摘要: VisualVM 是一款免费的\集成了多个 JDK 命令行工具的可视化工具,它能为您提供强大的分析能力,对 Java 应用程序做性能分析和调优。这些功能包括生成和分析海量数据、跟踪内存泄漏、监控垃圾回收器、执行内存和 CPU 分析,同时它还支持在 MBeans 上进行浏览和操作。本文主要介绍如何使用... 阅读全文
posted @ 2015-04-17 10:49 帅胡 阅读(321) 评论(0) 推荐(0) 编辑

2015年4月10日

摘要: 在使用web_url的时候,一定注意Resource的使用,一般最好使用Resource=0,如果使用Resource=1,那么一定要修改配置。Resource AttributeIf Resource is set to 0, the URL is always downloaded during... 阅读全文
posted @ 2015-04-10 16:50 帅胡 阅读(411) 评论(0) 推荐(0) 编辑

2015年4月8日

摘要: 字符串函数1.ASCII(str) 返回字符串str的第一个字符的ASCII值(str是空串时返回0) SELECT ASCII('2'); ->502.ORD(str) 如果字符串str句首是单字节返回与ASCII()函数返回的相同值。 如果是一个多字节字符,以格式返回((first b... 阅读全文
posted @ 2015-04-08 10:00 帅胡 阅读(227) 评论(0) 推荐(0) 编辑

2015年4月2日

摘要: MYSQL可以使用如下的用法:SELECT id FROM partner_broker_account_record ORDER BY id LIMIT 2, 1在limit为2的基础上加1,sql server是:select top 1 * from tbl_score where tbl_s... 阅读全文
posted @ 2015-04-02 13:59 帅胡 阅读(1232) 评论(0) 推荐(0) 编辑

2015年3月31日

摘要: 我不知道Test Double翻译成中文是什么,测试替身?Test Double就像是陈龙大哥电影里的替身,起到以假乱真的作用。在单元测试时,使用Test Double减少对被测对象的依赖,使得测试更加单一,同时,让测试案例执行的时间更短,运行更加稳定,同时能对SUT内部的输入输出进行验证,让测试更... 阅读全文
posted @ 2015-03-31 17:13 帅胡 阅读(1551) 评论(0) 推荐(0) 编辑
上一页 1 ··· 76 77 78 79 80 81 82 83 84 ··· 87 下一页

导航