OceanBase处理网络包的逻辑还是蛮绕的,这里以UPS为例,作为给自己的备忘。UPS代码的main.cpp中调用ObUpdateServerMain的start启动server。start函数会调用ObUpdateServerMain的do_work函数,此函数调用ObUpdateServer类...
分类:
其他好文 时间:
2014-07-29 13:45:28
阅读次数:
236
微软近期Open的职位:Title: Senior SDE The Big Data Tooling team looking for a talented and passionate developer to work on the development and debugging exper...
分类:
其他好文 时间:
2014-07-28 15:22:33
阅读次数:
273
Flash作为一款漂亮动画的产品,是大家所喜爱的,他可以给我们带来更好的视觉效果。但是如何使其很快很好的让Java程序员,.net程序员等所接受,并进行相关开发,Macromedia公司在2004年3月发布的,基于其专有的MacromediaFlash平台,它是涵盖了支持RIA(Rich Internet Applications)的开发和部署的一系列技术组合。 是一种类似于Jsp和Asp的前台技...
分类:
其他好文 时间:
2014-07-28 00:14:20
阅读次数:
259
项目的实际使用中经常需要将当前项目设为tomcat的默认项目,而不是进入到tomcat的页面,有几种方法可以实现:
一、将自己的项目改名为ROOT注意项目名称要大写
如果改完后没生效,建议清空tomcat中的work目录(缓存)
二、修改配置文件server.xml
增加节点,其中docBase为webapps中的项目。注意,一定要加在节点中。例子如下:
<Host name="loca...
分类:
其他好文 时间:
2014-07-27 23:58:09
阅读次数:
473
用STL中的list写的,TLE
#include
#include
#include
#include
#include
using namespace std;
list l;
list::iterator it1,it2,it3,it4,it5,it;
void work(int a,int a1=1,int a2=1)
{
it1=find(l.begin(),l.end(...
分类:
其他好文 时间:
2014-07-26 17:23:02
阅读次数:
815
du -h --max-depth=1 work/testing?? 查看文件的大小 df -h 查看硬盘的大小和使用情况 df?? 大概情况同上 rm -f 强制删除 rm -rf 强制递归删除 cp -rp ./top/* ./sharm/?? 递归复制 mysql -u 数据库名 -p 数...
分类:
系统相关 时间:
2014-07-26 03:34:17
阅读次数:
297
If you, like us, are constantly looking for more efficient ways to work, then you will really appreciate what the Zeigarnik effect has to offer. It ca...
分类:
其他好文 时间:
2014-07-25 19:08:02
阅读次数:
423
微软近期Open的职位:SDE2 (Windows driver)Job title: Software Development Engineer 2Location: Shanghai, China Do you want to join Microsoft and work on the lat...
登录到服务器查看的时候,发现工作目录中有很多日志文件和core文件pwd :/home/work/anti-rw-rw-r-- 1 work work 2738 Jul 18 21:22 14_07_18.log-rw-rw-r-- 1 work work 1829 Jul 19 02...
分类:
其他好文 时间:
2014-07-25 02:54:24
阅读次数:
274
I have focused on lists of tuples, but almost all the examples in this chapter also work with lists of lists, tuples of tuples, and tuples of lists. T...
分类:
其他好文 时间:
2014-07-24 22:44:03
阅读次数:
207