1 import sys 2 import multiprocessing 3 import re 4 import os 5 import urllib.request as lib 6 7 def craw_links( url,depth,keyword,processed): 8 ''' u... ...
分类:
编程语言 时间:
2017-06-29 23:58:02
阅读次数:
440
//场景是使用在多个数据库之间的协调,.NET 2.0使用一个新的类型 TransactionScope来进行协调,这与之前的COM+协调是相对来说更加方便的 //需要引用一个新的程序集:System.Transactions//需要特别注意一个地方,TransactionScope默认使用的事务隔 ...
分类:
其他好文 时间:
2017-06-29 22:21:29
阅读次数:
191
从Python 2.4开始,Python引入subprocess模块来管理子进程,以取代一些旧模块的方法:如 os.system、os.spawn*、os.popen*、popen2.*、commands.*不但可以调用外部的命令作为子进程,而且可以连接到子进程的input/output/error ...
分类:
编程语言 时间:
2017-06-29 22:08:06
阅读次数:
194
Rman(物理备份) Rman -recover manager Rman 备份的对象 数据文件 数据文件 (Data File) 控制文件 控制文件 (Control File) 参数文件 参数文件 (Spfile/Pfile) 归档文件 归档文件 不能备份在线日志 Rman 备份和恢复的演示 数 ...
分类:
数据库 时间:
2017-06-29 19:28:17
阅读次数:
276
CGI的定义是:外部应用程序与Web服务器之间的接口。 1.Tomcat7支持CGI,但是默认配置是关闭的需要进行如下配置 修改Tomcat conf/web.xml中两处代码,默认是注释掉的,去掉注释即可 1 <servlet> 2 <servlet-name>cgi</servlet-name> ...
分类:
其他好文 时间:
2017-06-29 19:22:21
阅读次数:
237
来源:http://www.cnblogs.com/xjimmyshcn/archive/2011/07/19/2111087.html 一、WinCE 模拟器通过ActiveSync 6.1(即Windows Mobile设备中心)连接PC 1.启动WinCE模拟器 命令行: start .\De ...
# -*- coding: utf-8 -*- import scrapy import requests from daomu.items import DaomuItem from pyquery import PyQuery as pq class DaomuspiderSpider(scra... ...
分类:
其他好文 时间:
2017-06-29 11:26:25
阅读次数:
264
1.ArrayList是实现了基于动态数组的数据结构,LinkedList基于链表的数据结构。 2.对于随机访问get和set,ArrayList优于LinkedList,因为ArrayList可以随机定位,而LinkedList要移动指针一步一步的移动到节点处。(参考数组与链表来思考)3.对于新增 ...
分类:
其他好文 时间:
2017-06-29 10:10:39
阅读次数:
249
1、安装crontab:yum install crontabs 说明:/sbin/service crond start //启动服务/sbin/service crond stop //关闭服务/sbin/service crond restart //重启服务/sbin/service cro ...
分类:
其他好文 时间:
2017-06-29 10:06:36
阅读次数:
164
Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. ...
分类:
Web程序 时间:
2017-06-29 01:01:03
阅读次数:
266