1.往往在逃避命运的路上,却与之不期而遇。 One meets its destiny on the road he takes to avoid it. 2.你的思想就如同水,我的朋友,当水波摇曳时,很难看清,不过当它平静下来,答案就清澈见底了。 Your mind is like this water, my friend, when it is agitated, it becomes difficult to see, but if you allow it to settle, the answer becomes clear. 3.退出,不退出。做面条,不做面条。 Quit d ...
2008-06-20

Mac下使用django的ImageField是出错?

关键字: mac python django pil
使用django的models: class User(models.Model): headpic = models.ImageField(upload_to="local_path") .... 执行validate时,报一下错误: "headpic": To use ImageFields, you need to install the Python Imaging Library. Get it at http://www.pythonware.com/products/pil/ . 缺少PIL. 解决办法: downloading P ...
2008-06-18

Firefox 3发布挑战IE、Safari

关键字: mozilla 浏览器 gecko_1.9
北京时间6月18日(三)凌晨一点,Mozilla基金会发布新版Firefox3.0。 为配合firefox 3的发布Mozilla在全球范围内推出2008firefox下载日,来冲击当日下载的吉尼斯纪录。 据国外媒体报道称,网络应用公司(Net Applications)公布的资料显示,Firefox的全球市场份额超过了18%。通过发布Firefox 3,Mozilla的下载量和市场份额将得到进一步提升。微软要到今年晚些时候才会发布新版IE。 Mozilla表示,其结果是Firefox 3将会更安全、更容易使用、可定制性更高,为网站和Firefox插件开发人员提供了更大的发挥余地。 Fi ...
2008-06-01

sphinx中文全文检索的实现

关键字: sphinx 中文 全文检索
首先以下是配置文件: 引用 source cv { type = mysql sql_host = localhost sql_user = root sql_pass = passwod sql_db = database sql_query_pre= SET NAMES utf8 sql_query = \ SELECT id, title, introtext,unix_timestamp(created) as addtime \ FROM jos_content sql_attr_timestamp = addtime sql_ranged_throttle = 0 } index ...
2008-06-01

用 PHP 构建自定义搜索引擎

关键字: php 全文检索 sphinx
详细请参考: http://www-128.ibm.com/developerworks/cn/opensource/os-php-sphinxsearch/
purpen
搜索本博客
我的相册
094c3b62-6dc1-3fe7-b0e9-ea18ca4a5b75-thumb
谷歌音乐搜索
共 8 张
存档
最新评论