Make all the array elements odd with minimum operations of given type
3年前 (2020-01-22) 2134浏览 0评论
(adsbygoogle = window.adsbygoogle || []).push({}); Make all the array elements odd with minimum operations ...
3年前 (2020-01-22) 2134浏览 0评论
(adsbygoogle = window.adsbygoogle || []).push({}); Make all the array elements odd with minimum operations ...
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 ...
4年前 (2019-09-01) 4053浏览 0评论
场景1: 1.公司有自己的gitlab,公司代码都是往这上面提 ,账号:john 2.自己平时学习的时候,代码是提交到github,账号:tom 为了同时支持这两种操作,一台电脑需要为不同的网站的用户各自创建单独的key。 解决办法 1....
来源:大步's blog 4年前 (2019-08-10) 6187浏览 0评论
升级jetbrain idea 2019.2后,maven编译报错,提示重复的类 打开项目,看到idea的更新提示有新版本2019.2,我想都没想直接点了升级,结果升级后,maven编译同样的项目,总是提示”xxx重复的类”。...
4年前 (2019-08-10) 2619浏览 0评论
背景: 当多个项目要启动,而redis只部署了一个实例,导致两个项目互相影响。后来实在懒得折腾了,就打算运行redis多实例。 环境: centos7系统 redis是解压安装,解压后的目录是/root/redis-4.0.11 redis默...
4年前 (2019-05-05) 3055浏览 0评论
TortoiseGit默认使用的自带的ssh客户端,这样导致其需要配置ssh key,但是貌似只支持putty的key,我以前还傻傻的手动去转换key,这样很麻烦。前些天固态挂了,导致重装了系统,顺带重装了TortoiseGit,但是忘了怎么配置p...
4年前 (2019-01-06) 6536浏览 0评论
In information retrieval, tf–idf or TFIDF, short for term frequency–inverse document frequency, is ...
5年前 (2018-12-02) 5882浏览 0评论
lookahead and lookbehind的概念 假设有字符串“ABC” ,如果我们要匹配B,可以有两种描述方法: lookahead:即后面跟着“C”的字符串。 lookbehind:即前面以“A”开头的的字符串。 这两种描述都能匹配到“B...
5年前 (2018-11-17) 20799浏览 5评论
liquibase常用命令总结 Shell Usage: java -jar liquibase.jar [options] [command] Standard Commands:...
5年前 (2018-10-21) 6412浏览 2评论
需求: 假设有一个表 test ,包含如下数据: MySQL > select id, email from test; ID ...