07 2019 档案

java 正则表达式
摘要:1. 只保留 文件名// E:/234/asdfa\\abc.html -> abc.html 只保留文件名 // spring boot 下载文件时,要加上 @ResponseBody//\S+.[a-zA-Z0-9]+$String s = "E:/234/asdfa\\abc.html".re 阅读全文

posted @ 2019-07-26 13:09 正义的伙伴! 阅读(159) 评论(0) 推荐(0) 编辑

spring boot 和 cas 整合
摘要:1. 修改依赖 2. 建立 配置类 3. 建立 拦截器 bean 阅读全文

posted @ 2019-07-26 09:24 正义的伙伴! 阅读(2884) 评论(0) 推荐(0) 编辑

centos 配置 ip
摘要:关于配置 阿里软件源: https://www.cnblogs.com/gandoufu/p/9665762.html 阅读全文

posted @ 2019-07-25 17:36 正义的伙伴! 阅读(136) 评论(0) 推荐(0) 编辑

editplus 5 注册码
摘要:Vovan 3AG46-JJ48E-CEACC-8E6EW-ECUAW 阅读全文

posted @ 2019-07-25 11:22 正义的伙伴! 阅读(2225) 评论(1) 推荐(1) 编辑

quartz 创建 定时任务写法。
摘要:quartz 2.3.1 quartz 1.8.6 阅读全文

posted @ 2019-07-24 16:00 正义的伙伴! 阅读(1008) 评论(0) 推荐(0) 编辑

reids linux 启动
摘要:edis的启动方式1.直接启动进入redis根目录,执行命令:#加上‘&’号使redis以后台程序方式运行 ./redis-server &12.通过指定配置文件启动可以为redis服务启动指定配置文件,例如配置为/etc/redis/6379.conf进入redis根目录,输入命令: ./redi 阅读全文

posted @ 2019-07-24 10:01 正义的伙伴! 阅读(220) 评论(0) 推荐(0) 编辑

redis 指定目录安装
摘要:make PREFIX=/usr/local/redis install #安装到指定目录中 注意上面的最后一行,我们通过PREFIX指定了安装的目录。 错误 zmalloc.h:50:10: fatal error: jemalloc/jemalloc.h: No such file or dir 阅读全文

posted @ 2019-07-22 15:42 正义的伙伴! 阅读(7802) 评论(0) 推荐(0) 编辑

centos 6.8 docker
摘要:注:我的系统为centos6.91、执行命令:uname -a 查看内核版本看看内核是否符合要求2、执行命令:yum update 更新yum3、执行命令:yum -y install docker-io 安装docker 可能出现的问题: 1、如果执行过程中出现了下面面的错误说明没有安装 epel 阅读全文

posted @ 2019-07-22 15:23 正义的伙伴! 阅读(324) 评论(0) 推荐(0) 编辑

jdk linux 配置环境变量
摘要:1. vim /etc/profile 2. 复制上面的代码到 文件末尾 3. 阅读全文

posted @ 2019-07-22 14:57 正义的伙伴! 阅读(296) 评论(0) 推荐(0) 编辑

centos 新建用户
摘要:1、建用户: adduser phpq //新建phpq用户passwd phpq //给phpq用户设置密码 2、建工作组groupadd test //新建test工作组 3、新建用户同时增加工作组useradd -g test phpq //新建phpq用户并增加到test工作组 注::-g 阅读全文

posted @ 2019-07-22 09:44 正义的伙伴! 阅读(2033) 评论(0) 推荐(0) 编辑

windows 远程不能复制粘贴解决
摘要:Windows远程桌面(mstsc)不能复制粘贴的解决办法 原来通过mstsc远程连接Windows能够直接在本地和服务器之间复制、粘贴一些文字和文件,最近突然无法直接复制粘贴了,只能通过远程映射的本地磁盘方式交换文件,太为繁琐。 已经确认远程桌面连接选项“本地资源-》本地设备和资源-》剪贴板”中勾 阅读全文

posted @ 2019-07-19 17:24 正义的伙伴! 阅读(15751) 评论(0) 推荐(0) 编辑

spring cloud eureka client 写法
摘要:spring: application: name: app:unicomstatisticcloud:config:uri:http://{config-ip:192.168.0.110}:8500 profile: ${profile:dev} label: master task: scheduli... 阅读全文

posted @ 2019-07-18 11:53 正义的伙伴! 阅读(315) 评论(0) 推荐(0) 编辑

mysql 5.5 linux 安装
摘要:# 启动 mysql (指定 默认 的 配置文件)./mysqld --defaults-file=my.cnf # 后台 启动 mysql./mysqld --defaults-file=my.cnf & /lyc/mysql-5.5.62/tmp/mysql.sock 注意 ; 如果没有 mys 阅读全文

posted @ 2019-07-18 10:42 正义的伙伴! 阅读(485) 评论(0) 推荐(0) 编辑

sqlyog 导入 loss connection
摘要:导致我找了很久都没有找到原因,以为是5.5mysql导出来的再导入5.7mysql版本不一样出错了。 试了百度的很多种方法都没有用,试着用命令行导入报: ERROR 1153 (08S01) at line 1012: Got a packet bigger than ‘max_allowed_pa 阅读全文

posted @ 2019-07-17 16:30 正义的伙伴! 阅读(245) 评论(0) 推荐(0) 编辑

list 集合 分页
摘要:方式一:public static void fenye(List list,int pagesize){ int totalcount=list.size(); int pagecount=0; int m=totalcount%pagesize; if (m>0){ pagecount=tota 阅读全文

posted @ 2019-07-17 11:30 正义的伙伴! 阅读(477) 评论(0) 推荐(0) 编辑

jquery 获取frame document 对象
摘要:# 1 子 iframe 获取 父 窗口下的其他 子 iframevar jqFrame = $(parent.frames[id].contentWindow.document); 阅读全文

posted @ 2019-07-16 15:59 正义的伙伴! 阅读(1772) 评论(0) 推荐(0) 编辑

spring boot 自带的 session 配置
摘要:server: port: 8761 host: localhost servlet: session: cookie: name: eureka-session 阅读全文

posted @ 2019-07-05 11:01 正义的伙伴! 阅读(1547) 评论(0) 推荐(0) 编辑

spring mybatis 多数据源配置
摘要:方法1: 使用自带的 多数据源 方法2: 使用 aspectj aop 关键类 : AbstractRoutingDataSource, 在当前线程中绑定一个数据源 既 ThreadLocal<DataSource> 变量 参考: spring mybatis 多数据源 https://www.cn 阅读全文

posted @ 2019-07-03 10:42 正义的伙伴! 阅读(348) 评论(0) 推荐(0) 编辑

jdbc mysql driver 8.0 写法
摘要:jdbc:mysql://db.host/{db.name}?useSSL=false&serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=UTF-8 阅读全文

posted @ 2019-07-01 16:04 正义的伙伴! 阅读(1151) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
//增加一段JS脚本,为目录生成使用
点击右上角即可分享
微信分享提示