随笔分类 - 蕃薯耀分享
摘要:mysql主从复制配置,mysql双主双从 ©Copyright 蕃薯耀 2020-10-27 https://www.cnblogs.com/fanshuyao/ 一、修改配置文件 Linux修改/etc/my.cnf文件,Windows修改my.ini文件,下面以Linux为例 主库配置: #
阅读全文
摘要:Centos7设置Hostname,Centos7设置主机名 ©Copyright 蕃薯耀 2020-10-27 https://www.cnblogs.com/fanshuyao/ 方法一:使用hostnamectl命令设置Hostname hostnamectl set-hostname hos
阅读全文
摘要:mybatis-plus代码生成器,mybatis-plus3.4自动生成代码,mybatis-plus3.4分页 ©Copyright 蕃薯耀 2020-10-21 https://www.cnblogs.com/fanshuyao/ 一、Jar包依赖 <properties> <!-- 构建时编
阅读全文
摘要:sharding-jdbc-spring-boot-starter 整合 mybatis-plus-boot-starter + druid sharding-jdbc整合 mybatis-plus + druid shardingsphere分库分表 ©Copyright 蕃薯耀 2020-10-
阅读全文
摘要:Zookeeper安装和使用,Centos7安装Zookeeper,Centos安装配置和Zookeeper安装配置 ©Copyright 蕃薯耀 2020-10-20 https://www.cnblogs.com/fanshuyao/ 一、使用VMware Workstation Pro安装Ce
阅读全文
摘要:Tomcat乱码,Tomcat中文乱码解决方案
阅读全文
摘要:Springboot JavaMailSender发送邮件,Springboot整合Email,Springboot发送邮件封装 ©Copyright 蕃薯耀 2020-08-31 https://www.cnblogs.com/fanshuyao/ 通过163邮件,向QQ邮件发送邮件,包括多邮件同
阅读全文
摘要:©Copyright 蕃薯耀 2020-08-11 https://www.cnblogs.com/fanshuyao/ base.js //增加window.console定义,解决IE6、7、8、9使用console.log报未定义的错误 window.console = window.cons
阅读全文
摘要:jquery.params.js,Jquery获取页面参数,js获取页面参数 ©Copyright 蕃薯耀 2020-08-06 https://www.cnblogs.com/fanshuyao/ 一、jquery.params.js源码: /** * 使用:$.query.get("paramN
阅读全文
摘要:layui使用,LayUI select不显示,LayUI文件上传,Layui自定义校验规则 ©Copyright 蕃薯耀 2020-08-05 https://www.cnblogs.com/fanshuyao/ 一、引入js和css <link rel="stylesheet" href="..
阅读全文
摘要:©Copyright 蕃薯耀 2020-08-05 https://www.cnblogs.com/fanshuyao/ 一、引入js(因为引用了layui,直接引入这个) <script type="text/javascript" src="../../static/plugin/layui-v
阅读全文
摘要:Html跨域js封装,前端页面跨域js,postMessage实现跨域 ©Copyright 蕃薯耀 2020-08-05 https://www.cnblogs.com/fanshuyao/ 一、js文件: crossOrigin.js: /** * 跨域js * 使用postMessage实现h
阅读全文
摘要:js下载文件,javascript下载文件,页面元素保存成文件
阅读全文
摘要:©Copyright 蕃薯耀 2020-07-31 https://www.cnblogs.com/fanshuyao/ if(window.location != parent.location){//判断是否有父窗口,当不相等时,表示有父窗口 console.log("向父页面发送回调请求:ta
阅读全文
摘要:myeclipse weblogic内存溢出解决 ©Copyright 蕃薯耀 2020-07-15 https://www.cnblogs.com/fanshuyao/ 一、问题描述: myeclipse配置weblogic,将多个项目部署到weblogic时,内存溢出 二、解决方案: myecl
阅读全文
摘要:©Copyright 蕃薯耀 2020-06-23 https://www.cnblogs.com/fanshuyao/ springboot初始化项目慢,springboot创建项目慢,根本原因就是我们的网络访问https://spring.io/慢。 可以使用阿里镜像,速度提升N倍如火箭 地址:
阅读全文
摘要:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. 一、问题描述 ***************************
阅读全文
摘要:springboot多数据源死循环,springboot动态据源死循环 The dependencies of some of the beans in the application context form a cycle ©Copyright 蕃薯耀 2020-04-24 https://ww
阅读全文
摘要:Oracle Jdbc连接错误:oracle.net.ns.NetException: Got minus one from a read call ©Copyright 蕃薯耀 2020-04-15 https://www.cnblogs.com/fanshuyao/ 一、问题描述: Caused
阅读全文
摘要:js数字正则表达式,js小数正则表达式 ©Copyright 蕃薯耀 2020-04-15 https://www.cnblogs.com/fanshuyao/ /** * 是否为数字(仅正数),包括正整数、正小数、0 * @param value * @returns */ function is
阅读全文

浙公网安备 33010602011771号