1、grepgrep(General Regular Expression Parser,通用规则表达式分析程序)是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来。它的使用语法为:grep [选项] pattern [文件名]. 匹配任意一个字符* 匹配0 个或多个*前的字 ...
分类:
系统相关 时间:
2020-02-04 23:58:14
阅读次数:
150
where字句中可以使用: 1. 比较运算符:> < >= <= <> !=2. between 80 and 100 值在10到20之间3. in(80,90,100) 值是10或20或304. like 'egon%' pattern可以是%或_, %表示任意多字符 _表示一个字符5. 逻辑运算 ...
分类:
数据库 时间:
2020-02-04 15:30:41
阅读次数:
92
插曲.简单工厂模式(Simple Factory Pattern) 介绍工厂方法模式之前,先来做一个铺垫,了解一下简单工厂模式,它不属于 GoF 的 23 种经典设计模式,它的缺点是增加新产品时会违背“开闭原则”。 1.模式动机 考虑一个简单的软件应用场景,一个软件系统可以提供多个外观不同的按钮(如 ...
分类:
其他好文 时间:
2020-02-04 10:31:49
阅读次数:
103
1,找到第一个启动类,排除logging 1 <exclusions><!-- 去掉springboot默认配置 --> 2 <exclusion> 3 <groupId>org.springframework.boot</groupId> 4 <artifactId>spring-boot-sta ...
分类:
编程语言 时间:
2020-02-04 00:28:33
阅读次数:
94
今天在网上找了PRML——模式识别与机器学习,要么是没带目录的,要么是要积分来购买,真蛋疼。所以,闲来无事自己加了目录,分享给大家。 百度网盘:模式识别与机器学习https://pan.baidu.com/s/1SNBRopaAJFWG14CcI_Qluw提取码:zjen。 附加数据挖掘概念与技术第 ...
分类:
系统相关 时间:
2020-02-03 12:09:46
阅读次数:
99
data > knowledge Are all patterns interesting? No. only a small fraction of the patterns potentially generated would actually be of interest to a give ...
分类:
其他好文 时间:
2020-02-03 09:51:04
阅读次数:
83
html 提交 “你好”,后台显示 “ä½ å¥½” 。 经检验是将 URL编码为 UTF-8,而URL使用 ISO-8859-1。 解决办法: 一: 在 Controller 进行转码。 username=new String(username.getBytes("ISO-8859-1"), "U ...
分类:
其他好文 时间:
2020-02-02 18:00:12
阅读次数:
101
模式介绍 顾名思义,责任链模式(Chain of Responsibility Pattern)为请求创建了一个接收者对象的链。这种模式给予请求的类型,对请求的发送者和接收者进行解耦。这种类型的设计模式属于行为型模式。在这种模式中,通常每个接收者都包含对另一个接收者的引用。如果一个对象不能处理该请求 ...
分类:
其他好文 时间:
2020-02-01 16:48:05
阅读次数:
69
* [abc] a、b 或 c(简单类) [^abc] 任何字符,除了 a、b 或 c(否定) [a-zA-Z] a 到 z 或 A 到 Z,两头的字母包括在内(范围) [a-d[m-p]] a 到 d 或 m 到 p:[a-dm-p](并集) [a-z&&[def]] d、e 或 f(交集) [a ...
分类:
编程语言 时间:
2020-02-01 15:58:54
阅读次数:
77
Find the largest palindrome made from the product of two n-digit numbers. Since the result could be very large, you should return the largest palindro ...
分类:
编程语言 时间:
2020-02-01 10:47:36
阅读次数:
78