随笔 - 835  文章 - 1 评论 - 40 阅读 - 102万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

11 2021 档案
ubuntu16 npm 安装路径
摘要:查看npm安装路径: 查看配置: npm config ls 查看配置所有: npm config ls -l 查看npm全局安装位置:npm config get prefix 设置位置:npm config set prefix 填写位置 npm全局安装位置,都在lib下面: sea@sea:/ 阅读全文
posted @ 2021-11-26 17:44 lshan 阅读(606) 评论(0) 推荐(0) 编辑
PIL图像处理模块,功能强大、简单易用(转)
摘要:作者:@古明地盆喜欢这篇文章的话,就点个关注吧,或者去bilibili看看我也行,虽然啥也没有。:https://space.bilibili.com/12921175 楔子 PIL 是一个专门用来处理图像的模块,可以对图象进行各种各样的变换,下面我们就来看看这个模块用法。 首先需要安装,直接 pi 阅读全文
posted @ 2021-11-19 18:37 lshan 阅读(1126) 评论(0) 推荐(0) 编辑
pytesseract 安装使用 tesseract(1)--图片转文字 gft图片处理
该文被密码保护。
posted @ 2021-11-19 17:55 lshan 阅读(6) 评论(0) 推荐(0) 编辑
Python 调用JS文件中的函数
摘要:Python 调用JS文件中的函数 1、安装PyExecJS第三方库 pip install PyExecJS 2、导入库:import execjs import execjs #读取js文件 with open('t.js',encoding='utf-8') as f: js = f.read 阅读全文
posted @ 2021-11-18 18:28 lshan 阅读(685) 评论(0) 推荐(0) 编辑
获取eureka nacos中服务的注册信息
该文被密码保护。
posted @ 2021-11-11 18:13 lshan 阅读(0) 评论(0) 推荐(0) 编辑
openfeign 实现动态Url
摘要:1. 依赖: <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-openfeign</artifactId> </dependency> 2.使用: //url必须写一 阅读全文
posted @ 2021-11-11 17:57 lshan 阅读(4210) 评论(0) 推荐(0) 编辑
java 中文分词器jieba
该文被密码保护。
posted @ 2021-11-08 19:35 lshan 阅读(44) 评论(0) 推荐(0) 编辑
python操作Elasticsearch7.x
摘要:python3 elasticsearch 先看下面我给准备的干货,如果不能满足,pls 官网文档 :https://pypi.org/project/elasticsearch/ dev 文档: https://elasticsearch-py.readthedocs.io/en/v7.15.1/ 阅读全文
posted @ 2021-11-04 19:37 lshan 阅读(2657) 评论(0) 推荐(0) 编辑
mongoShake docker 部署 (mongoshake:2.6.5)
摘要:mongoshake:2.6.5 docker 1. 下载镜像 sudo docker pull happysea/mongoshake:2.6.5 2. 同步mongo 数据 (192.168.18.176:27018,192.168.18.176:27019,192.168.18.176:270 阅读全文
posted @ 2021-11-04 14:07 lshan 阅读(647) 评论(0) 推荐(0) 编辑
SpringBoot 2.3 集成 Elasticsearch 7.15 es
该文被密码保护。
posted @ 2021-11-04 13:31 lshan 阅读(0) 评论(0) 推荐(0) 编辑
elasticsearch 7.x 安装使用(ik,elasticsearch head )
摘要:es5.x 到7.x 的版本变动,最大的变动是type的变动了 5.x 支持多种type 6.x 只能有一种type 7.x 将去除type 没有类型的概念了 官网文档:https://www.elastic.co/guide/en/elasticsearch/reference EVN :ubun 阅读全文
posted @ 2021-11-03 11:53 lshan 阅读(284) 评论(0) 推荐(0) 编辑
mongoDB -- 全文索引
摘要:概要: 对于几百万条数据,并发又不是很高,查询不是很复杂的情况下,前期就直接使用 elasticsearch,solr有点大材小用,就算后期确实数据庞大,查询复杂,再用elasticsearch 也就是分分钟的事情 使用: 重新建立索引: 通常创建索引生效时间是当前,对历史数据不建立索引,可以reI 阅读全文
posted @ 2021-11-02 12:35 lshan 阅读(1420) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示