摘要: 参考文档:https://www.jianshu.com/p/618cf6667381 部署HugeGraphServer # 初始化后端 bin/init-store.sh 初始化完成之后,会在当前目录下出现一个rocksdb-data的目录,这就是存放后端数据的地方,没事千万不要随意删它或移动它 阅读全文
posted @ 2019-06-10 20:28 shmily3929 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 解决方法: 1.进入启动文件目录 2.将用户加入到docker 组 sudo gpasswd -a ${USER} docker 3.使用root用户 sudo su 4. 切换当前用户 su ${USER} 5,.重新启动docker镜像 docker-compose up -d 阅读全文
posted @ 2018-11-13 10:52 shmily3929 阅读(5847) 评论(1) 推荐(0) 编辑
摘要: 方法一: pip3 install python-geohash 方法二: 1.保证 pip3 install geohash 包 2. 进入包的下载目录 /usr/local/lib/python3.5/dist-packages 3.mv Geohash geohash 4.cd geohash 阅读全文
posted @ 2018-06-30 15:28 shmily3929 阅读(3682) 评论(0) 推荐(0) 编辑
摘要: 1.编码问题(编码参数 parser): resp_html = etree.HTML(res,parser=etree.HTMLParser(encoding='gbk')) 2.大小写问题(大写转为小写) <cisReports batNo="查询批次号" unitName="查询单位名称"> 阅读全文
posted @ 2018-01-08 14:17 shmily3929 阅读(1213) 评论(0) 推荐(0) 编辑
摘要: 1.清华源 https://mirrors.aliyun.com/pypi/ 阅读全文
posted @ 2021-12-03 11:29 shmily3929 阅读(35) 评论(0) 推荐(0) 编辑
摘要: python2 python2 -m pip install --upgrade pip --force-reinstall python3 python2 -m pip install --upgrade pip --force-reinstall 阅读全文
posted @ 2021-12-03 11:17 shmily3929 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 2.1 信息存储 1.计算机最小的可寻址的内存单位是字节(8个位的块) 2.对于一个字长为w的机器,虚拟地址的范围为0~2^(w-1),最多访问2^w个字节 3.c语言数据类型占用字节数 4.字节排列目前常用的方法是小端法(Android和IOS都是小端法)大端法小端法 5.运算(https://b 阅读全文
posted @ 2021-06-11 15:05 shmily3929 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 阿姆达尔定律的含义: 系统中对某一部件采用更快的执行方式所能获得的系统性能改进程度,取决于这种执行方式被使用的频率,或者所占总执行时间的的比例。 阿姆达尔定律定义了: 采取增强(加速)某部分功能处理的措施后可获得的性能改进或执行时间的加速比。 简单来说就是 通过更快的加速器来获得加速是由慢的系统组件 阅读全文
posted @ 2021-04-30 09:40 shmily3929 阅读(346) 评论(0) 推荐(0) 编辑
摘要: https://mirrors.ustc.edu.cn/repogen/ 阅读全文
posted @ 2020-11-30 16:45 shmily3929 阅读(391) 评论(0) 推荐(0) 编辑
摘要: # oauth2 地址 https://tools.ietf.org/html/rfc6749 阅读全文
posted @ 2020-11-23 16:03 shmily3929 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 官方文档 https://github.com/zach-taylor/splunk_handler need https://github.com/madzak/python-json-logger pip3 install splunk_handler pip install python-js 阅读全文
posted @ 2020-05-15 11:32 shmily3929 阅读(302) 评论(0) 推荐(0) 编辑
摘要: docker images #列出本地主机上的镜像 docker run -it registry.cn-beijing.aliyuncs.com/hfax/mysql:5.6 sh # 使用版本为5.6的mysql镜像 docker run -it 96dc914914f5 sh # 使用版本为5 阅读全文
posted @ 2019-12-29 16:31 shmily3929 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 参考文档: RPC :http://www.imooc.com/article/285514 grpc 中文文档:http://doc.oschina.net/grpc?t=60138 RPC概念:(参考:http://www.imooc.com/article/285514) RPC(远程过程调用 阅读全文
posted @ 2019-12-24 16:30 shmily3929 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 1. 删除某软件,及其安装时自动安装的所有包 sudo apt-get autoremove docker docker-ce docker-engine docker.io containerd runc 2. 删除docker其他没有没有卸载 dpkg -l | grep docker dpkg 阅读全文
posted @ 2019-12-23 18:01 shmily3929 阅读(46985) 评论(2) 推荐(14) 编辑