1、ifconfig eth0 promisc 设置eth0为混杂模式。ifconfig eth0
-promisc 取消它的混杂模式botnet@botnet-virtual-machine:~$ ifconfigeth0 Link
encap:Ethernet HWaddr 00:0...
分类:
其他好文 时间:
2014-05-06 00:09:59
阅读次数:
625
三、链表 链结点
在链表中,每个数据项都被包含在‘点“中,一个点是某个类的对象,这个类可认叫做LINK。因为一个链表中有许多类似的链结点,所以有必要用一个不同于链表的类来表达链结点。每个LINK对象中都包含一个对下一个点引用的字段(通常叫做next)但是本身的对象中有一个字段指向对第一个...
分类:
编程语言 时间:
2014-05-05 23:54:31
阅读次数:
561
Problem
Link:http://oj.leetcode.com/problems/longest-consecutive-sequence/This problem
is a classical problem where we can reduce the running time by ...
分类:
其他好文 时间:
2014-05-05 22:55:22
阅读次数:
552
Problem
Link:http://oj.leetcode.com/problems/word-ladder/Two typical techniques are
inspected in this problem:Hash Table. One hash set is the words di...
分类:
其他好文 时间:
2014-05-05 22:44:44
阅读次数:
393
1.首先下载log4e插件,放入myeclipse10的安装目录D:\Program Files (x86)\myEclipse10\MyEclipse Blue Edition 10\dropins下,新建文件夹log4e,将下载的log4e的插件放入,新建log4e.link文件,写入path=D:/Program Files (x86)/myEclipse10/MyEclipse Blue ...
分类:
其他好文 时间:
2014-05-02 23:17:55
阅读次数:
349
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a link...
分类:
其他好文 时间:
2014-05-01 22:08:19
阅读次数:
366
题目链接:uva 11314 - Hardly Hard
题目大意:给出A,B两点,然后分别在y轴和x轴找一个D点和C点,使得A,B,C和D组成的四边形的周长最小。
解题思路:两点之间直线最短,将A'为A关于y轴的对称点,B'为B关于x轴的对称点,连接A‘B'即为另外三条边的最短距离,然后AB的距离又是固定的。
#include
#include
#inc...
分类:
其他好文 时间:
2014-05-01 18:16:46
阅读次数:
320
http://zhidao.baidu.com/link?url=zPPLZ8yo-UUaclBCxVwzmh8mlfPIxeM7Jl-Xb7gmI5tz8lm8tN_DDx7PrGAF-cfOPy_EGG-VFDTaCTIAQvtu0a
分类:
编程语言 时间:
2014-05-01 12:20:28
阅读次数:
431
之前一篇写的不完整,重新写一篇
OpenWRT数据发送过程 这里使用的是ath9k网卡驱动,硬件平台是TP-link TL-WR841N V7.1 路由器...
分类:
系统相关 时间:
2014-04-30 22:48:39
阅读次数:
621
在dm8168_dvrrdk开发过程中,遇到不少的问题,同时解决了不少问题,在此做一个小小的总结。
1.系统架构
系统架构由两部分组成,app应用程序端和link链路。
(1)app应用程序端(arm端):
此端也是用户端,直接操作数据层。读取数据(为整个link链路读入数据流)以及存储数据(将整个link链路处理完的数据结果通过此端进行存储)。
(2)link链路端:
此端为底层...
分类:
其他好文 时间:
2014-04-30 22:17:38
阅读次数:
492