摘要:
不知道原因何在 阅读全文
posted @ 2010-03-29 18:40
lexus
阅读(181)
评论(0)
推荐(0)
摘要:
郁闷了有半天了,不想多说了
#! usr/bin/env python
#encoding=utf8
from dreque import Dreque, DrequeWorker
import time
a=Dreque("127.0.0.1", db=None)
a=Dreque(("127.0.0.1",6379),db=10)
a.redis.flushdb()
def some_job(... 阅读全文
posted @ 2010-03-29 18:18
lexus
阅读(184)
评论(0)
推荐(0)
摘要:
我没怎么用过mysql,只在一个ssh的项目中尝试着用了一下,近来的新闻报道都分分传各大网站抛弃mysql拥抱nosql,在这里跳笑一下,就想没用vc直奔.net了,muhaha 阅读全文
posted @ 2010-03-29 10:08
lexus
阅读(226)
评论(0)
推荐(0)
摘要:
if you want to use redis master-slave schema,you only need is attatch a
.conf file,default,there is a redis.conf file as a template in redis release package,just do two step:
1)change the port(defaul... 阅读全文
posted @ 2010-03-29 09:44
lexus
阅读(450)
评论(0)
推荐(0)
摘要:
周六参加resys活动,ibm的推荐团队作了三场演讲,由于我是刚入门,只是听个大概,整个来了近80人
各方牛人都来了,阿里云,douban,amazon,taobao,hulu ==,还有一些清华,北邮的同学,
会后和coreseek,文栋,阿稳,超群等人一起聚餐,闲扯了很多it,推荐相关的事,很有意思。
周末一如既往的参加thoss的活动,这个组织去年我参加过一回,今年是一次也没遗漏,组织者fr... 阅读全文
posted @ 2010-03-29 09:43
lexus
阅读(217)
评论(0)
推荐(0)
摘要:
key不能有空格在使用redis的hash type时,如果传入的是int,取回的会是str类型i.e. if r1.hexists("wordcounts",keyword): count=r1.hget("wordcounts",keyword) print "====" print type(count) print count r1.hset("wordcounts",keyword,in... 阅读全文
posted @ 2010-03-28 11:35
lexus
阅读(205)
评论(0)
推荐(0)
摘要:
key不能有空格在使用redis的hash type时,如果传入的是int,取回的会是str类型i.e. if r1.hexists("wordcounts",keyword): count=r1.hget("wordcounts",keyword) print "====" print type(count) print count r1.hset("wordcounts",keyword,in... 阅读全文
posted @ 2010-03-28 11:30
lexus
阅读(196)
评论(0)
推荐(0)
摘要:
http://pynotes.appspot.com/static/bottle/docs.htm 阅读全文
posted @ 2010-03-28 09:54
lexus
阅读(353)
评论(0)
推荐(0)
摘要:
key不能有空格在使用redis的hash type时,如果传入的是int,取回的会是str类型i.e. if r1.hexists("wordcounts",keyword): count=r1.hget("wordcounts",keyword) print "====" print type(count) print count r1.hset("wordcounts",keyword,in... 阅读全文
posted @ 2010-03-28 09:37
lexus
阅读(194)
评论(0)
推荐(0)
摘要:
~~发现51cto,webtech.com.cn也不适合我,可能再去国外的站找找归属 阅读全文
posted @ 2010-03-27 11:11
lexus
阅读(378)
评论(0)
推荐(0)
摘要:
首先要下载freetds stable版进行手动的编译安装(不要使用sudo apt-get)1、使用命令行,切换到解压后freetds的目录下面,执行以下命令 ./configure \--prefix=/etc/freetds \--with-tdsver=8.0 \--enable-msdblib \--enable-dbmfix \--with-gnu-ld \--enable-share... 阅读全文
posted @ 2010-03-27 08:13
lexus
阅读(2327)
评论(0)
推荐(0)
摘要:
http://zhidao.baidu.com/question/100981749.html 阅读全文
posted @ 2010-03-26 21:15
lexus
阅读(265)
评论(0)
推荐(0)
摘要:
http://zhidao.baidu.com/question/100981749.html 阅读全文
posted @ 2010-03-26 09:22
lexus
阅读(210)
评论(0)
推荐(0)
摘要:
http://zhidao.baidu.com/question/100981749.html 阅读全文
posted @ 2010-03-26 09:21
lexus
阅读(234)
评论(0)
推荐(0)
摘要:
http://zhidao.baidu.com/question/100981749.html 阅读全文
posted @ 2010-03-26 07:58
lexus
阅读(256)
评论(0)
推荐(0)
摘要:
http://zhidao.baidu.com/question/100981749.html 阅读全文
posted @ 2010-03-26 07:58
lexus
阅读(162)
评论(0)
推荐(0)
摘要:
真它妈的是几经波折把这厮给搞定了。由于原先的库文件有使用上的限制,你必须重新去下载下来编译使用。另外很多配置文件的编码格式都不对,都要在linux下重新储存成gb2312格式,另外,Configuration.xml文件第一行缺空格,需要进行处理过才能在ff中正常显示 阅读全文
posted @ 2010-03-26 07:48
lexus
阅读(403)
评论(2)
推荐(0)
|