Silentdoer

导航

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 43 下一页

2022年6月24日 #

nginx https配置问题

摘要: 注意,如果nginx配置了https,那么其转发的后端服务是不需要配置https了【除非nginx和其转发的后端服务走的是公网,但是一般不太可能。。】 nginx 配置https可以看:https://blog.csdn.net/u012486840/article/details/12094076 阅读全文

posted @ 2022-06-24 16:16 Silentdoer 阅读(29) 评论(0) 推荐(0) 编辑

创建右键nushell打开UTF-8(似乎需要win10 1803版本以上,admin的不需要[安装1903以上版本靠谱,windows terminal需要])

摘要: 在环境变量中添加名为LESSCHARSET,值为utf-8的环境变量(解决git log中文乱码) 在桌面新建nushell.reg文件,里面写如下代码: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\Backgr 阅读全文

posted @ 2022-06-24 15:34 Silentdoer 阅读(104) 评论(0) 推荐(0) 编辑

2022年6月23日 #

分区表创建和查询

摘要: create table sign_in_log(unid BIGINT(20) NOT NULL, create_time datetime not null)engine = innodb default charset=utf8 partition by range columns (crea 阅读全文

posted @ 2022-06-23 14:24 Silentdoer 阅读(245) 评论(0) 推荐(0) 编辑

2022年6月22日 #

uni-app零碎总结

摘要: 1.通过vue-cli创建的uni-app项目,如果有用到sass,那么node要用12.x版本的,且安装命令是:npm i sass-loader@7 node-sass@4 -D --save,还得安装了Python2.x且设置为Path; 阅读全文

posted @ 2022-06-22 15:31 Silentdoer 阅读(15) 评论(0) 推荐(0) 编辑

2022年6月21日 #

ElasticSearch随记

摘要: 最新的ES的index type默认就是_doc无法再指定; index里的每个文档都有个String类型的_id字段,它可以理解为主键【所以表结构最好是有个单字段且业务无关作为主键方便迁移ES】 keyword的字段才能被聚合和精确查找 es默认有from+size不能超过1W的限制,但是可以用s 阅读全文

posted @ 2022-06-21 19:58 Silentdoer 阅读(22) 评论(0) 推荐(0) 编辑

2022年6月14日 #

ElasticSearch修改index增加修改字段(包括template)

摘要: 0.已经生成的index,它的mappings是不会变的,比如只有name、age、desc三个字段,且各自的index、doc_values都已经确立;那么我往里面提交是可以提交额外的字段如:phone ,但是这个phone字段无法被搜索,它只能被查已经存在且能查询的三个字段查出来后 附带 的带出 阅读全文

posted @ 2022-06-14 18:18 Silentdoer 阅读(856) 评论(0) 推荐(0) 编辑

2022年6月8日 #

HBuilderX配置微信开发者工具

摘要: 主要是cli下创建的uni-app调试啥的不方便,还是用HBuilderX好一点,可以参考文章:https://blog.csdn.net/qq_42629964/article/details/121293083 阅读全文

posted @ 2022-06-08 11:35 Silentdoer 阅读(189) 评论(0) 推荐(0) 编辑

通过控制台创建uni-app vue3+ts项目

摘要: 第一步是要先把npm的源地址改成淘宝的,否则命令行创建时巨慢,且会报错,可以看文章:https://blog.csdn.net/weixin_43963309/article/details/121946080 通过这个命令来切换源: npm config set registry https:// 阅读全文

posted @ 2022-06-08 10:34 Silentdoer 阅读(793) 评论(0) 推荐(0) 编辑

2022年3月6日 #

Rust一些设计的不好的地方

摘要: 第一个就是Option和Result里的map_or,map_or_else,即无论是按方法名还是按求值逻辑,第一个参数都应该是map方法/闭包,第二个才是默认值(map_or_else则是默认值的generate方法); 但是在rust里这个是反着来的,我是不太爽的,因为按函数名,明显第一个参数应 阅读全文

posted @ 2022-03-06 11:26 Silentdoer 阅读(65) 评论(0) 推荐(0) 编辑

2022年1月15日 #

Maven pom.xml的properties配置以及编译参数设置

摘要: <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncod 阅读全文

posted @ 2022-01-15 12:46 Silentdoer 阅读(653) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 43 下一页