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
1、视图的作用(1)表需要占用磁盘空间,而视图不需要(2)视图不能添加索引(3)视图可以简化复杂查询(4)视图可提高安全性2、视图或者修改的创建create
or replaceview 视图名 as select 语句 [with read only];create or replace view...
分类:
数据库 时间:
2014-05-05 23:43:25
阅读次数:
423
今天阅读《Outlook 2010 Inside Out》时,上机操作时有几个小发现win 7
自带截屏工具(360浏览器有,SnagIt更强大)win
7自带便签纸(当然比不上Outlook中的便签,更不能与OneNote比了!)程序中百宝箱内有ReadyFor4GB.exe可帮助突破32位4G内...
分类:
其他好文 时间:
2014-05-05 23:14:25
阅读次数:
356
通过虚拟机软件,你可以在一台物理计算机上模拟出另一台或多台虚拟的计算机,这些虚拟机完全就像真正的计算机那样进行工作,例如你可以安装操作系统、安装应用程序、访问网络资源等等。对于你而言,它只是运行在你物理计算机上的一个应用程序,但是对于在虚拟机中运行的应用程序而言,它就是一台真正计算机。因此,当你在虚...
分类:
其他好文 时间:
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
代码:
#include
#include
#include
#include
using namespace std;
const int maxn=10003;
const int inf=0x7fffffff;
int num[maxn];
int n;
int main()
{
while(scanf("%d",&n)!=EOF&&n)...
分类:
其他好文 时间:
2014-05-04 12:39:16
阅读次数:
331
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