自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

不喝橙汁

一切皆有可能!

  • 博客(29)
  • 资源 (2)
  • 问答 (2)
  • 收藏
  • 关注

原创 单例模式的一种实现方法

简单说来,单例模式(也叫单件模式)的作用就是保证在整个应用程序的生命周期中,任何一个时刻,单例类的实例都只存在一个(当然也可以不存在),并提供一个访问它的全局访问点。public sealed class Singleton{ static readonly Singleton instance=new Singleton(); static Singleton()

2012-01-20 16:07:48 487

原创 一个关于JOIN的SQL语句

问题描述:抓取程序的结果精度不够,导致入库的数据有的正确,有的错误,需要找出错误的数据.抓取下来的数据有三个值,最高价,最低价和平均值.其中最高价和最低价由网页提供,平均值是自己算出来的,但是平均值被强制转换为了int类型,所以导致了精度的丧失.思路分析:写SQL语句,进行判断,找出错误的数据.表内容截图:--mValue是存储数据的列--当indiccode2=792

2012-01-18 15:16:42 645

转载 正则表达式语言元素

正则表达式语言元素(转自MSDN).NET Framework 4其他版本正则表达式是正则表达式引擎尝试匹配输入文本的一种模式。 模式由一个或多个字符文本、运算符或构造组成。 有关简单介绍,请参见 .NET Framework 正则表达式。此快速参考中的每一节都列出了可用于定义正则表达式的字符、运算

2012-01-18 13:06:48 626

翻译 正则表达式学习指南(二十五)----Free-Spacing Regexes

Free-Spacing Regular ExpressionsThe JGsoft engine, .NET, Java, Perl, PCRE, Python, Ruby and XPath support a variant of the regular expression syntax called free-spacing mode. You can turn on thi

2012-01-18 13:05:23 542

翻译 正则表达式学习指南(二十四)----Adding Comments

Adding Comments to Regular ExpressionsIf you have worked through the entire tutorial, I guess you will agree that regular expressions can quickly become rather cryptic. Therefore, many modern regex

2012-01-18 13:04:32 408

翻译 正则表达式学习指南(二十三)----POSIX Bracket Expressions

POSIX Bracket ExpressionsPOSIX bracket expressions are a special kind of character classes. POSIX bracket expressions match one character out of a set of characters, just like regular character clas

2012-01-18 13:03:25 932

翻译 正则表达式学习指南(二十二)----XML Character Classes

XML Schema Character ClassesXML Schema Regular Expressions support the usual six shorthand character classes, plus four more. These four aren't supported by any other regular expression flavor.\i ma

2012-01-18 13:01:36 700

翻译 正则表达式学习指南(二十一)----If-Then-Else Conditionals

If-Then-Else Conditionals in Regular ExpressionsA special construct (?ifthen|else) allows you to create conditional regular expressions. If theif part evaluates to true, then the regex engine will a

2012-01-18 13:01:07 2066

翻译 正则表达式学习指南(二十)----Continuing from The Previous Match

Continuing at The End of The Previous MatchThe anchor \G matches at the position where the previous match ended. During the first match attempt,\G matches at the start of the string in the way\A

2012-01-17 12:16:48 1105

翻译 正则表达式学习指南(十九)----Testing The Same Part of a String for More Than One

Testing The Same Part of a String for More Than One RequirementLookaround, which I introduced in detail in the previous topic, is a very powerful concept. Unfortunately, it is often underused by peo

2012-01-17 12:14:50 626

翻译 正则表达式学习指南(十八)----Lookahead and Lookbehind

Lookahead and Lookbehind Zero-Width AssertionsPerl 5 introduced two very powerful constructs: "lookahead" and "lookbehind". Collectively, these are called "lookaround". They are also called "zero-wi

2012-01-17 12:11:01 2472

翻译 正则表达式学习指南(十七)----Atomic Grouping

Atomic GroupingAn atomic group is a group that, when the regex engine exits from it, automatically throws away all backtracking positions remembered by any tokens inside the group. Atomic groups are

2012-01-17 12:10:17 998

翻译 正则表达式学习指南(十六)----Possessive Quantifiers

Possessive QuantifiersWhen discussing the repetition operators or quantifiers, I explained the difference between greedy and lazy repetition. Greediness and laziness determine the order in which the

2012-01-17 12:09:22 1553

翻译 正则表达式学习指南(十五)----Mode Modifiers

Regex Matching ModesMost regular expression engines discussed in this tutorial support the following four matching modes:/i makes the regex match case insensitive. /s enables "single-line mode".

2012-01-17 12:08:28 572

翻译 正则表达式学习指南(十四)----Unicode

Unicode Regular ExpressionsUnicode is a character set that aims to define all characters and glyphs from all human languages, living and dead. With more and more software being required to support m

2012-01-17 12:06:50 3598

翻译 正则表达式学习指南(十三)----Named Capturing Groups

Named Capturing GroupsAll modern regular expression engines support capturing groups, which are numbered from left to right, starting with one. The numbers can then be used inbackreferences to mat

2012-01-17 12:05:27 1743

翻译 正则表达式学习指南(十二)----Grouping and Backreferences

Use Round Brackets for GroupingBy placing part of a regular expression inside round brackets or parentheses, you can group that part of the regular expression together. This allows you to apply a re

2012-01-17 12:04:30 1656

翻译 正则表达式学习指南(十一)----Quantifiers(Repetition)

Repetition with Star and PlusI already introduced one repetition operator or quantifier: the question mark. It tells the engine to attempt match the preceding token zero times or once, in effect mak

2012-01-17 12:02:04 960

翻译 正则表达式学习指南(十)----Making a Token Optional

Optional ItemsThe question mark makes the preceding token in the regular expression optional. E.g.: colou?r matches bothcolour and color.You can make several tokens optional by grouping them tog

2012-01-17 12:01:00 441

翻译 正则表达式学习指南(九)----Alternation

I already explained how you can use character classes to match a single character out of several possible characters. Alternation is similar. You can use alternation to match a single regular expressi

2012-01-17 11:42:04 1565

翻译 正则表达式学习指南(八)----Word Boundaries

Word BoundariesThe metacharacter \b is an anchor like the caret and the dollar sign. It matches at a position that is called a "word boundary". This match is zero-length.There are three different

2012-01-17 11:41:28 2201

翻译 正则表达式学习指南(七)----Start of String and End of String Anchors

Start of String and End of String AnchorsThus far, I have explained literal characters and character classes. In both cases, putting one in a regex will cause the regex engine to try to match a sing

2012-01-17 11:38:42 1082

翻译 正则表达式学习指南(六)----Dot (Any Character)

The Dot Matches (Almost) Any CharacterIn regular expressions, the dot or period is one of the most commonly used metacharacters. Unfortunately, it is also the most commonly misused metacharacter.

2012-01-17 11:36:21 863

翻译 正则表达式学习指南(五)----Character Classes

Character Classes or Character SetsWith a "character class", also called "character set", you can tell the regex engine to match only one out of several characters. Simply place the characters you w

2012-01-17 11:35:02 4068 1

翻译 正则表达式学习指南(四)----How a Regex Engine Works Internally

First Look at How a Regex Engine Works InternallyKnowing how the regex engine works will enable you to craft better regexes more easily. It will help you understand quickly why a particular regex do

2012-01-17 11:31:34 613

翻译 正则表达式学习指南(三)----字符

原义字符最基本的正则表达式只有一个最基本的原义字符构成,例如:"a".他将匹配字符串中第一个出现的字符.如果字符串是"Jack is a boy",他将匹配"J"后面的"a".事实上,这个"a"是否在单词中间对正则引擎来说并不重要.但如果这对你来讲很重要,你就需要使用单词边界来告诉引擎这件事.我们稍后会谈到这点.这个正则也可以匹配第二个"a".但这需要你来告诉引擎:在结束第一次匹配后,

2012-01-17 11:30:53 577

翻译 正则表达式学习指南(二)----教程目录

正则表达式教程目录这篇正则表达式教程将教授你关于正则表达式方方面面的知识.每一个主题都假设你已经读过并理解前面的主题内容.所以,如果你刚接触正则表达式,我推荐你按顺序阅读这些文章.入门简介入门简介指出了本教程涵盖的范围,和我们将要讨论的正则的流派.同时也介绍了一些基本的术语.字面字符和元字符最简单的正则表达式仅仅由字面字符组成.一些字符在正则中具有特殊意义,

2012-01-17 11:29:34 636

翻译 正则表达式学习指南(一)----入门简介

写在最开始的地方关于正则表达式的入门文章很多,比如deeerchao的30分钟入门正则表达式>>,微软自己的MSDN帮助文档,还有一些翻译文章,以及你能在网上找到的关于正则的电子书等.本文是RegexBuddy的帮助文档翻译文.也许你以前有看过深入浅出之正则表达式>>,但是也许你不知道,这篇文章翻译的只是RegexBuddy帮助文档中的Quick Start部分,如果你想对正则有较深一步的

2012-01-17 10:36:31 800

转载 正则表达式30分钟入门教程

<!--h1 {text-align:center}h2 {background-color:#eee; border-bottom:solid 1px gray; border-right:solid 1px gray; clear:both}p {text-indent:2em; line-height:140%; margin:5px 20px}

2012-01-06 13:29:49 896

DDU - Display Driver Uninstaller

AMD 驱动卸载工具, 定制版驱动大多数不能随官网的更新而更新, 使用此工具卸载定制版驱动, 安装官方版驱动即可使用AMD驱动的自动更新供能. 必须此工具卸载后才能更新, 自带驱动卸载工具是卸载不干净的.

2017-12-02

depends22_x64

Dependency Walker 最新版, dll 依赖项查看工具. Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of all dependent modules. For each module found, it lists all the functions that are exported by that module, and which of those functions are actually being called by other modules. Another view displays the minimum set of required files, along with detailed information about each file including a full path to the file, base address, version numbers, machine type, debug information, and more. Dependency Walker is also very useful for troubleshooting system errors related to loading and executing modules. Dependency Walker detects many common application problems such as missing modules, invalid modules, import/export mismatches, circular dependency errors, mismatched machine types of modules, and module initialization failures. Dependency Walker runs on Windows 95, 98, Me, NT, 2000, XP, 2003, Vista, 7, and 8. It can process any 32-bit or 64-bit Windows module, including ones designed for Windows CE. It can be run as graphical application or as a console application. Dependency Walker handles all types of module dependencies, including implicit, explicit (dynamic / runtime), forwarded, delay-loaded, and injected. A detailed help is included. Dependency Walker is completely free to use. However, you may not profit from the distribution of it, nor may you bundle it with another product.

2017-12-02

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

TA关注的人

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