会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
程序之家
os .net vc++ asm driver wireless
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
10
11
12
13
14
15
16
17
18
···
77
下一页
2019年8月27日
mysql 后台运行命令
摘要: nohup mysql -u sa -pabcd1234 -e 'source /db.sql' &
阅读全文
posted @ 2019-08-27 23:11 ahuo
阅读(4930)
评论(0)
推荐(0)
2019年8月22日
进程退出后自动重启脚步
摘要: #!/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
阅读(469)
评论(0)
推荐(0)
2019年8月16日
Ubuntu查看crontab运行日志
摘要: 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
阅读(1888)
评论(0)
推荐(0)
判断Linux是否64位
摘要: getconf LONG_BIT 32 64
阅读全文
posted @ 2019-08-16 22:31 ahuo
阅读(951)
评论(0)
推荐(0)
2019年8月13日
修改qt版本
摘要: 安装了qt4和qt5 /usr/lib/x86_64-linux-gnu/qt-default/qtchooser 的default.conf 第一行改成自己qmake的bin路径即可
阅读全文
posted @ 2019-08-13 09:50 ahuo
阅读(841)
评论(0)
推荐(0)
2019年8月9日
树莓派桌面多了一条白边修复方法
摘要: rm -rf ~/.config/lxpanel/LXDE-pi
阅读全文
posted @ 2019-08-09 20:11 ahuo
阅读(1675)
评论(0)
推荐(0)
2019年8月7日
Linux好用的工具
摘要: 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)
2019年8月6日
qt5 qmake开发
摘要: mkdir hello helloworld.cpp 生成了Makefile make
阅读全文
posted @ 2019-08-06 10:55 ahuo
阅读(515)
评论(0)
推荐(0)
2019年8月3日
mysql 导出查询结果
摘要: 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
阅读(4200)
评论(0)
推荐(0)
2019年8月2日
qt5 源码编译
摘要: 源码 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
阅读(8050)
评论(0)
推荐(6)
2019年7月31日
列出python库的内置方法
摘要: 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
阅读(420)
评论(0)
推荐(0)
2019年7月26日
python-使用阿里云镜像加速
摘要: 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
阅读(377)
评论(0)
推荐(0)
2019年7月25日
python opencv PyQt5
摘要: 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
阅读(913)
评论(0)
推荐(0)
2019年7月10日
各大web服务器https的证书文件
摘要: 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)
2019年7月5日
mysql 常用字符串操作
摘要: 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
阅读(1455)
评论(0)
推荐(0)
上一页
1
···
10
11
12
13
14
15
16
17
18
···
77
下一页
公告