01 2017 档案

摘要:apache2sudo apt-get install apache2 phpsudo apt-get install libapache2-mod-php5 php5 php5-gd php5-mysqlsudo /etc/init.d/apache2 restart mysqlsudo apt- 阅读全文
posted @ 2017-01-31 21:32 ahuo 阅读(251) 评论(0) 推荐(0) 编辑
摘要: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 阅读(308) 评论(0) 推荐(0) 编辑
摘要:rename 's/abc/xyz/' * 把包含abc的文件名,替换为xyz 阅读全文
posted @ 2017-01-17 13:37 ahuo 阅读(407) 评论(0) 推荐(0) 编辑
摘要:plt.figure(figsize=(64,64)) 每次都有创建新的,否则会覆盖 plt.subplot(121) plt.imshow(img,'gray') plt.title('original') 阅读全文
posted @ 2017-01-17 10:24 ahuo 阅读(833) 评论(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 阅读(284) 评论(1) 推荐(0) 编辑
摘要:PAM(Pluggable Authentication Modules )是由Sun提出的一种认证机制。它通过提供一些动态链接库和一套统一的API,将系统提供的服务 和该服务的认证方式分开,使得系统管理员可以灵活地根据需要给不同的服务配置不同的认证方式而无需更改服务程序,同时也便于向系 统中添加新 阅读全文
posted @ 2017-01-03 12:19 ahuo 阅读(1089) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示