You have an array of logs. Each log is a space delimited string of words. For each log, the first word in each log is an alphanumeric identifier. Then ...
分类:
编程语言 时间:
2019-06-15 09:16:55
阅读次数:
100
lc125 Valid Palindrome 法一: 双指针 首尾指针向中间收缩,比较两者指向元素是否相同 不相同就返回false 若遇到非数字非字母的字符,跳过,这里可以手写if判断,也可以用Character内置函数Character.isLetterOrDigit() 还有一点需要注意,同一个 ...
分类:
其他好文 时间:
2019-06-14 14:31:14
阅读次数:
85
maven配置iText的jar,主要不是所有私服都有iText的jar,maven仓库没有的,可以去https://mvnrepository.com/artifact/com.itextpdf/itextpdf/5.5.12 这里下载 同样先写个工具类,这里是加文字水印和图片水印的 PDF加上水 ...
分类:
其他好文 时间:
2019-06-14 01:13:46
阅读次数:
172
makefile 规则基本格式 一条 makefile 规则由以下几部分组成: Please note: you need to put a tab character at the beginning of every recipe line! makefile 没有在命令行中指定执行哪部分时候, ...
分类:
其他好文 时间:
2019-06-13 22:22:22
阅读次数:
185
Ubuntu16.04,MySQL5.7 1, sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf 使用vim编辑MySQL的配置文件,不同版本的MySQL配置文件的路径会有所不同,这是5.7版本. (因为文件是只读文件所以sudo,这样的话可以修改并保存) 2, ...
分类:
数据库 时间:
2019-06-13 20:04:51
阅读次数:
137
数据类型 Swift 包含了 C 和 Objective-C 上所有基础数据类型。它还增加了 Objective-C 中没有的高阶数据类型比如元组(Tuple) 1、基础类型 Int整形和UInt无符号整形 Float和Double浮点型 Bool布尔型 Character字符型 String字符串 ...
分类:
编程语言 时间:
2019-06-13 16:57:49
阅读次数:
146
#include #include #include // http://hatriot.github.io/blog/2017/09/19/abusing-delay-load-dll/ // https://blog.csdn.net/adam001521/article/details/846... ...
分类:
其他好文 时间:
2019-06-13 15:33:19
阅读次数:
106
@echo offset "Ymd=%date:~,4%%date:~5,2%%date:~8,2%"C:/HwsNginxMaster/mysql/bin/mysqldump --opt -hlocalhost -u用户名 -p密码 --default-character-set=utf8? 数据 ...
分类:
数据库 时间:
2019-06-13 14:01:47
阅读次数:
127
1,在配置文件中,提示错误“Invalid escape character in string.jsonc(261)” 在setting.json中配置git路径时,新增键值对"git.path":"D:\Git\cmd\git.exe"之后,会提示这个错误,这是由于字符串解析的转义导致。 解决此 ...
分类:
其他好文 时间:
2019-06-12 23:00:06
阅读次数:
2753
最近在阅读Integet.parseInt()源码时,遇到了Character.digit()这个方法,以前没有遇到过,更没使用过,这里查了资料就记录一下。 官方说法是: java.lang.Character.digit(char ch, int radix)方法: 在指定的基数返回字符ch的数值 ...
分类:
其他好文 时间:
2019-06-12 18:22:00
阅读次数:
92