上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 22 下一页
摘要: 一):innodb_flush_log_at_trx_commit 参数解释: 1):参数解释 0:log buffer将每秒一次地写入log file中,并且log file的flush(刷到磁盘)操作同时进行。该模式下在事务提交的时候,不会主动触发写入磁盘的操作。 1:每次事务提交时MySQL都 阅读全文
posted @ 2020-05-19 14:35 coding++ 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1、判断一个变量是否为空 的方法 1、变量通过" "引号引起来 #!/bin/sh para1= if [ ! -n "$para1" ]; then echo "IS NULL" else echo "NOT NULL" fi 2、直接通过变量判断 #!/bin/sh para1= if [ ! 阅读全文
posted @ 2020-05-19 11:08 coding++ 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 一、iptables防火墙 1、基本操作 # 查看防火墙状态 service iptables status # 停止防火墙 service iptables stop # 启动防火墙 service iptables start # 重启防火墙 service iptables restart # 阅读全文
posted @ 2020-05-18 18:18 coding++ 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 1):获取指定元素值 package com.mmq.regex; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; / 阅读全文
posted @ 2020-05-17 14:38 coding++ 阅读(404) 评论(0) 推荐(0) 编辑
摘要: 1):查询重复数据 db.getCollection('users').aggregate([ { $group: { _id : '$goodsId', count: { $sum : 1 } } }, { $match: { count: { $gt : 1} } } ]) 2):Mongodb 阅读全文
posted @ 2020-05-15 21:57 coding++ 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 引文: TP-LINK路由器端口映射全套教程(亲测有效) 阅读全文
posted @ 2020-05-01 21:31 coding++ 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 1、开源版安装包下载 地址一:百度云下载 10.0 提取码:2dyg 地址二:官方下载 2、直接解压安装包到/opt目录下 注意:这里我安装的是Linux一键安装包官方给出的方法就是直接解压到/opt/目录下直接启动就行,若解压到其他目录下可能目录权限可能出现问题,直接给777权限都不行, 所以我们 阅读全文
posted @ 2020-05-01 13:46 coding++ 阅读(500) 评论(0) 推荐(0) 编辑
摘要: import com.google.common.collect.Lists; import org.apache.commons.collections4.ListUtils; import org.junit.Test; import java.util.ArrayList; import ja 阅读全文
posted @ 2020-04-30 13:13 coding++ 阅读(915) 评论(0) 推荐(0) 编辑
摘要: 该注解是在单实例bean是使用,当使用@Scope注解的singleton属性时,bean的实例会在IOC容器创建的时候被加载, 但是如果在创建bean的时候加上@lazy注解,则bean的实例会在第一次使用的时候被创建。 @Lazy @Scope(value = ConfigurableBeanF 阅读全文
posted @ 2020-04-28 16:23 coding++ 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Quartz定时任务默认都是并发执行的,不会等待上一次任务执行完毕,只要间隔时间到就会执行, 如果定时任执行太长,会长时间占用资源,导致其它任务堵塞。 在Spring中这时需要设置concurrent的值为false, 禁止并发执行。 <property name="concurrent" valu 阅读全文
posted @ 2020-04-26 22:25 coding++ 阅读(976) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 22 下一页