上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 78 下一页
摘要: nload eth0 -u K Device eth0 [192.168.0.33] (1/1): Incoming: Curr: 40.82 kByte/s Avg: 42.40 kByte/s Min: 28.30 kByte/s Max: 55.75 kByte/s ........ . .. 阅读全文
posted @ 2016-11-18 15:42 ahuo 阅读(1022) 评论(0) 推荐(0)
摘要: .tar 解包:tar xvf FileName.tar打包:tar cvf FileName.tar DirName(注:tar是打包,不是压缩!) .gz 解压1:gunzip FileName.gz解压2:gzip -d FileName.gz压缩:gzip FileName.tar.gz 和 阅读全文
posted @ 2016-11-16 15:30 ahuo 阅读(874) 评论(0) 推荐(0)
摘要: export NODE_PATH=/root/gearman-1.1.2/node_modulesnpm install gearmanodenpm install redisw.js var redis = require("redis"); var gearmanode = require('gearmanode'); var worker = gearmanode.worker(); /... 阅读全文
posted @ 2016-11-09 13:39 ahuo 阅读(269) 评论(0) 推荐(0)
摘要: gearman安装 apt-get install gearman gearman-server libgearman-dev 配置bindip /etc/defalut/gearman-job-server PARAMS="--listen=0.0.0.0" /etc/init.d/gearman 阅读全文
posted @ 2016-11-08 14:22 ahuo 阅读(530) 评论(0) 推荐(0)
摘要: 背景: MySQL 5.5开始新增一个数据库:PERFORMANCE_SCHEMA,主要用于收集数据库服务器性能参数。并且库里表的存储引擎均为PERFORMANCE_SCHEMA,而用户是不能创建存储引擎为PERFORMANCE_SCHEMA的表。MySQL5.5默认是关闭的,需要手动开启,在配置文 阅读全文
posted @ 2016-10-24 15:22 ahuo 阅读(332) 评论(0) 推荐(0)
摘要: wmic process list brief |findstr exe 阅读全文
posted @ 2016-10-20 10:55 ahuo 阅读(620) 评论(0) 推荐(0)
摘要: show variables like 'max_%'; show variables like 'tmp_%'; set tmp_table_size=1048576000 set max_heap_table_size=10240000000; 需要重启mysql服务才生效 set global 阅读全文
posted @ 2016-10-19 16:12 ahuo 阅读(189) 评论(0) 推荐(0)
摘要: putty.exe -adb -P 5037 transport-usb 网络调试也是可以的 先connect 再执行上面的命令 http://files.cnblogs.com/files/ahuo/putty_adb.rar 阅读全文
posted @ 2016-10-14 15:08 ahuo 阅读(558) 评论(0) 推荐(0)
摘要: 禁用时间间隔回收 设置为0 然后设置指定时间回收 0:00:00 然后设置脚本 设置计划任务 定期运行 阅读全文
posted @ 2016-09-22 00:12 ahuo 阅读(802) 评论(0) 推荐(0)
摘要: del /f/s/q dirname> nulrmdir /s/q dirname 阅读全文
posted @ 2016-09-02 14:13 ahuo 阅读(676) 评论(0) 推荐(0)
摘要: hex2string std::stringstream R; R << std::hex << 0x1254; DWORD Str2Hex(string str){ return std::stoul(str, nullptr, 16);} 阅读全文
posted @ 2016-08-31 15:55 ahuo 阅读(676) 评论(0) 推荐(0)
摘要: 备份:耗时2.5小时 ./tegraflash.py --bl cboot.bin --applet nvtboot_recovery.bin --chip 0x21 --cmd "read APP my_backup_image_APP.img" 还原:2小时 ./tegraflash.py -- 阅读全文
posted @ 2016-08-23 09:24 ahuo 阅读(264) 评论(0) 推荐(0)
摘要: 摄像头 Capture _capture = new Capture(0); _capture.SetCaptureProperty(Emgu.CV.CvEnum.CAP_PROP.CV_CAP_PROP_FPS, 30); _capture.SetCaptureProperty(Emgu.CV.C 阅读全文
posted @ 2016-08-19 13:47 ahuo 阅读(1548) 评论(0) 推荐(0)
摘要: opencv的数据处理 b1=cv2.imencode('.jpg',cv2.imread('1.jpg'))[1].data b2=cv2.imencode('.jpg',cv2.imread('3.jpg'))[1].data 文件+文本 c.setopt(c.HTTPPOST, [ ('Img 阅读全文
posted @ 2016-08-18 11:18 ahuo 阅读(1068) 评论(0) 推荐(0)
摘要: 在终端查看声卡: aplay -l 成功显示: **** PLAYBACK硬件设备列表 **** card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog] 子设备: 1/1 子设备 #0: subdevi 阅读全文
posted @ 2016-08-17 15:10 ahuo 阅读(658) 评论(0) 推荐(0)
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 78 下一页