会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
程序之家
os .net vc++ asm driver wireless
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
24
25
26
27
28
29
30
31
32
···
78
下一页
2016年4月11日
安卓下查看kmsg内核日志
摘要: cat /proc/kmsg <6>[ 2601.360] c0@A7 lm3695_early_suspend 247<6>[ 2601.380] c1@A7 gp2ap_early_suspend: enabled_sensors = 0<6>[ 2601.516] c1@A7 disable
阅读全文
posted @ 2016-04-11 09:46 ahuo
阅读(2507)
评论(0)
推荐(0)
2016年4月7日
激活函数
摘要:
阅读全文
posted @ 2016-04-07 16:51 ahuo
阅读(154)
评论(0)
推荐(0)
2016年4月1日
Python kmean
摘要: # -*- coding: utf-8 -*-from sklearn.cluster import KMeansfrom sklearn.externals import joblibimport numpyfeature =numpy.random.rand(40,20)#调用kmeans类cl
阅读全文
posted @ 2016-04-01 17:33 ahuo
阅读(458)
评论(0)
推荐(0)
numpy
摘要: random numpy.random.rand(3,2) 内存操作 numpy.getbuffer() numpy.frombuffer() list to npy numpy.fromiter(llb,np.int)
阅读全文
posted @ 2016-04-01 17:16 ahuo
阅读(272)
评论(0)
推荐(0)
HostMonitor监控主机状态
摘要: HostMonitor 可以对windows和linux下的主机进行很多信息的监控,还提供web方式查看
阅读全文
posted @ 2016-04-01 09:36 ahuo
阅读(1368)
评论(0)
推荐(0)
2016年3月22日
ubuntu MySQL安装和设置
摘要: 1. apt-get install mysql-server 2. apt-get isntall mysql-client 修改 /etc/mysql/my.cnf #bind-address = 127.0.0.1 本地登录 mysql -u root -p grant all on *.*
阅读全文
posted @ 2016-03-22 09:31 ahuo
阅读(263)
评论(0)
推荐(0)
2016年3月16日
Python Post img
摘要: from poster.encode import multipart_encode from poster.streaminghttp import register_openers import urllib2 register_openers() #datagen, headers = multipart_encode({"Img": open("1.jpg", "rb")}) #re...
阅读全文
posted @ 2016-03-16 16:45 ahuo
阅读(582)
评论(0)
推荐(0)
2016年3月7日
python urlopen SSL: CERTIFICATE_VERIFY_FAILED
摘要: 1.使用ssl创建未经验证的上下文,在urlopen中传入上下文参数 import sslimport urllib2 context = ssl._create_unverified_context()print urllib2.urlopen("https://www.12306.cn/", c
阅读全文
posted @ 2016-03-07 11:08 ahuo
阅读(2037)
评论(0)
推荐(0)
2016年3月2日
linux 复制目录结构,但不复制文件
摘要: find src -type d | sed 's/src/mkdir -p dst/'|sh
阅读全文
posted @ 2016-03-02 11:14 ahuo
阅读(1218)
评论(0)
推荐(0)
2016年2月25日
python 查看模块的存放位置
摘要: 执行 dlib.__file__ 输出 '/anaconda2/lib/python2.7/site-packages/dlib/__init__.pyc'
阅读全文
posted @ 2016-02-25 11:04 ahuo
阅读(1509)
评论(0)
推荐(0)
2016年1月12日
Couldn't import dot_parser
摘要: 解决方案:pip install pydot2
阅读全文
posted @ 2016-01-12 09:37 ahuo
阅读(359)
评论(0)
推荐(0)
2016年1月8日
python文件目录操作
摘要: 一、python中对文件、文件夹操作时经常用到的os模块和shutil模块常用方法。1.得到当前工作目录,即当前Python脚本工作的目录路径: os.getcwd()2.返回指定目录下的所有文件和目录名:os.listdir()3.函数用来删除一个文件:os.remove()4.删除多个目录:os...
阅读全文
posted @ 2016-01-08 09:03 ahuo
阅读(1834)
评论(1)
推荐(0)
2015年12月31日
linux usb信息查看与调试
摘要: lsusbcat /sys/kernel/debug/usb/devicesT: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2B: Alloc= 17/900 us ( 2%), #Int= 1, #Iso= 0D: Ver=...
阅读全文
posted @ 2015-12-31 13:59 ahuo
阅读(2271)
评论(0)
推荐(0)
2015年12月30日
ubuntu 常用配置
摘要: root 登录sudo gedit /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf加:greeter-show-manual-login=true设置密码:sudo passwd root右键在当前位置打开终端sudo apt-get install...
阅读全文
posted @ 2015-12-30 10:25 ahuo
阅读(304)
评论(0)
推荐(0)
2015年12月25日
numpy转换
摘要: csv2npycccsv=numpy.genfromtxt('/root/c.csv', delimiter = ',')buf2npyimga=numpy.frombuffer(buf,numpy.uint8)
阅读全文
posted @ 2015-12-25 08:59 ahuo
阅读(412)
评论(0)
推荐(0)
上一页
1
···
24
25
26
27
28
29
30
31
32
···
78
下一页
公告