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
1、系统预定义异常no_data_foundcase_not_foundcursor_already_openinvalid_number--no_data_found异常set
serveroutput on;--&NO表示从控制台输入参数DECLARE v_ename varchar2(30)....
分类:
数据库 时间:
2014-05-05 23:45:21
阅读次数:
427
通过虚拟机软件,你可以在一台物理计算机上模拟出另一台或多台虚拟的计算机,这些虚拟机完全就像真正的计算机那样进行工作,例如你可以安装操作系统、安装应用程序、访问网络资源等等。对于你而言,它只是运行在你物理计算机上的一个应用程序,但是对于在虚拟机中运行的应用程序而言,它就是一台真正计算机。因此,当你在虚...
分类:
其他好文 时间:
2014-05-05 22:42:12
阅读次数:
371
通过Size属性不能得到正确的窗体尺寸, 怎么办?还需要设置 MaximumSize
属性和你的 size属性尺寸一样。 this.FormBorderStyle = FormBorderStyle.FixedSingle;this.Size =
new Size(43, 386);thi...
在IOS中,所有对象的内存分配的方法都会调用allocWithZone,比如构造函数alloc,所以重写这个方法就可以实现单例。
Xcode中预先写好了实现代码的快捷指令,敲dispatch_once就会看到。这个是有GCD实现的单例代码。实现代码如下:+(id)allocWithZone:(...
分类:
移动开发 时间:
2014-05-05 22:09:11
阅读次数:
392
在公司项目开发中,用到了assetbundle,由于是webplayer不像手机,流量限制几乎没有,所以场景都是用assetbundle打包后动态加载的,但是这个过程中,遇到不少坑:1.Editor版本不能读取与自己版本不同的assetbundle这个问题描述起来很简单:比如:老板原来让你用4.1打...
分类:
其他好文 时间:
2014-05-05 22:03:01
阅读次数:
365
1、找到对方IP
2、数据要发送到对方指定的应用程序上,为了标识这些应用程序,所以给这些网络应用程序用数字进行了标识。为了方便称呼这个数字,叫做端口,逻辑端口
3、 定义通信规则。这个通信规则称为协议。
国际组织定义了通用协议TCP/IP。
127.0.0.1本机回环地址 不易记忆,可用主机名 主机名:localhost
0-65535端口范围 0-1024系统使用或保留端口 。...
分类:
编程语言 时间:
2014-05-05 21:24:14
阅读次数:
360
paip. 混合编程的实现resin4 (自带Quercus ) 配置 php 环境
#---混合编程的类型
1.代码inline 方式
2.使用库/api 解析方式.
#----配置resin 支持php
resin4默认自动支持php..
也能手动配置了.web.xml加php的servlet解析..参考Quercus让你的PHP开心在Servlet容器奔跑
#...
分类:
Web程序 时间:
2014-05-05 21:23:47
阅读次数:
306
Input
t – the number of numbers in list, then t lines follow [t
Each line contains one integer: N [0 N
Output
Output given numbers in non decreasing order.
Example
Input:
5
5
3
...
分类:
其他好文 时间:
2014-05-04 00:04:09
阅读次数:
376
Let's consider a triangle of numbers in which a number appears in the first line, two numbers appear in the second line, three in the third line, etc. Develop a program which will compute the largest ...
分类:
其他好文 时间:
2014-05-03 17:32:22
阅读次数:
284