会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
anakinf
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
10
下一页
2020年9月27日
mysql5.7主从同步 ubuntu
摘要: 实现环境: | System | mysql | ip | |主ubuntu | mysql-5.7.24 | 10.192.209.122 | |从ubuntu | mysql-5.7.39 | 10.192.209.43 | 注:从服务器的mysql版本最好和主服务器相同,或者大于主服务器版本
阅读全文
posted @ 2020-09-27 01:03 anakinf
阅读(226)
评论(0)
推荐(0)
2020年9月25日
spring boot spring cloud jar包一键启动,告别 ps -ef|grep xx.jar kill xxxx
摘要: #!/bin/bash#包名AppName=xfsup-admin.jar#启动环境参数START_OPTS spring.profiles.active=test#JVM参数JVM_OPTS="-Dname=$AppName -Duser.timezone=Asia/Shanghai -Xms51
阅读全文
posted @ 2020-09-25 20:57 anakinf
阅读(411)
评论(0)
推荐(0)
ubuntu18.04下,如何解决散热风扇高速运转的问题?
摘要: 解决方案: 1.如果你是dell的本子,尝试运行下面的命令(亲测有效,电脑瞬间安静) sudo apt-get install i8kutils 2.如果你的惠普的本子,尝试运行下面的命令。 sudo apt-get install thermald 3.其他品牌的,请自行百度。
阅读全文
posted @ 2020-09-25 20:52 anakinf
阅读(872)
评论(0)
推荐(0)
2020年6月30日
每秒上万并发下的Spring Cloud参数优化实战
摘要: https://mp.weixin.qq.com/s?__biz=MzU0OTk3ODQ3Ng==&mid=2247483777&idx=1&sn=f144ee415bb743f5422314907fc7d819&chksm=fba6e982ccd160945aa5c53434e933e2f03e8
阅读全文
posted @ 2020-06-30 13:23 anakinf
阅读(404)
评论(0)
推荐(0)
2020年6月17日
thymeleaf循环遍历
摘要: th:each属性用于迭代循环,语法:th:each="obj,iterStat:${objList}"迭代对象可以是Java.util.List,java.util.Map,数组等;iterStat称作状态变量,属性有: index:当前迭代对象的index(从0开始计算) count: 当前迭代
阅读全文
posted @ 2020-06-17 09:04 anakinf
阅读(3734)
评论(0)
推荐(0)
2020年6月16日
Thymeleaf Split
摘要: <th:block th:each="image : ${#strings.listSplit(goods.images, ';')}"> <img th:src="${image}" style="max-height: 150px;"></th:block>
阅读全文
posted @ 2020-06-16 21:11 anakinf
阅读(1089)
评论(0)
推荐(0)
Thymeleaf模板表达式大全
摘要: 日期格式、组件提取等. ${#dates.format(date)} ${#dates.arrayFormat(datesArray)} ${#dates.listFormat(datesList)} ${#dates.setFormat(datesSet)} ${#dates.format(dat
阅读全文
posted @ 2020-06-16 21:09 anakinf
阅读(350)
评论(0)
推荐(0)
2020年3月18日
Tomcat catalina.out太大解决
摘要: 本文章解决办法:1、修改tomcat的日志配置,配置输出日志级别2、修改工程的日志配置:输出在控制台的级别 一:改变日志输出级别:方法一:一般在部署Tomcat后,运行久了,catalina.out文件会越来越大,对系统的稳定造成了一定的影响。可通过修改conf/logging.properties
阅读全文
posted @ 2020-03-18 21:31 anakinf
阅读(3852)
评论(0)
推荐(0)
js小数运算出现多位小数如何解决
摘要: 解决方法思路:将小数化成整数后再作运算。具体代码如下: /** * 加法运算,避免数据相加小数点后产生多位数和计算精度损失。 * * @param num1加数1 | num2加数2 */ function numAdd(num1, num2) { var baseNum, baseNum1, ba
阅读全文
posted @ 2020-03-18 10:35 anakinf
阅读(2720)
评论(0)
推荐(0)
2020年2月7日
idea在调试时出现Method breakpoints may dramatically slow down debugging, idea卡很久
摘要: idea在调试时出现Method breakpoints may dramatically slow down debugging,一直卡在 Initializing Spring embedded WebApplicationContext 断点打在方法某个断点卡住了。 快捷键:Ctrl - Sh
阅读全文
posted @ 2020-02-07 15:46 anakinf
阅读(773)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
10
下一页
公告