摘要: 1、修改auto_master 编译 /etc/auto_master 文件,注释掉或者移除以 /home 开头的那一行,保存。 sudo vim /etc/auto_master 注释掉 /home 哪一行,如下所示: # # Automounter master map # +auto_mast 阅读全文
posted @ 2020-03-30 17:52 大米粒汪汪叫 阅读(3176) 评论(1) 推荐(0) 编辑
摘要: proxy_set_header子模块会覆盖全局的设置; 1.高德广告接口没有x-forwarded-for; 由于业务proxy_set_header 指令错误地设置在了 location配置块中,导致了全局proxy_set_header 指令失效 阅读全文
posted @ 2020-03-26 19:22 大米粒汪汪叫 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 原因:收到舆情,线上某个用户点开收藏夹,渲染卡死; 方案:希望把线上此用户的数据导到测网某个用户下; 处理过程: 1.创建export_fac.js文件: var c = db.getCollection("sync_item_value_core").find({"item.uid":{$in:[ 阅读全文
posted @ 2020-03-26 19:16 大米粒汪汪叫 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 1、进入项目地址,通过命令git init将项目初始化成git本地仓库 git init 2、将项目内所有文件都添加到暂存区 git add . 3、该命令会将git add .存入暂存区修改内容提交至本地仓库中,若文件未添加至暂存区,则提交时不会提交任何修改。 git commit -m 'xxx 阅读全文
posted @ 2020-03-17 11:08 大米粒汪汪叫 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 通过切面方式记录请求的req和res日志: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> package 阅读全文
posted @ 2020-01-08 18:33 大米粒汪汪叫 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 工具选型 目前Java常用覆盖率工具Jacoco、Emma和Cobertura 阅读全文
posted @ 2019-12-25 19:23 大米粒汪汪叫 阅读(988) 评论(0) 推荐(0) 编辑
摘要: request.getHeader大小写不敏感 阅读全文
posted @ 2019-12-25 19:22 大米粒汪汪叫 阅读(200) 评论(0) 推荐(0) 编辑