2019年9月10日

What is a Digital Signature? 理解数字签名与数字证书

摘要: What is a Digital Signature?An introduction to Digital Signatures, by David Youd Bob (Bob's public key) (Bob's private key) Bob has been given two key 阅读全文

posted @ 2019-09-10 09:57 滚动的蛋 阅读(979) 评论(0) 推荐(0)

2019年9月3日

软件开发流程

摘要: 了解软件开发流程,一般如下: 需求分析(形成需求概要文档)>>>概要设计>>>详细设计(可以省略)>>>编码>>>测试>>>交付>>>验收>>>维护迭代 开发需要的文件如下 1、需求概要 2、概要设计 3、详细设计 交付需要文件: 1、使用手册 测试维护: 1、测试文件 2、系统升级维护文件 阅读全文

posted @ 2019-09-03 12:55 滚动的蛋 阅读(182) 评论(0) 推荐(0)

2019年8月23日

Java File download

摘要: 注意文件响应处理方式,是响应为网页形式还是附件显示,看如下信息: In a regular HTTP response, the Content-Disposition response header is a header indicating if the content is expected 阅读全文

posted @ 2019-08-23 10:13 滚动的蛋 阅读(461) 评论(0) 推荐(0)

2019年8月22日

Spring Security 解决X-Frame-Options deny

摘要: 错误信息: Refused to display 'https://github.com/hwclass/awesome-sound' in a frame because it set 'X-Frame-Options' to 'deny 解决方法 在配置中添加: 点击查看mozilla文档 阅读全文

posted @ 2019-08-22 14:13 滚动的蛋 阅读(3946) 评论(0) 推荐(0)

2019年8月20日

springboot 开启缓存

摘要: Caching Data with Spring This guide walks you through the process of enabling caching on a Spring managed bean. What you’ll build You’ll build an appl 阅读全文

posted @ 2019-08-20 16:00 滚动的蛋 阅读(1197) 评论(0) 推荐(0)

2019年8月15日

Mybaits 查询 choose when 的使用

摘要: 注意: 单字符判断相等时错误: <if test="takeWay == '1' and workday != null "> 改为<if test='takeWay == "1" and workday != null '> 或改为<if test="takeWay == '1'.toString 阅读全文

posted @ 2019-08-15 17:02 滚动的蛋 阅读(436) 评论(0) 推荐(0)

Mybaist 注解 foreach 嵌套循环实现批量插入

摘要: 第一种写法(#使用占位符推荐): 执行结果: insert into dmp_department_work ( `functional` , `num` , `power` , `state` , `department` , `table` ) values ( ? , ? , ? , ? , 阅读全文

posted @ 2019-08-15 15:21 滚动的蛋 阅读(2111) 评论(0) 推荐(0)

2019年7月31日

Tomcat部署多个Springboot项目报错 InstanceNotFoundException: com.alibaba.druid:type=DruidDataSourceStat

摘要: 在一个tomcat服务器下部署了多个采用阿里druid作为数据连接池,结果启动报错。原因是不能在一个tomcat服务器下不能直接部署多个druid作为数据连接池的项目,需要配置。 解决办法: 在springboot中添加配置项: spring.jmx.default-domain= appName 阅读全文

posted @ 2019-07-31 18:44 滚动的蛋 阅读(3442) 评论(0) 推荐(0)

2019年7月26日

MYSQL 快速备份大数据量

摘要: Part 1(mysqldump): mysqldump是官方自带的逻辑备份工具,可以进行实例级、库级、表级的数据与结构或单表结构备份,还能添加where筛选条件等。 例:mysqldump -uusername -ppassword --databases your DB--tables your 阅读全文

posted @ 2019-07-26 15:13 滚动的蛋 阅读(6408) 评论(0) 推荐(0)

2019年6月4日

防止过度工程-[拒绝完美主义]

摘要: http://www.yinwang.org/blog-cn/2015/11/21/programming-philosophy 阅读全文

posted @ 2019-06-04 10:39 滚动的蛋 阅读(266) 评论(0) 推荐(0)

导航