上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 77 下一页
摘要: #!/bin/sh while true; do processExist=`ps aux | grep xxx | grep -v "grep" ` if [ -z "$processExist" ];then echo "proecss is restarted" cd /MyData/xxx nohup sh xxx.sh & else echo "process is r... 阅读全文
posted @ 2019-08-22 22:38 ahuo 阅读(467) 评论(0) 推荐(0)
摘要: crontab记录日志 修改rsyslog sudo vim /etc/rsyslog.d/50-default.conf cron.* /var/log/cron.log #将cron前面的注释符去掉 重启rsyslog sudo service rsyslog restart sudo serv 阅读全文
posted @ 2019-08-16 22:34 ahuo 阅读(1879) 评论(0) 推荐(0)
摘要: getconf LONG_BIT 32 64 阅读全文
posted @ 2019-08-16 22:31 ahuo 阅读(951) 评论(0) 推荐(0)
摘要: 安装了qt4和qt5 /usr/lib/x86_64-linux-gnu/qt-default/qtchooser 的default.conf 第一行改成自己qmake的bin路径即可 阅读全文
posted @ 2019-08-13 09:50 ahuo 阅读(839) 评论(0) 推荐(0)
摘要: rm -rf ~/.config/lxpanel/LXDE-pi 阅读全文
posted @ 2019-08-09 20:11 ahuo 阅读(1674) 评论(0) 推荐(0)
摘要: ag:比grep、ack更快的递归搜索文件内容。 tig:字符模式下交互查看git项目,可以替代git命令。 mycli:mysql客户端,支持语法高亮和命令补全,效果类似ipython,可以替代mysql命令。 jq: json文件处理以及格式化显示,支持高亮,可以替换python -m json 阅读全文
posted @ 2019-08-07 10:29 ahuo 阅读(207) 评论(0) 推荐(0)
摘要: mkdir hello helloworld.cpp 生成了Makefile make 阅读全文
posted @ 2019-08-06 10:55 ahuo 阅读(513) 评论(0) 推荐(0)
摘要: show variables like '%secure%'; 看看导出位置 SELECT * FROM tb WHERE sn = '1' LIMIT 1,10into outfile '/var/lib/mysql-files/SPH.txt' 阅读全文
posted @ 2019-08-03 08:28 ahuo 阅读(4198) 评论(0) 推荐(0)
摘要: 源码 qt-everywhere-src-5.11.3 依赖 apt-get install bison build-essential gperf flex ruby python libasound2-dev libbz2-dev libcap-dev \libcups2-dev libdrm- 阅读全文
posted @ 2019-08-02 09:56 ahuo 阅读(7998) 评论(0) 推荐(6)
摘要: import cv dir(cv) ['16SC', '16UC', '32FC', '32SC', '64FC', '8SC', '8UC', 'Abs', 'AbsDiff', 'AbsDiffS', 'Acc', 'AdaptiveThreshold', 'Add', 'AddS', 'Add 阅读全文
posted @ 2019-07-31 20:41 ahuo 阅读(419) 评论(0) 推荐(0)
摘要: 1. 在当前用户根目录下建立.pip文件夹 mkdir ~/.pip2.在.pip文件夹下创建文件pip.conf,并追加内容 [global]trusted-host=mirrors.aliyun.comindex-url=http://mirrors.aliyun.com/pypi/simple 阅读全文
posted @ 2019-07-26 13:29 ahuo 阅读(351) 评论(0) 推荐(0)
摘要: 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 阅读(909) 评论(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 阅读(925) 评论(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 阅读(1452) 评论(0) 推荐(0)
摘要: a='123'b=bytearray(a)b[0]='2'a=str(b) 阅读全文
posted @ 2019-07-03 10:49 ahuo 阅读(2136) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 77 下一页