会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
天涯过者
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
14
下一页
2018年11月22日
抽奖概率
摘要: /** * 通过奖品列表中的概率抽取奖品 * * @param list * @return */private GiftPackageRule getPrize(List<GiftPackageRule> list) { if (list == null || list.size() < 1) r
阅读全文
posted @ 2018-11-22 16:25 天涯过者
阅读(213)
评论(0)
推荐(0)
2018年9月25日
SpringBoot整合Rabbitmq设置消息请求头
摘要: String str = "{\"origin\":\"BBC\",\"origin_coupon_id\":51,\"name\":\"123\",\"start_time\":1537763820,\"end_time\":1540874220,\"duration\":\"\",\"validity_type\":0,\"type\":1,\"tota
阅读全文
posted @ 2018-09-25 14:04 天涯过者
阅读(3591)
评论(0)
推荐(0)
2018年9月11日
Spring Boot 使用 ServletFileUpload上传文件失败,upload.parseRequest(request)为空
摘要: 使用Apache Commons FileUpload组件上传文件时总是返回null,调试发现ServletFileUpload对象为空,在Spring Boot中有默认的文件上传组件,在使用ServletFileUpload时需要关闭Spring Boot的默认配置 , 禁用MultipartRe
阅读全文
posted @ 2018-09-11 11:47 天涯过者
阅读(6757)
评论(4)
推荐(1)
2018年9月4日
ffmpeg文件切片
摘要: 先用ffmpeg把abc.mp4文件转换为abc.ts文件: ffmpeg -y -i abc.mp4 -vcodec copy -acodec copy -vbsf h264_mp4toannexb abc.ts 再用ffmpeg把abc.ts文件切片并生成playlist.m3u8文件,5秒一个切片: ffmpeg -i abc.ts -c copy -map 0 -f segm...
阅读全文
posted @ 2018-09-04 15:27 天涯过者
阅读(3323)
评论(0)
推荐(0)
2018年8月30日
IntelliJ IDEA 2017 永久注册方法
摘要: https://blog.csdn.net/weixin_39913200/article/details/80859897 在安装的idea下面的bin目录下面有2个文件 : 一个是idea64.exe.vmoptions,还有一个是idea.exe.vmoptions(如上图篮框)。 用记事本打
阅读全文
posted @ 2018-08-30 21:07 天涯过者
阅读(366)
评论(0)
推荐(0)
2018年8月29日
Spring Boot 静态页面
摘要: 首先,在resources目录下先建立static文件夹,在建立/1/index.html文件 http://localhost/1/index.html 和 http://localhost/1/index.html都可以访问index.html页面
阅读全文
posted @ 2018-08-29 14:53 天涯过者
阅读(732)
评论(0)
推荐(0)
2018年8月28日
java -jar 命令
摘要: java -jar spring.jar 这个命令当你 ctrl c 之后,程序就自动结束了java jar spring.jar & &是指在后台运行,但当用户推出(挂起)的时候,命令自动也跟着退出
阅读全文
posted @ 2018-08-28 16:28 天涯过者
阅读(1267)
评论(0)
推荐(0)
ubuntu通过apt-get安装JDK8
摘要: 安装python-software-properties 首先添加ppa 然后更新系统 最后开始安装 查看版本
阅读全文
posted @ 2018-08-28 11:02 天涯过者
阅读(12725)
评论(0)
推荐(1)
2018年8月23日
JavaScript获取请求参数
摘要: var params = paramsMap()["params"];
阅读全文
posted @ 2018-08-23 12:17 天涯过者
阅读(2783)
评论(0)
推荐(0)
2018年7月30日
JavaScript时间处理
摘要: /**************************************时间格式化处理************************************/ function dateFtt(fmt, date) { var o = { "M+": date.getMonth() + 1, //月份...
阅读全文
posted @ 2018-07-30 16:42 天涯过者
阅读(152)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
14
下一页
公告