上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 76 下一页
摘要: ag:比grep、ack更快的递归搜索文件内容。 tig:字符模式下交互查看git项目,可以替代git命令。 mycli:mysql客户端,支持语法高亮和命令补全,效果类似ipython,可以替代mysql命令。 jq: json文件处理以及格式化显示,支持高亮,可以替换python -m json 阅读全文
posted @ 2019-08-07 10:29 ahuo 阅读(194) 评论(0) 推荐(0) 编辑
摘要: mkdir hello helloworld.cpp 生成了Makefile make 阅读全文
posted @ 2019-08-06 10:55 ahuo 阅读(499) 评论(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 阅读(4188) 评论(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 阅读(7323) 评论(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 阅读(407) 评论(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 阅读(333) 评论(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 阅读(883) 评论(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 阅读(887) 评论(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 阅读(1435) 评论(0) 推荐(0) 编辑
摘要: a='123'b=bytearray(a)b[0]='2'a=str(b) 阅读全文
posted @ 2019-07-03 10:49 ahuo 阅读(2123) 评论(0) 推荐(0) 编辑
摘要: pip3 install PyMySQL 阅读全文
posted @ 2019-07-02 21:13 ahuo 阅读(132) 评论(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 阅读(141) 评论(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 阅读(712) 评论(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 阅读(475) 评论(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 阅读(968) 评论(1) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 76 下一页