现在位置: 首页 > Reobborry发表的所有文章
  • 11月
  • 16日
综合 ⁄ 共 2520字 评论关闭
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head>     <title>Untitled Page</title>      <link href="s_common.css" type="text/css" rel="Stylesheet" />      <script type="text/javascript" src="jquery-1.4.2.min.js">   </script>          <style type="text/css">           #k_img_ul{ float:left; width:1000px; paddin......
阅读全文
  • 10月
  • 31日
综合 ⁄ 共 47338字 评论关闭
The C10K problem 转自:http://www.kegel.com/c10k.html It's time for web servers to handle ten thousand clients simultaneously, don't you think? After all, the web is a big place now. And computers are big, too. You can buy a 1000MHz machine with 2 gigabytes of RAM and an 1000Mbit/sec Ethernet card for $1200 or so. Let's see - at 20000 clients, that's 50KHz, 100Kbytes, and 50Kbits/sec per client. It shouldn't take any more horsepower than that to take four kilobytes from the disk and send......
阅读全文
  • 06月
  • 12日
综合 ⁄ 共 6382字 评论关闭
导读:   Java操作XML学习笔记(二)2006-06-19 fatcatman   struts开发实践—读写xml实例(上)2004-04-13 smilelily   Java与XML(二)用java编写xml的读写程序2005-01-17 delva   dom解析xml2004-11-01 zhaoqiubo   Javascript 操作XML类.2005-10-22 dxmdxs   更多内容... 这是一个用JAVA W3C DOM 进行XML的的例子,包含了查询、增加、修改、删除、保存的基本操作。较完整的描述了一个XML的整个操作流程。适合刚入门JAVA XML操作的朋友参考和学习。 假设有XML文件:test1.xml xml version="1.0" encoding="UTF......
阅读全文
  • 05月
  • 28日
综合 ⁄ 共 6336字 评论关闭
转载出处  http://blog.csdn.net/create2010/article/details/6424353 #ifndef INCLUDER_BUIW_H_ #define INCLUDER_BUIW_H_ //Form #include "AEEForm.h" #include "AEECLSID_FORM.bid" //RootForm #include "AEERootForm.h" #include "AEECLSID_ROOTFORM.bid" //Popup #include "AEEPopup.h" #include "AEECLSID_POPUPFORM.bid" /*Identifies the class ID of the popup form*/ #include "AEECLSID_POPUPMENUFORM.bid" /*Identifies the class ID of the popup menu form*/ #include "AEECLSID_POPUPMENUFORM_SCROLL......
阅读全文
  • 03月
  • 17日
综合 ⁄ 共 2478字 评论关闭
国庆花了一两天的时间把刘未鹏的《暗时间》粗略地读了一遍,该书是思维学和方法论方面的一本通俗读物,整本书给我带来的最重要的收获就是: 1.我们要无时不刻地思考,睡前思考,走路思考,饭前饭后思考,上厕所也要思考,要时刻留一两个问题在脑袋里,让你的小CPU时刻保持运转状态,充分利用好“暗时间”,这样你就会比别人多出一大块的生命。表面上看,时间对于每个人来说都是公平地平等的,但是如果你充分利用好“暗时间”的话,你的时间将是别人的数倍之多。 2.你要比别人多往前看五年,你比别人多看五年了,那么五年内你所做的事情......
阅读全文
  • 05月
  • 17日
综合 ⁄ 共 4438字 评论关闭
转载自:http://hi.baidu.com/laihua2006/blog/item/e54e113956f12932b9998f44.html ant copy 复制文件 在用Ant部署时,出现:“警告: 编码 GBK 的不可映射字符”,网上找了一下,主要是编码兼容性的问题,需要个javac指定编码,于是在build.xml中加入以下说明即可: <target name="compile" depends="prepare" description="编绎">    <javac srcdir="${src.dir}" destdir="${build.classes.dir}" debug="on" deprecation="on" optimize="off" includes="**">     <!--给编译器指定编码,防止出现:"警告: 编码 ......
阅读全文
  • 05月
  • 07日
综合 ⁄ 共 11172字 评论关闭
断点续传的原理 其实断点续传的原理很简单,就是在 Http 的请求上和一般的下载有所不同而已。  打个比方,浏览器请求服务器上的一个文时,所发出的请求如下:  假设服务器域名为 wwww.sjtu.edu.cn,文件名为 down.zip。  GET /down.zip HTTP/1.1  Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-  excel, application/msword, application/vnd.ms-powerpoint, */*  Accept-Language: zh-cn  Accept-Encoding: gzip, deflate  User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.......
阅读全文
  • 04月
  • 27日
综合 ⁄ 共 20字 评论关闭
好的設計:易于擴展且能夠保持簡單、健壯。
阅读全文
  • 04月
  • 24日
综合 ⁄ 共 1503字 评论关闭
C. Number of Ways time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You've got array a[1], a[2], ..., a[n], consisting of n integers. Count the number of ways to split all the elements of the array into three contiguous parts so that the sum of elements in each part is the same. More formally, you need to find the number of such pairs of indices i, j (2 ≤ i ≤ j ≤ n - 1), that . Input The first line contai......
阅读全文
  • 04月
  • 01日
综合 ⁄ 共 5134字 评论关闭
一、操作系统的基本概念     1.计算机系统的资源     在计算机系统中,资源包括两类,即硬件资源和软件资源。软件资源是计算机的灵魂,主要包括各种程序和数据以及操作系统本身等。操作系统的重要任务之一是有序地管理计算机中的硬件、软件资源,跟踪资源使用状况,满足用户对资源的需求,协调各程序对资源的使用冲突,为用户提供简单、有效的资源使用方法,最大限度地实现各类资源的共享,提高资源利用率,从而提高计算机系统的工作效率。     2.计算机系统的层次结构     安装了操作系统的计算机称为虚拟机(Virtual Machine)......
阅读全文
  • 02月
  • 06日
综合 ⁄ 共 2185字 评论关闭
(1)分行不同颜色设置;在DBGridEh1DrawColumnCell中写;     if ADOQuery1.RecNo mod 2=0 then     begin         DBGridEh1.Canvas.Font.Color := clRed;         DBGridEh1.DefaultDrawColumnCell(Rect, DataCol, Column, State);     end     else begin         DBGridEh1.Canvas.Font.Color := clGreen;         DBGridEh1.DefaultDrawColumnCell(Rect, DataCol, Column, State);     end; (2)分行不同背景颜色设置;在DBGridEh1DrawColumnCell中写;     if ADOQuery1.RecNo mod 2=0 then     begin         DBG......
阅读全文
  • 02月
  • 02日
综合 ⁄ 共 2810字 评论关闭
  <connectionStrings>    <add name="mysqlwxs" connectionString="server=192.168.0.200;user id=root;password=admin;database=wxs;CharSet=gb2312;" providerName="MySql.Data.MySqlClient"/>  </connectionStrings>      private string mysqlYunfeng = ConfigurationManager.ConnectionStrings["mysqlwxs"].ConnectionString;    public FriendGPSList ReturnFriendGPSList(string groupId)        {            FriendGPSList gpsList = new FriendGPSList();            gpsList.gpsList = new List<......
阅读全文