上一页 1 ··· 7 8 9 10 11 12 13 14 下一页
摘要: ubuntu12.04 输入密码正确,但仍然跳回到登陆界面,实在受不了啊!不知道bug再哪里,但是有个方法真是屡试不爽啊。。ctrl+alt+f1切换到字符界面/home/xxx/.Xauthorityls -a查看隐藏文件然后看到主目录(非root用户)下有.Xauthority(这货是root所有,属root组).Xauthority-c.Xauthority-l直接删了上面三个文件,reboot。。。。http://www.xue5.com/Windows/ubuntu/638840.html 阅读全文
posted @ 2013-08-07 18:47 peterpanzsy 阅读(1804) 评论(0) 推荐(0) 编辑
摘要: http://hi.baidu.com/gavensun_wang/item/c93636be34ef4c56ba0e12cbPython中实现MD5加密是通过hashlib完成的。在演示之前,我们先创建一段文本作为加密数据。如下所示: hashlib_data.py#--encoding='utf-8'--import hashliblorem=""" Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donecegestas, enim et consectetuer ullam 阅读全文
posted @ 2013-05-26 20:04 peterpanzsy 阅读(589) 评论(0) 推荐(0) 编辑
摘要: 用命令创建MySQL数据库http://www.sudu.cn/service/detail.php?id=11443#6d 环境变量设置: 我的电脑->属性->高级->环境变量 选择PATH,在其后面添加: 你的mysql文件夹路径/bin (如:D:\Program Files\MySQL\My 阅读全文
posted @ 2013-05-20 21:35 peterpanzsy 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 1 ''' 2 Created on 2013-1-29 3 4 @author: zsy 5 ''' 6 import os.path 7 import time 8 import smtplib 9 from email.mime.text import MIMEText 10 from email.mime.multipart import MIMEMultipart 11 from email.mime.audio import MIMEAudio 12 13 class Scanner(): 14 def isExists(self,s 阅读全文
posted @ 2013-05-18 10:04 peterpanzsy 阅读(800) 评论(0) 推荐(1) 编辑
摘要: http://blog.chinaunix.net/uid-233544-id-3129307.htmlhttps://github.com/rvoicilas/inotify-tools/wiki环境debian5 内核版本:# uname -aLinux botnet 2.6.26-2-amd64 #1 SMP Tue Mar 9 17:12:23 UTC 2010 x86_64 GNU/Linux安装:apt-get install inotify-tools终端执行命令:inotifywait -m -r --timefmt '%d%m%y %H:%M:%S' --fo 阅读全文
posted @ 2013-05-18 09:51 peterpanzsy 阅读(1413) 评论(0) 推荐(0) 编辑
摘要: 删除带括号的会报错:在括号前加\ , 问题解决。 阅读全文
posted @ 2013-05-18 09:22 peterpanzsy 阅读(1898) 评论(0) 推荐(0) 编辑
摘要: crontab -e加入:第一个每天12点执行。第二个每周日的零点执行。--------------------------------------------------------------------------------------------------分割线------------------------------------------------------------------------------------------------------------http://blog.csdn.net/tianlesoftware/article/details/531 阅读全文
posted @ 2013-05-17 15:38 peterpanzsy 阅读(314) 评论(0) 推荐(0) 编辑
摘要: http://elf8848.iteye.com/blog/640964http://elf8848.iteye.com/blog/275823struts2.xml配置:1 <action name="ExportDB" class="edu.xjtu.sei.xxxx.action.DBManager.ExportDBAction">2 <result name="success" type="stream">3 <param name="contentType" 阅读全文
posted @ 2013-05-16 10:03 peterpanzsy 阅读(490) 评论(0) 推荐(0) 编辑
摘要: http://www.xsdou.com/1451.html 各种环境下的配置http://blog.rimuhosting.com/2011/05/03/mod_flvx-flv-movies-working-with-apacheapache2/http://www.gnutoolbox.com/mod_flvx/http://www.ckplayer.com/view.php?id=82http://zhumeng8337797.blog.163.com/blog/static/10076891420121255441445/apache下配置flv拖动环境:debian apache2 阅读全文
posted @ 2013-05-14 21:16 peterpanzsy 阅读(1479) 评论(0) 推荐(0) 编辑
摘要: 关于mysql编码问题的设置:http://www.2cto.com/database/201108/101151.html问题简述:环境:linuxmysql编码设置:终端插入中文,然后查看,不乱。phpmyadmin插入中文,然后查看,不乱。php连接 设置mysql_query("SET NAMES UTF8"),查看,由终端或phpmyadmin插入的都不乱。唯一乱的是c++写进去的中文,全变乱码了。解决:c++里面数据库连接完了,加上还不行,为啥呢?右键清空项目,再重新编译执行,不乱码了。所以以后debug的时候记得清空项目后重新编译。 阅读全文
posted @ 2013-05-13 08:39 peterpanzsy 阅读(2294) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 下一页