上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 78 下一页
摘要: import cv2 import numpy as np import sys from PyQt5.QtGui import * from PyQt5.QtCore import * from PyQt5.QtWidgets import * import datetime class Video(): def __init__(self, capture): s... 阅读全文
posted @ 2019-07-25 22:02 ahuo 阅读(942) 评论(0) 推荐(0)
摘要: nginx key+pem iis pfx+pfx-password.txt tomcat pfx+pfx-password.txt apache key+chain.crt+public.crt 阅读全文
posted @ 2019-07-10 14:21 ahuo 阅读(945) 评论(0) 推荐(0)
摘要: SET @L=16, @i=3;SELECT *,CONCAT( LEFT(tag2,@i-1) ,'W', RIGHT(tag2,@L-@i)) from tb_main LIMIT 1,10; 阅读全文
posted @ 2019-07-05 09:45 ahuo 阅读(1468) 评论(0) 推荐(0)
摘要: a='123'b=bytearray(a)b[0]='2'a=str(b) 阅读全文
posted @ 2019-07-03 10:49 ahuo 阅读(2157) 评论(0) 推荐(0)
摘要: pip3 install PyMySQL 阅读全文
posted @ 2019-07-02 21:13 ahuo 阅读(168) 评论(0) 推荐(0)
摘要: 显示base64图片 <image style="width: 30px; height: 30px; margin:10px;" mode="scaleToFill" src="data:image/jpg;base64,{{peers[index].picBase64}}"></image> 阅读全文
posted @ 2019-06-21 12:44 ahuo 阅读(163) 评论(0) 推荐(0)
摘要: import os for filename in os.listdir(r'.'): print filename os.rename(filename,filename.replace(' ','_')) cmd= "avconv -i "+filename.replace(' ','_') + " ./mp3/"+ filename.replace('m4a','m... 阅读全文
posted @ 2019-06-19 23:58 ahuo 阅读(747) 评论(0) 推荐(0)
摘要: 安装 libressl-2.9.2 (SSL) sudo apt-get install libffi-dev (_ctypes) ldconfig -v wget https://www.python.org/ftp/python/3.7.1/Python-3.7.1.tgz tar -zxvf 阅读全文
posted @ 2019-06-18 14:28 ahuo 阅读(517) 评论(0) 推荐(0)
摘要: getconf LONG_BIT # 查看系统位数 uname -a # kernel 版本 /opt/vc/bin/vcgencmd version # firmware版本 strings /boot/start.elf | grep VC_BUILD_ID # firmware版本 cat /proc/version # ke... 阅读全文
posted @ 2019-06-17 14:28 ahuo 阅读(1003) 评论(1) 推荐(0)
摘要: kill -9 `cat pid` nohup python3 -u webserver.py & echo $! > pid 阅读全文
posted @ 2019-06-14 17:29 ahuo 阅读(446) 评论(0) 推荐(0)
摘要: CentOs 7.X: rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm 可以安装的包yum 阅读全文
posted @ 2019-06-14 11:23 ahuo 阅读(189) 评论(0) 推荐(0)
摘要: location /faceapi/ { #default_type application/json; # return 200 '{"status":"success","result":"nginx json"}'; proxy_pass http://face.v.cn:8086... 阅读全文
posted @ 2019-06-14 10:34 ahuo 阅读(5974) 评论(0) 推荐(0)
摘要: server { listen 8808; server_name c.v.cn; location / { index index.php index.html index.htm; } error_page 404 /404.html; location ... 阅读全文
posted @ 2019-06-13 21:45 ahuo 阅读(206) 评论(0) 推荐(0)
摘要: import numpy as np from sklearn import svm X = np.array([[-1, -1], [-2, -1], [1, 1], [2, 1]]) y = np.array([1, 1, 2, 2]) clt = svm.SVC(probability = True) clt.fit(X, y) print clt.predict([[-0.8, -... 阅读全文
posted @ 2019-06-11 11:06 ahuo 阅读(5189) 评论(0) 推荐(0)
摘要: MyIASM可以直接拷贝过去,就可以完成备份的还原 执行导出表空间sql:ALTER TABLE table_name DISCARD TABLESPACE; 把所有表空间导出,table_name换成需要导出的表,执行后数据库会删除table_name.ibd文件,从原数据库中拷贝table_na 阅读全文
posted @ 2019-06-06 15:01 ahuo 阅读(1046) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 78 下一页