2008/06
19
2008/06
15
原文: 40 signs you really are a lousy PHP programmer
很欣慰,我能在我身上看到的,仅有2条:
8. don't use test-driven development [YE, I AM SORRY. I love test-driven development. Before using, it is need a heavy refactor for the whole project. So, I am not using test-driven ]
29. don't have one single configuration file [Why I need it? I use separate configure file into db configure, form configure, const configure, path configure and other configure. I think it is beeter than one single file. ]
很欣慰,我能在我身上看到的,仅有2条:
8. don't use test-driven development [YE, I AM SORRY. I love test-driven development. Before using, it is need a heavy refactor for the whole project. So, I am not using test-driven ]
29. don't have one single configuration file [Why I need it? I use separate configure file into db configure, form configure, const configure, path configure and other configure. I think it is beeter than one single file. ]
Defined tags for this entry: php
Last modified on 2008-07-22 00:29
2008/06
15
- 专门为图片显示设计的,基于Prototype && sciptaculous. 重量级。但的确很好用
- 基于 prototype,只用于图片。
Lightbox Gone Wild - modal 模式窗口的 lightbox,可使用 html、表单及图片,基于 prototype 的,重量级。
Thickbox - 基于 jQuery,支持 AJAX,轻量级,高效。可以显示图片或 HTML。
GreyBox - 可使用图片、HTML 及 URL,大小约为 20k。创建 iframe 的弹出界面,对于adsense投放着来说,很使用。
GreyBox Redux - 基于 jQuery,比 GreyBox 更轻。
Multi-faceted LIghtbox - 基于 prototype
Lightbox Plus - 可以自动根据窗口的大小缩放图片。
- 基于 prototype,只用于图片。
Lightbox Gone Wild - modal 模式窗口的 lightbox,可使用 html、表单及图片,基于 prototype 的,重量级。
Thickbox - 基于 jQuery,支持 AJAX,轻量级,高效。可以显示图片或 HTML。
GreyBox - 可使用图片、HTML 及 URL,大小约为 20k。创建 iframe 的弹出界面,对于adsense投放着来说,很使用。
GreyBox Redux - 基于 jQuery,比 GreyBox 更轻。
Multi-faceted LIghtbox - 基于 prototype
Lightbox Plus - 可以自动根据窗口的大小缩放图片。
Defined tags for this entry: javascript
Not modified
2008/06
4
sudo ntpdate asia.pool.ntp.org #asia.pool.ntp.org 为可用的time服务器
当然,你可以把改语句加入到crontab中,需要root权限。
Defined tags for this entry: Linux
Not modified
2008/06
2
关于Redhat
Redhat是一个老牌的Linux系统,国内,乃至是全世界的Linux用户所最熟悉、最耳闻能详的发行版想必就是Red Hat了。到目前,还是有不少人认为,Linux即Redhat。
Red Hat最早由Bob Young和Marc Ewing在1995年创建。而公司在最近才开始真正步入盈利时代,归功于收费的Red Hat Enterprise Linux(RHEL,Red Hat的企业版)。而正统的Red Hat版本早已停止技术支持,最后一版是Red Hat 9.0。于是,目前Red Hat分为两个系列:由Red Hat公司提供收费技术支持和更新的Red Hat Enterprise Linux,以及由社区开发的免费的Fedora Core。Fedora Core 1发布于2003年年末,而FC的定位便是桌面用户。FC提供了最新的软件包,同时,它的版本更新周期也非常短,仅六个月。目前最新版本为Fedora Core 9。
服务器上一般不推荐采用Fedora Core。Fedora在Redhat中的地位是一个实验版本,拿用户做测试,为RHEL做基础。
适用于服务器的版本是Red Hat Enterprise Linux,而由于这是个收费的操作系统。于是,国内外许多企业或空间商选择CentOS。CentOS可以算是RHEL的克隆版,但它最大的好处是免费!
优点:拥有数量庞大的用户,优秀的社区技术支持,许多创新
软件包管理系统:up2date (RPM), YUM (RPM)
使用评价
在前几年,和许多人一样,Redhat是我使用的第一个Linux系统。由于对系统的陌生,我创造了在“五一”7天长假内,我重装过Redhat 十次的记录。当然也说明Redhat当年并不是很人性化。
Redhat在默认的行为设置上,是正统的Gnome操作习惯,刚从Windows转移过来的人会很不习惯。
目前,其实更应该去讨论 Red Hat Enterprise Linux, CentOS, 或者Fedora。 传统的Redhat 发行版可以说已经死亡,虽然,很多老掉牙的服务器上还会在你的机器上安装RH9。
在05年,我也抛弃了对Redhat的使用,升级到了FC4. 虽然说,RH可以无文件损伤的安全升级到FC4,但是升级过程非常艰难。大约花了4个多小时才升级完毕。升级途中那个后悔啊,又不敢停,郁闷的很。所以,建议在RH的升级过程中,不要选择直接升级了,备份好数据,做新FC的全新安装更简单更快。
更多
官方主页:http://www.redhat.com/
Defined tags for this entry: Linux
Last modified on 2008-06-02 02:47
2008/06
1
Fedora是什么, What is Fedora
The Fedora Project is a Red Hat sponsored and community supported open source project. Its goal is the rapid progress of free and open source software and content. The Fedora Project makes use of public forums, open processes, rapid innovation, meritocracy, and transparency in pursuit of the best operating system and platform that free and open source software can provide.
Fedora 项目是由 Red Hat 和社群支持的开源项目。它的目标在于快速推进自由开源软件和开源内容。Fedora 项目利用公共论坛,开放的流程,快速的革新,英明的管理以及高度的透明来完成一个完全由自由开源的软件构成的完美的操作系统和平台。
使用评价
Fodora 是一个很酷的Linux系统。在用户使用,功能上都做的很出色。用户体验也很符合其公开,快速的口号。
但是,Fodora非常臃肿,速度非常慢。这是我没用使用他的唯一重要理由
另一个理由是我没有找到一个很好的中国镜像进行系统更新。
更多
Fodora官方网站: http://fedoraproject.org/
Defined tags for this entry: Linux
Last modified on 2008-06-02 02:44













