由于最近服务器流量异常所以写了一个简单的shell抓包脚本,每间隔10分钟进行一次抓包分别保存在不同的文件当中,脚本如下:#!/bin/sh#Thisistcpdumpscriptone=1two=2while(($one!=$two))dosleep1TIME=`date+%F"-"%H:%M:%S`tcpdump-ieth0-s0-wtcpdum.$TIME&sleep600ps-ef|gr..
分类:
其他好文 时间:
2014-08-13 03:46:36
阅读次数:
182
Description
In the two-player game "Two Ends", an even number of cards is laid out in a row. On each card, face up, is written a positive integer. Players take turns removing a card from either end...
分类:
其他好文 时间:
2014-08-13 01:18:05
阅读次数:
209
【C++自我精讲】基础系列六 PIMPL模式0 前言很实用的一种基础模式。1 PIMPL解释 PIMPL(Private Implementation 或 Pointer to Implementation)是通过一个私有的成员指针,将指针所指向的类的内部实现数据进行隐藏。2 PIMPL优点举例:/...
分类:
编程语言 时间:
2014-08-13 00:41:34
阅读次数:
274
Problem Description
Mery has a beautiful necklace. The necklace is made up of N magic balls. Each ball has a beautiful value. The balls with the same beautiful value look the same, so if two or more ...
分类:
其他好文 时间:
2014-08-12 17:29:44
阅读次数:
253
Pots
Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
You are given two pots, having the volume of A and B liters respectively. The following operations can be performed...
分类:
其他好文 时间:
2014-08-12 17:21:24
阅读次数:
281
1:项目完工,不忙,闲来整理资料,对于View的绘制流程很想去了解,其实想了解View 的绘制流程还是从安卓官网的文档开始的,
1):Drawing begins with the root node of the layout.
2):Drawing
the layout is a two pass process: a measure pass and a layout...
分类:
其他好文 时间:
2014-08-12 17:04:54
阅读次数:
339
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy ...
分类:
其他好文 时间:
2014-08-12 16:49:54
阅读次数:
205
Problem Description
Let's play a card game called Gap.
You have 28 cards labeled with two-digit numbers. The first digit (from 1 to 4) represents the suit of the card, and the second digit (from 1 ...
分类:
其他好文 时间:
2014-08-12 10:24:14
阅读次数:
379
StatusEach street light can be viewed as a point in a plane,which casts flash in a circular area with certain radius.What's more,if two illuminated ci...
分类:
其他好文 时间:
2014-08-12 02:58:43
阅读次数:
289
DescriptionYou are given n points and two circles. The radius of the circle will be dynamical. Your task is to find how many points are under both cir...
分类:
其他好文 时间:
2014-08-12 02:57:33
阅读次数:
276