摘要:
因为他缺乏可视化的界面,他还在娃娃阶段,我还是捡起sqlite作为我的三把斧中的一把吧,不过redis的协议还是可以拿 来用的 阅读全文
posted @ 2012-04-08 23:10
lexus
阅读(298)
评论(0)
推荐(0)
|
摘要:
因为他缺乏可视化的界面,他还在娃娃阶段,我还是捡起sqlite作为我的三把斧中的一把吧,不过redis的协议还是可以拿 来用的 阅读全文
posted @ 2012-04-08 23:10
lexus
阅读(298)
评论(0)
推荐(0)
摘要:
Replacing Javascript using Greasemonkey.Replacing Javascript using Greasemonkey This information is provided for educational purposes only. You take all the responsibility for your use of this informa... 阅读全文
posted @ 2012-04-08 22:42
lexus
阅读(370)
评论(0)
推荐(0)
摘要:
#!/usr/bin/env python#encoding=utf-8import hashlib,md5print md5.new(file("/home/mlzboy/pycurl/examples/left_dat/doc_001.dat").read()).hexdigest()f=open("/home/mlzboy/pycurl/examples/left_dat/doc_001.d... 阅读全文
posted @ 2012-04-08 16:40
lexus
阅读(295)
评论(0)
推荐(0)
摘要:
Converting An App — South v0.7 documentationConverting An App¶Converting an app to use South is very easy:Edit your settings.py and put ‘south’ into INSTALLED_APPS (assuming you’ve installed it to the... 阅读全文
posted @ 2012-04-08 16:13
lexus
阅读(200)
评论(0)
推荐(0)
摘要:
Installation — South v0.7 documentationConfiguring your Django installation¶Now you’ve installed South system-wide, you’ll need to configure Django to use it. Doing so is simple; just edit your settin... 阅读全文
posted @ 2012-04-08 16:09
lexus
阅读(171)
评论(0)
推荐(0)
摘要:
修改Linux系统下的最大文件描述符限制 - SALogs - 专注于Linux技术、Web架构修改Linux系统下的最大文件描述符限制2010/04/30 于 16:57 Cooper 已有 2 条评论linux下最大文件描述符的限制有两个方面,一个是用户级的限制,另外一个则是系统级限制。先介绍如何修改系统级的限制通常我们通过终端连接到linux系统后执行ulimit -n 命令可以看到本次登录... 阅读全文
posted @ 2012-04-08 16:03
lexus
阅读(427)
评论(0)
推荐(0)
摘要:
Django | QuerySet API reference | Django documentationQuerySet API reference¶This document describes the details of the QuerySet API. It builds on the material presented in the model and database quer... 阅读全文
posted @ 2012-04-08 16:02
lexus
阅读(188)
评论(0)
推荐(0)
摘要:
11.6.Handling Last-Modified and ETagDive Into PythonPython from novice to proFind: 11.6.Handling Last-Modified and ETagNow that you know how to add custom HTTP headers to your web service requests, le... 阅读全文
posted @ 2012-04-08 13:38
lexus
阅读(238)
评论(0)
推荐(0)
摘要:
ETag_百度百科 ETag 求助编辑百科名片 HTTP协议规格说明定义ETag为“被请求变量的实体值”。另一种说法是,ETag是一个可以与Web资源关联的记号(token)。典型的Web资源可以一个Web页,但也可能是JSON或XML文档。服务器单独负责判断记号是什么及其含义,并在HTTP响应头中将其传送到客户端,以下是服务器端返回的格式:ETag:"50b1c1d4f775c61:df3"客户... 阅读全文
posted @ 2012-04-08 13:36
lexus
阅读(834)
评论(2)
推荐(1)
摘要:
first we need similarate a redirect server enviroment,we use bottle a simple single python wsgi server to support this casefrom bottle import route, run,redirectimport time@route('/hello/:name')def in... 阅读全文
posted @ 2012-04-08 13:22
lexus
阅读(248)
评论(0)
推荐(0)
摘要:
gcrawler - a crawler framework use gevent - Google Project Hosting一个基于gevent的爬虫框架,在一定程度上模仿了scrapy。http://blog.csdn.net/raptor/article/details/6307663 阅读全文
posted @ 2012-04-08 11:28
lexus
阅读(135)
评论(0)
推荐(0)
摘要:
curl c/c++ api接口使用例程 - Mr_Von的专栏 - 博客频道 - CSDN.NETcurl c/c++ api接口使用例程 2008-11-18 16:10 2761人阅读 评论(0) 收藏 举报先总结一下本站与curl相关的文章:linux下php扩展cURL的安装 cURL 中文用户手册(一) cURL中文用户手册(二) curl中文用户手册(三) [转帖] php cURL... 阅读全文
posted @ 2012-04-08 11:17
lexus
阅读(988)
评论(0)
推荐(0)
摘要:
python ./retriever-multi.py urls2.txt > result.txt 阅读全文
posted @ 2012-04-08 11:14
lexus
阅读(277)
评论(0)
推荐(0)
摘要:
C/C++之SQLite常用函数 - 简单的日志 - 网易博客C/C++之SQLite常用函数2010-06-03 15:43:06|分类: C/C++之SQLite |标签: |字号大中小订阅1 、打开数据库: 说明:打开一个数据库,文件名不一定要存在,如果此文件不存在, sqlite 会自动创建。第一个参数指文件名,第二个参数则是定义的 sqlite3 ** 结构体指针(关键数据结构),... 阅读全文
posted @ 2012-04-08 11:10
lexus
阅读(309)
评论(0)
推荐(0)
摘要:
Woody的技术Blog » 使用curl抓取网页遇到HTTP跳转时得到多个HTTP头部的问题使用curl抓取网页遇到HTTP跳转时得到多个HTTP头部的问题June 21st, 2011 Woody Leave a comment Go to comments在PHP的CURL扩展中,是可以通过CURL自身的设计自动处理HTTP 30X的跳转的。这个特性在使用起来很简单:$ch = curl_i... 阅读全文
posted @ 2012-04-08 11:10
lexus
阅读(463)
评论(0)
推荐(0)
摘要:
PycURL - 绝版聊神 - ITeye技术网站PycURL CC++C#PythonGmailhttp://wiki.woodpecker.org.cn/moin/zspy 代码见 http://zspy.googlecode.com 张沈鹏 zsp007@gmail.com http://zsp.iteye.com/ 2008-1-23 16:42 1. PycURL Pycurl... 阅读全文
posted @ 2012-04-08 11:09
lexus
阅读(460)
评论(0)
推荐(0)
摘要:
PycURL: CurlMulti ObjectsCurlMulti ObjectCurlMulti objects have the following methods: close() -> None Corresponds to curl_multi_cleanup() in libcurl. This method is automatically called by pycurl whe... 阅读全文
posted @ 2012-04-08 09:53
lexus
阅读(475)
评论(0)
推荐(0)
摘要:
Pycurl的简单使用与对比 - 一只橘子的异想世界Pycurl的简单使用与对比 十二月 5th, 2010标签: python,pycurl在几次莫名其妙的退出之后,我终于有点放弃urllib2,开始尝试其他的模块。看到很多人推荐wget和pycurl。wget是独立软件,所以就没考虑。pycurl的话,得益于基于c语言开发的curl性能强劲,使得普遍反映它效率快、稳定性高、功能强大。于是决定尝... 阅读全文
posted @ 2012-04-08 09:50
lexus
阅读(1663)
评论(0)
推荐(0)
摘要:
urlgrabber: A high-level cross-protocol url-grabberurlgrabberurlgrabber is a pure python package that drastically simplifies the fetching of files. It is designed to be used in programs that need com... 阅读全文
posted @ 2012-04-08 09:45
lexus
阅读(657)
评论(0)
推荐(0)
摘要:
Python PycURL 网络编程 [Python俱乐部]Python PycURL 网络编程在使用urllib的时候经常会死掉,以前debug过,是没有设置 timing out 所以超时后就会死掉。PycURL是curl的python库,虽然有些curl的功能没有实现,但是还是很强劲的。curl是非常强劲的一个工具,google内部用它来 debug GDATA API. Using cUR... 阅读全文
posted @ 2012-04-08 09:36
lexus
阅读(383)
评论(0)
推荐(0)
|