上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页
摘要: 安装golang rpm -ivh http://ftp.riken.jp/Linux/fedora/epel/6/i386/epel-release-6-8.noarch.rpm cd /etc/yum.repos.d wget http://www.hop5.in/yum/el6/hop5.re 阅读全文
posted @ 2018-04-25 10:55 jhc888007 阅读(146) 评论(0) 推荐(0) 编辑
摘要: import threading import Queue class Test(threading.Thread): def __init__(self, q): self.queue = q threading.Thread.__init__(self) def run(self): while True: ... 阅读全文
posted @ 2018-04-24 18:34 jhc888007 阅读(109) 评论(0) 推荐(0) 编辑
摘要: WORKDIR=$(cd `dirname $0`;pwd) cd $WORKDIR 阅读全文
posted @ 2018-04-23 10:49 jhc888007 阅读(176) 评论(0) 推荐(0) 编辑
摘要: ffmpeg -y -i wh01.mp4 -vf "scale=trunc((326*a)/2)*2:326" result/temp.mp4ffmpeg -y -i result/temp.mp4 -vf pad=580:326:0:(580-iw)/2:black result/wh01.mp 阅读全文
posted @ 2018-04-04 16:21 jhc888007 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 增加代码 增加pom.xml 具体内容取自http://maven.aliyun.com/nexus/#welcome mvn install后,如果需要在其他机器执行,编译出的jar包需要携带jedis-2.7.0.jar使用WinRAR打开jar包,新建lib文件夹,将jedis-2.7.0.j 阅读全文
posted @ 2018-03-20 18:30 jhc888007 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 参考文献:https://www.cnblogs.com/melonjiang/p/5342505.html 阅读全文
posted @ 2018-03-15 21:03 jhc888007 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 安装依赖 yum install mysql-devel 下载安装包 https://pypi.python.org/pypi/MySQL-python/1.2.5 编译安装 python setup.py build python setup.py install 阅读全文
posted @ 2018-03-15 21:02 jhc888007 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 查看线程数 ulimit -a 修改配置文件 vim /etc/security/limits.d/90-nproc.conf 改完即可生效 参考文献:https://www.cnblogs.com/jager/p/5776655.html 阅读全文
posted @ 2018-03-15 14:23 jhc888007 阅读(900) 评论(0) 推荐(0) 编辑
摘要: 下载Openresty与Nginx_http_upstream_check_module https://openresty.org/cn/download.html https://github.com/yaoweibin/nginx_upstream_check_module 解压Openres 阅读全文
posted @ 2018-03-07 16:21 jhc888007 阅读(763) 评论(0) 推荐(0) 编辑
摘要: 配置文件: HASHMAP: 100万条,文本共约100MB,单条写用时约180s,多条合并写约30s,单条读约150s,数据库占用空间130MB 字符串拼接成K-V: 100万条拼接为约3万条,文本共约50MB,单条写约18s,多条合并写约1s,单条读约12s,数据库占用空间70MB 阅读全文
posted @ 2018-02-09 09:25 jhc888007 阅读(214) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页