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-
阅读全文
摘要:import osll=os.listdir(".")c=0for f in ll: c=c+1 os.rename(f,str(c)+".jpg")
阅读全文
摘要:rename 's/abc/xyz/' * 把包含abc的文件名,替换为xyz
阅读全文
摘要:plt.figure(figsize=(64,64)) 每次都有创建新的,否则会覆盖 plt.subplot(121) plt.imshow(img,'gray') plt.title('original')
阅读全文
摘要:# -*- coding: utf-8 -*-"""Created on Mon Mar 7 10:53:40 2016 @author: root"""import urllib2import sslfrom selenium import webdriver sel=webdriver.Fire
阅读全文
摘要:PAM(Pluggable Authentication Modules )是由Sun提出的一种认证机制。它通过提供一些动态链接库和一套统一的API,将系统提供的服务 和该服务的认证方式分开,使得系统管理员可以灵活地根据需要给不同的服务配置不同的认证方式而无需更改服务程序,同时也便于向系 统中添加新
阅读全文