进行基础设置git config --global user.name "账号名"git config --global user.email "账号邮箱@qq.com"git config --global core.autocrlf true --提示:“warning: CRLF will b ...
分类:
其他好文 时间:
2019-07-09 19:38:51
阅读次数:
104
背景:整理开发过程中的异常问题 java.lang.Exception: No tests found matching 一般出现在新导入的工程中。在sts中通过open project的方式导入工程后,运行test用例,报No tests found matching错误。 根因是build pa ...
分类:
编程语言 时间:
2019-07-01 19:55:40
阅读次数:
173
"44. 通配符匹配" 动态规划 $f_{i,j}$为$s$匹配$i$,$t$匹配$j$是否成功 贪心 相比之下这个思维性更强 考虑两个 ,两个星号间的过渡,只需要过渡完到第二个星号,第一个星号匹配多少已经无所谓了 所以贪心的处理已经匹配到的之前的最后一个星号的匹配个数 Code(copy) cpp ...
分类:
其他好文 时间:
2019-06-30 20:45:31
阅读次数:
146
环境: 1、ubuntu系统 2、selenium 3.141.0 3、火狐浏览器驱动 geckodriver-v0.24.0-linux32 在Python中执行脚本: from selenium import webdriverbrowser = webdriver.Firefox() 结果提示 ...
分类:
系统相关 时间:
2019-06-25 11:42:56
阅读次数:
1078
grep: Global search regular expression and print out the line.
作用:文本搜索工具,根据用户指定的“模式(过滤条件)”对目标文件逐行进行匹配检查,打印匹配的行
模式:由正则表达式的元字符及文本字符所编写出的过滤条件
grep [OPTIONS] PATTERN [FILE…]
OPTIONS:
--color=auto:对匹配到的文本着色后高亮显示
-i, --ignore-case:忽略字符的大小写
-o, --only-matching:仅显示匹配到的字符串本身
-v, --invert-match:显示不能被模式匹配到的行
-E, --extended-regexp:支持使用扩展的正则表达式元字符
-q, --quiet, --silent:静默模式,即不输出任何信息
-A #:after,显示匹配到行和向后#行
-B #:before,显示匹配到行和前#行
-C #:context,
分类:
系统相关 时间:
2019-06-24 09:25:23
阅读次数:
145
regular expressions (RE) 简介 re模块是python中处理正在表达式的一个模块 1 r"""Support for regular expressions (RE). 2 3 This module provides regular expression matching ...
分类:
编程语言 时间:
2019-06-22 19:50:00
阅读次数:
125
IP routing Summary 定义: IP routing 指的是 IP 如何 make routing decisions,即将 IP datagram 发到哪里去.基础:IP routing 的基础是 IP routing table, 每次发送 IP datagram 的时候,都会参照 ...
分类:
其他好文 时间:
2019-06-21 18:28:57
阅读次数:
100
登陆时报: ORA-12516:TNS:listener could not find available handler with matching protocol stack 解决方法: 1.切换到oracle用户下: su - oracle 2.停止数据库监听器: lsnrctl stop ...
分类:
其他好文 时间:
2019-06-11 13:01:36
阅读次数:
108
分析dump文件时,由于客户生产环境与分析dump文件的环境不一致,常常会出现下面的错误 The version of SOS does not match the version of CLR you are debugging. Pleaseload the matching version o ...
分类:
其他好文 时间:
2019-06-11 11:05:34
阅读次数:
132