echo off
cls
title 设置IP
echo 正在设置IP地址,请稍候……
netsh interface ip set address "本地连接" static 192.168.218.169 255.255.255.0 192.168.218.254 1
echo 正在更改DNS设置,请稍候……
echo 正在更改DNS设置,请稍候……...
分类:
其他好文 时间:
2014-06-10 14:40:18
阅读次数:
248
接口主要是为了向上转型,从而使基类(接口方法)更具灵活性!不想废话,看例子: /** *
*/package interfaces;interface Monster{ void menace();}interface
DangerousMonster extends Monster{ void d...
分类:
编程语言 时间:
2014-06-10 09:00:35
阅读次数:
230
iOS中单例模式的实现一般分为两种:MRC和ARC+GCD 1.MRC(非ARC)
非ARC的单例的实现方式: #import @interface
NoARCSingleton:NSObject//这个属性在后面调试有用处,而且也不要苦恼为什么是retain?不应该是copy么?请继续看...
分类:
移动开发 时间:
2014-06-10 08:25:25
阅读次数:
390
Posted in Linux Application at November 13th,
2012 如果你是用 openvswitch 内置的 GRE tunnel,那么配置很简单,基本上就一条命令: ovs-vsctl add-port br0
gre0 -- set interface gre...
分类:
其他好文 时间:
2014-06-09 17:11:23
阅读次数:
304
连接器里面衔接数据源与数据推送对象的是QueryTraverser类对象,该类实现了Traverser接口/** * Interface presented
by a Traverser. Used by the Scheduler. */public interface Traverser { ....
分类:
其他好文 时间:
2014-06-08 22:24:14
阅读次数:
398
使用单例模式的类:UIApplicationUIAccelerometerNSUserDefaultsNSNotificationCenterNSFileManagerNSBundle等Singleton.h#import
@interface Singleton : NSObject// 始终返回...
分类:
移动开发 时间:
2014-06-08 21:28:11
阅读次数:
364
WTDelegate#import @protocol WTDelegate @required-
(void)sleep;- (void)eat;- (void)work;@endWTPhilosopher.h#import #import
"WTDelegate.h"@interface WTP...
分类:
移动开发 时间:
2014-06-08 20:57:13
阅读次数:
316
一、总结1. API调用的6个参数2. 处理后错误信息的处理3. API成功与否的判断依据4.
API和Interface的区别和优点二、具体分析1. API调用的6个参数 2. 处理后错误信息的处理 1 IF (fnd_msg_pub.count_msg
> 0) T...
分类:
数据库 时间:
2014-06-08 19:42:40
阅读次数:
267
1、案例视图,如下图2、代码TextKit01ViewController.h#import
@interface TextKit01ViewController : UIViewController@property
(nonatomic,strong) IBOutlet UITextView *...
分类:
移动开发 时间:
2014-06-08 19:03:04
阅读次数:
382
1、案例如图2、代码TextKit02ViewController.h#import
@interface TextKit02ViewController : UIViewController@property
(nonatomic,strong) IBOutlet UITextView *text...
分类:
移动开发 时间:
2014-06-08 18:53:35
阅读次数:
558