上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 76 下一页
摘要: kill -9 `cat pid` nohup python3 -u webserver.py & echo $! > pid 阅读全文
posted @ 2019-06-14 17:29 ahuo 阅读(414) 评论(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 阅读(146) 评论(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 阅读(5937) 评论(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 阅读(182) 评论(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 阅读(5130) 评论(0) 推荐(0) 编辑
摘要: MyIASM可以直接拷贝过去,就可以完成备份的还原 执行导出表空间sql:ALTER TABLE table_name DISCARD TABLESPACE; 把所有表空间导出,table_name换成需要导出的表,执行后数据库会删除table_name.ibd文件,从原数据库中拷贝table_na 阅读全文
posted @ 2019-06-06 15:01 ahuo 阅读(964) 评论(0) 推荐(0) 编辑
摘要: /etc/lightdm/lightdm.conf.d/50-nvidia.conf 阅读全文
posted @ 2019-06-06 14:34 ahuo 阅读(1603) 评论(0) 推荐(0) 编辑
摘要: 查看位置: show variables like '%datadir%'; /var/lib/mysql 阅读全文
posted @ 2019-06-05 15:11 ahuo 阅读(161) 评论(0) 推荐(0) 编辑
摘要: python3.7安装后提示 No module named 'lsb_release' 修改"/usr/bin/lsb_release" #!/usr/bin/python3.5m -Es 阅读全文
posted @ 2019-06-05 14:54 ahuo 阅读(2422) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-06-04 23:30 ahuo 阅读(234) 评论(0) 推荐(0) 编辑
摘要: make LibreSSL 2.6.4 and earlier do not provide the necessary APIs /root/Python-3.7.0/build/lib.linux-armv7l-3.7 _ssl.cpython-37m-arm-linux-gnueabihf_f 阅读全文
posted @ 2019-06-04 14:23 ahuo 阅读(495) 评论(0) 推荐(0) 编辑
摘要: tar xzf $INPUT_FOLDER/archive.tar.gz --no-same-owner -C /mnt/test-nas/ 阅读全文
posted @ 2019-06-04 09:39 ahuo 阅读(480) 评论(0) 推荐(0) 编辑
摘要: bluetoothd -v 进入:bluetoothctl 阅读全文
posted @ 2019-05-31 09:43 ahuo 阅读(427) 评论(0) 推荐(0) 编辑
摘要: import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(26, GPIO.OUT) p = GPIO.PWM(26, 100) #100 是频率 p.start(10) # p.start(dc) dc 代表占空比 0.0 ~ 100.0 try: while 1: ... 阅读全文
posted @ 2019-05-30 14:06 ahuo 阅读(1021) 评论(0) 推荐(0) 编辑
摘要: 按照下面的命令点亮及熄灭LED pi@raspberrypi:/sys/class/gpio $echo 26 > exportpi@raspberrypi:/sys/class/gpio $ cd gpio26pi@raspberrypi:/sys/class/gpio/gpio26 $ lsac 阅读全文
posted @ 2019-05-29 22:13 ahuo 阅读(183) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 76 下一页