摘要: 相关脚本 转载 https://www.cnblogs.com/cnlian/p/5765871.html http://blog.csdn.net/wsbeibei/article/details/28632507 tesseract e:/aaa/num.font.exp0.tif e:/aaa 阅读全文
posted @ 2018-02-27 13:16 小小鬼 阅读(173) 评论(0) 推荐(0) 编辑
摘要: ./mongodump --host 127.0.0.1 --port 27017 -d test_database --out /usr/mongodb/backup./mongorestore --host 127.0.0.1 --port 27017 -d test_database /usr 阅读全文
posted @ 2018-02-02 10:53 小小鬼 阅读(518) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/lifetragedy/article/details/7708724 JVM优化 linux catalina.sh windows catalina.bat -server tomcat运行在生产环境中的,这个参数必须给加上 因为tomcat默认是 阅读全文
posted @ 2018-01-29 10:22 小小鬼 阅读(448) 评论(0) 推荐(0) 编辑
摘要: 第一个参数 {"stopTime":{$gte:1}} 更新过滤的条件第二个参数 {$set:{"createDate":new Date("2017-12-20T00:00:00.000Z")}} 更新的内容第三个参数 false 如果不存在update的记录,是否插入objNew,true为插入 阅读全文
posted @ 2017-12-20 09:34 小小鬼 阅读(3126) 评论(0) 推荐(0) 编辑
摘要: 切记删除原有ffmpeg1、编译yasm。./configure --prefix=/usr/local/yasmmakemake install2、解压x264,进入目录,输入:./configure --prefix=/usr/local/x264 --enable-shared --enabl 阅读全文
posted @ 2017-08-14 08:30 小小鬼 阅读(3454) 评论(0) 推荐(0) 编辑
摘要: mongodb中$where查询功能非常强大,不过效率低,这里介绍一下$where的使用方法 用java mongo driver调用 阅读全文
posted @ 2017-08-03 17:19 小小鬼 阅读(1396) 评论(0) 推荐(0) 编辑
摘要: function upload() { var formData = new FormData(document.getElementById("inputForm")); //创建xhr var xhr = new XMLHttpRequest(); var url ... 阅读全文
posted @ 2017-07-31 09:36 小小鬼 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 划线 笔记 取消 ... 阅读全文
posted @ 2017-07-21 17:33 小小鬼 阅读(804) 评论(0) 推荐(0) 编辑
摘要: function setClipboardText(event){ event.preventDefault(); var node = document.createElement('div'); node.innerHTML= window.getSelection(0).toString(); var result = window.getS... 阅读全文
posted @ 2017-07-21 09:32 小小鬼 阅读(4118) 评论(0) 推荐(1) 编辑
摘要: 分解mp4 为m3u8 每10秒一短视频 264视频编码 aac音频编码 ffmpeg -i f:/input.mp4 -hls_time 10 -hls_list_size 0 -c:v libx264 -c:a aac -strict -2 -f hls f:/output/output.m3u 阅读全文
posted @ 2017-07-20 17:18 小小鬼 阅读(198) 评论(0) 推荐(0) 编辑