2023年8月8日
摘要: win键+r ,输入regedit ,打开注册表编辑器,进入目录:计算机\HKEY_CLASSES_ROOT\Directory\Background\shell shell右键新建项openCmd(名字随意),默认数据改为打开命令行(右键时展示的名称);新建字符串Icon,数据改为cmd.exe( 阅读全文
posted @ 2023-08-08 23:56 风景1573 阅读(410) 评论(0) 推荐(0) 编辑
摘要: start nginx : 启动nginx nginx.exe -c conf/nginx.conf 按照指定配置去启动nginx nginx -t -c conf/nginx.conf :检测nginx是否配置正确 nginx -s reload :修改配置后重新加载生效 nginx -s sto 阅读全文
posted @ 2023-08-08 13:20 风景1573 阅读(1140) 评论(0) 推荐(0) 编辑
  2023年8月7日
摘要: 使用vue-cli搭建的项目,页面自定义带template内容的组件无法渲染,控制台报错,页面不展示组件内容,代码如下: <template> <div class="hello"> my-component:<my-component></my-component> </div> </templa 阅读全文
posted @ 2023-08-07 22:29 风景1573 阅读(334) 评论(0) 推荐(0) 编辑
  2023年7月30日
摘要: 因为本地运行不同的项目需要的node.js版本不一样,所以经常需要用nvm来切换nodejs版本,有时候下载依赖就会出现问题。 想下载依赖 运行npm i 后报错,提示node和npm 版本不对应: npm does not support Node.js v14.15.1 ... 解决思路: 1. 阅读全文
posted @ 2023-07-30 23:00 风景1573 阅读(732) 评论(0) 推荐(0) 编辑
  2018年9月18日
摘要: public <T> List<T> removeDuplicateKeepOrder(List<T> list){ /* Set set = new HashSet(); List<T> newList = new ArrayList<T>(); for (T element : list) { 阅读全文
posted @ 2018-09-18 20:57 风景1573 阅读(462) 评论(4) 推荐(0) 编辑
  2018年9月12日
摘要: $.ajax( { url:'http://127.0.0.1:30080/api-a/quasiCustom/selectCustomList', type:'post', dateType:'json', ... 阅读全文
posted @ 2018-09-12 17:32 风景1573 阅读(120107) 评论(0) 推荐(1) 编辑
  2018年8月24日
摘要: idea下大小写字母转换快捷键: 选中 按 ctrl+shift+U 全局搜索: ctrl+shift+R 本类搜索: ctrl+F 阅读全文
posted @ 2018-08-24 21:30 风景1573 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 方法中不能有参数 类上加注解:@Component 方法上加注解@Scheduled 每天10:14执行: @Scheduled(cron = "0 14 10 ? * *") 每5秒执行一次:@Scheduled(fixedRate = 5000) 阅读全文
posted @ 2018-08-24 21:23 风景1573 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 分库时快速在多个数据库中复制表: create table `目标数据库名`.`表名` as SELECT * FROM `数据库名`.`表名` 例:create table `199`.`t01teaminfo_backup` as SELECT * FROM `111`.`t01teaminfo 阅读全文
posted @ 2018-08-24 21:20 风景1573 阅读(143) 评论(0) 推荐(0) 编辑
摘要: update mysql.user set host = '%' where user = 'root'; FLUSH PRIVILEGES; select * from mysql.user; 阅读全文
posted @ 2018-08-24 21:15 风景1573 阅读(143) 评论(0) 推荐(0) 编辑