-
我就是个世界 2011-11-18
LuManager忘记mysql的root用户密码怎么办?
首先看你的LuManager是否还能运行, 如果运行正常,可以在/usr/local/LuManager/Conf/config.php设置里看到。。直接找回!如果LuManager不能运行,或者报错:[code]Access denied for user 'root'@'localhost' (using password: YES)[/code]那么需要执行以下操作,重置root密码:[separator][code]#停止mys...
-
我就是个世界 2011-11-17
IE HACK - CSS布局参考IE的If条件注释
[code] 1. <!--[if !IE]><!--> 除IE外都可识别 <!--<![endif]--> 2. <!--[if IE]> 所有的IE可识别 <![endif]--> 3. <!--[if IE 5.0]> 只有IE5.0可以识别...
-
Ubuntu11.10安装了Poedit之后,编辑PO文件保存的时候总是报错如下:[code]msgfmt: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/libgettextlib-0.18.1.so)msgfmt: /usr/local/lib/libxml2.so.2: no version information available (requir...
-
我就是个世界 2011-11-13
在Django中通过Gmail发送电子邮件
While I was learning how to use django-registration app, I discover in the tutorial that I need to know how to send an email for the user to activate the registration.我找到了这个指南,教我学习如何去使用 django-registration app,如何为用户发送电子邮件,以激活注册。Thanks to fo...
-
我就是个世界 2011-11-13
Mysql命令行学习
1、mysql服务的启动和停止net stop mysqlnet start mysql2、登陆mysql语法如下: mysql -u用户名 -p用户密码键入命令mysql -uroot -p, 回车后提示你输入密码,输入12345,然后回车即可进入到mysql中了,mysql的提示符是:mysql˃注意,如果是连接到另外的机器上,则需要加入一个参数-h机器IP[separator]3、增加新用户格式:grant 权限 on 数据库.* to 用户名@登录主机 identif...
-
我就是个世界 2011-11-12
Ubuntu 11.10 Gedit中文乱码解决办法
Gedit中文乱码问题已经困扰我好久了,之前的解决方案都是在gconf-editor的/apps/gedit-2/preferences/encodings接点添加GB18030,请看这里:[url=http://www.husw.net/blog/ubuntu-gedit-solutions-for-the-chinese-garbled/]Ubuntu下Gedit中文乱码的解决方法 [/url]但是我升级到Ubuntu11.10后发现已经没有/apps/gedit-2/p...
-
我就是个世界 2011-11-12
Ubuntu 11.10编译安装mysql-5.5.17
Ubuntu 11.10软件中心默认安装的MySQL始终不成功,而且其版本比较低5.1的版本,目前MySQL的版本是5.5.17,然后想卸载,居然卸载不完全,后来才找到卸载的方法:删除 mysql[code]sudo apt-get autoremove --purge mysql-server-5.1sudo apt-get remove mysql-serversudo apt-get autoremove mysql-serversudo apt-get remove...
-
我就是个世界 2011-11-09
linux 如何释放被占用的端口?
linux 如何释放被占用的端口?使用[code]lsof –i:8000中的8000为被占用的socket端口号。kill -9 7424中的7424为lsof命令显示的pid列的值,即进程号。[/code]执行后可正常启动服务。...
-
我就是个世界 2011-11-08
标签语义化-书之解释[转]
一篇很基础,很有用的HTML5前端重构入门教程!来源:[url=http://www.laozhuhome.com/html/semantic-by-book]LaoZhuHome Beta 前端笔记[/url]每一个从事前端开发的童鞋估计都知道结构(Structure)、表现(Presentation)和行为(Behavior)这三个词语意味着什么,这里我先只针对结构这一块拿出来说说。结构(Structure),顾名思义就是网页的框架,一个良好的框架可以很方便的创造出一个优...
-
我就是个世界 2011-11-03
django-imagekit ImageKit 1.0.1中文文档翻译
django-imagekit介绍Automates image processing for Django models. Resize, process and cache multiple versions of your image files. Access newly created files with a standard API. Supports alternate storage schemes such as Amazon S3.自动化图像处理为Dja...