摘要:
安装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 阅读全文
摘要:
import threading import Queue class Test(threading.Thread): def __init__(self, q): self.queue = q threading.Thread.__init__(self) def run(self): while True: ... 阅读全文
摘要:
WORKDIR=$(cd `dirname $0`;pwd) cd $WORKDIR 阅读全文
摘要:
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 阅读全文
摘要:
增加代码 增加pom.xml 具体内容取自http://maven.aliyun.com/nexus/#welcome mvn install后,如果需要在其他机器执行,编译出的jar包需要携带jedis-2.7.0.jar使用WinRAR打开jar包,新建lib文件夹,将jedis-2.7.0.j 阅读全文
摘要:
参考文献:https://www.cnblogs.com/melonjiang/p/5342505.html 阅读全文
摘要:
安装依赖 yum install mysql-devel 下载安装包 https://pypi.python.org/pypi/MySQL-python/1.2.5 编译安装 python setup.py build python setup.py install 阅读全文
摘要:
查看线程数 ulimit -a 修改配置文件 vim /etc/security/limits.d/90-nproc.conf 改完即可生效 参考文献:https://www.cnblogs.com/jager/p/5776655.html 阅读全文
摘要:
下载Openresty与Nginx_http_upstream_check_module https://openresty.org/cn/download.html https://github.com/yaoweibin/nginx_upstream_check_module 解压Openres 阅读全文