上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 77 下一页
摘要: import osll=os.listdir(".")c=0for f in ll: c=c+1 os.rename(f,str(c)+".jpg") 阅读全文
posted @ 2017-01-19 14:18 ahuo 阅读(322) 评论(0) 推荐(0)
摘要: rename 's/abc/xyz/' * 把包含abc的文件名,替换为xyz 阅读全文
posted @ 2017-01-17 13:37 ahuo 阅读(427) 评论(0) 推荐(0)
摘要: plt.figure(figsize=(64,64)) 每次都有创建新的,否则会覆盖 plt.subplot(121) plt.imshow(img,'gray') plt.title('original') 阅读全文
posted @ 2017-01-17 10:24 ahuo 阅读(844) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*-"""Created on Mon Mar 7 10:53:40 2016 @author: root"""import urllib2import sslfrom selenium import webdriver sel=webdriver.Fire 阅读全文
posted @ 2017-01-16 12:59 ahuo 阅读(308) 评论(1) 推荐(0)
摘要: PAM(Pluggable Authentication Modules )是由Sun提出的一种认证机制。它通过提供一些动态链接库和一套统一的API,将系统提供的服务 和该服务的认证方式分开,使得系统管理员可以灵活地根据需要给不同的服务配置不同的认证方式而无需更改服务程序,同时也便于向系 统中添加新 阅读全文
posted @ 2017-01-03 12:19 ahuo 阅读(1228) 评论(0) 推荐(0)
摘要: 1.物理机安装显卡驱动 2.安装nvidia-docker wget -P /tmp https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.0-rc.3/nvidia-docker_1.0.0.rc.3-1_amd64.debs 阅读全文
posted @ 2016-12-20 10:07 ahuo 阅读(3157) 评论(1) 推荐(0)
摘要: apt-get install pciutils 阅读全文
posted @ 2016-12-15 17:23 ahuo 阅读(622) 评论(0) 推荐(0)
摘要: ln -s /dev/null /dev/raw1394 阅读全文
posted @ 2016-12-08 10:15 ahuo 阅读(912) 评论(0) 推荐(0)
摘要: c.bat 放到目录中运行 阅读全文
posted @ 2016-12-07 16:32 ahuo 阅读(227) 评论(0) 推荐(0)
摘要: 安装 wget -qO- https://get.docker.com/ | sh 下载镜像 docker pull nvidia/digits 运行 docker run -it nvidia/digits bash docker start 容器 docker attach 容器 保存镜像 do 阅读全文
posted @ 2016-12-03 21:18 ahuo 阅读(215) 评论(0) 推荐(0)
摘要: 这样就可以 生成的是LIB 工程需要设置“Is Library” 阅读全文
posted @ 2016-11-22 16:52 ahuo 阅读(569) 评论(0) 推荐(0)
摘要: adb shell pm list packages adb uninstall com.pa.pfac 阅读全文
posted @ 2016-11-22 14:40 ahuo 阅读(383) 评论(0) 推荐(0)
摘要: (X64)JDK 1.8 + AD2.0 API23(界面预览) 工程转换提示manifest错误 阅读全文
posted @ 2016-11-21 15:42 ahuo 阅读(156) 评论(0) 推荐(0)
摘要: 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 阅读(1019) 评论(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 阅读(870) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 77 下一页