最新消息:

ksharpdabu的文章

Angles of a Clock
算法

Angles of a Clock

3年前 (2020-01-20) 2388浏览 0评论

  Hi, here’s your problem today. This problem was recently asked by Microsoft: Given a time in the format of hour ...

centos配置运行redis多实例
数据库

centos配置运行redis多实例

4年前 (2019-08-10) 2619浏览 0评论

背景: 当多个项目要启动,而redis只部署了一个实例,导致两个项目互相影响。后来实在懒得折腾了,就打算运行redis多实例。 环境: centos7系统 redis是解压安装,解压后的目录是/root/redis-4.0.11 redis默...

TortoiseGit免SSH key配置
git

TortoiseGit免SSH key配置

4年前 (2019-05-05) 3055浏览 0评论

TortoiseGit默认使用的自带的ssh客户端,这样导致其需要配置ssh key,但是貌似只支持putty的key,我以前还傻傻的手动去转换key,这样很麻烦。前些天固态挂了,导致重装了系统,顺带重装了TortoiseGit,但是忘了怎么配置p...

正则表达式——lookahead and lookbehind
Java

正则表达式——lookahead and lookbehind

5年前 (2018-12-02) 5882浏览 0评论

lookahead and lookbehind的概念 假设有字符串“ABC” ,如果我们要匹配B,可以有两种描述方法: lookahead:即后面跟着“C”的字符串。 lookbehind:即前面以“A”开头的的字符串。 这两种描述都能匹配到“B...