我这边centos安装mongodb启动报错,有mongo版本,是因为删除了配置文件“/etc/mongod.conf” 解决办法:把 /etc/mongod.conf_bak复制到 /etc/mongod.conf cp /etc/mongod.conf_bak /etc/mongod.conf ...
分类:
其他好文 时间:
2020-02-06 16:26:23
阅读次数:
133
idea启动项目的时候报了如下错误:OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended 解决 ...
分类:
移动开发 时间:
2020-02-03 20:54:58
阅读次数:
259
From: Stanford University; Jure Leskovec, citation 6w+; Problem: subsequence clustering. Challenging: discover patterns is challenging because it requ ...
分类:
其他好文 时间:
2020-01-31 10:28:33
阅读次数:
101
上一篇讲了hash数据类型的相关实现方法,没有茅塞顿开也至少知道redis如何搞事情的了吧。 本篇咱们继续来看redis中的数据类型的实现: list 相关操作实现。 同样,我们以使用者的角度,开始理解list提供的功能,相应的数据结构承载,再到具体实现,以这样一个思路来理解redis之list。 ...
分类:
其他好文 时间:
2020-01-29 14:30:24
阅读次数:
79
配置MySQL主从复制报错 修改配置文件 sudo vim /usr/my.cnf 当时配置从机的时候没改id,应该主机id是1,从机是2 然后重启MySQL服务 问题解决! ...
分类:
数据库 时间:
2020-01-29 00:54:33
阅读次数:
543
操作系统:win10 环境:vscode+anaconda(python3.7) 非常头疼的问题,查了很久发现是可能是anaconda的ssl模块和系统自带的冲突了,最后参考了以下这篇文章解决: 下载openssl的安装包并安装,并添加到系统环境变量 https://slproweb.com/pro ...
分类:
编程语言 时间:
2020-01-28 23:30:29
阅读次数:
93
给定一篇英语文章,要求统计出所有单词的个数,并按一定次序输出。思路是利用go语言的map类型,以每个单词作为关键字存储数量信息,代码实现如下: 1 package main 2 3 import ( 4 "fmt" 5 "sort" 6 ) 7 8 func wordCounterV1(str st ...
分类:
编程语言 时间:
2020-01-28 09:34:22
阅读次数:
80
日常工作中,被同事突然问到的一个问题,hashmap是我们JAVA程序中使用频率非常高的key-value键值对形式的数据类型 结论是目前能触发转化的两个条件是:一个是链表的长度达到8个,一个是数组的长度达到64个 为什么要触发这个转换,目前官方的解释: Because TreeNodes are ...
分类:
其他好文 时间:
2020-01-27 12:24:22
阅读次数:
368
``` '; require('reusable.php'); echo 'The script will end now.'; /* there are three situations here 1. if the reusable.php are those codes, which incl... ...
分类:
Web程序 时间:
2020-01-27 00:16:25
阅读次数:
93
和式 记号 符号:$\huge\sum$ eg. 1. $a_1 + a_2 + \cdots + a_{k 1} + a_k + a_{k+1}+\cdots +a_{n 1}+a_n = \sum_{k=1}^na_k=\sum_{1\leq k \leq n} a_k$ 2. $\sum_{\ ...
分类:
其他好文 时间:
2020-01-25 20:40:56
阅读次数:
94