码迷,mamicode.com
首页 >  
搜索关键字:groups @interface    ( 15105个结果
LVS多VIP脚本
#!/bin/bash #description:Configrealserverloandapplynoarp SNS_VIP=( 192.168.100.210 192.168.100.220 ) case"$1"in start) for((i=0;i<`echo${#SNS_VIP[*]}`;i++)) do interface="lo:`echo${SNS_VIP[$i]}|awk-F.‘{print$4}‘`" /sbin/ifconfig$interface${SNS_VIP[$i]}br..
分类:其他好文   时间:2014-08-12 17:37:45    阅读次数:205
Spring_6_使用注解的方式实现AOP
1)PersonService 接口类: public interface PersonService { public void save(String naem); public void update(String name,Integer id); public String getPersonName(Integer id); } 2)PersonServiceBean 实现类...
分类:编程语言   时间:2014-08-12 17:14:24    阅读次数:181
Android中Parcelable接口用法
1. Parcelable接口Interface for classes whose instances can be written to and restored from a Parcel。 Classes implementing the Parcelable interface must ...
分类:移动开发   时间:2014-08-12 17:01:14    阅读次数:242
Go http.HandlerFunc()
//http.Handlertype Handler interface { ServeHTTP(ResponseWriter, *Request)}type HandlerFunc func(ResponseWriter, *Request)func (HandlerFunc) ServeH...
分类:其他好文   时间:2014-08-12 16:24:14    阅读次数:168
ObjectiveC 文件操作二
10,文件委托,以便操作文件。头部看起来像是这样。@interface MyFileManager : NSObject@property(strong)NSFileManager *fileManager;@end.m文件#import "MyFileManager.h"@implementati...
分类:其他好文   时间:2014-08-12 16:17:34    阅读次数:250
Linux netstat命令详解
简介 Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多播成员 (Multicast Memberships) 等等。 输出信息含义 执行netstat后,其输出结果为 Active Internet connections (w/o servers) Proto Re...
分类:Web程序   时间:2014-08-12 13:41:14    阅读次数:304
前端总结- 浏览器
总结一下前端学习笔记,好记性不如何烂笔头。1. 前端的运行环境。 1.1 浏览器如何渲染出页面。 a. 现代浏览器的组成部分 User interface : 就是你看到的浏览器的样子,地址栏,状态栏。 Brower engine:在用户界面和呈现引擎之间传送指令 Re...
分类:其他好文   时间:2014-08-12 13:07:04    阅读次数:243
Golang-interface(一 基本使用)
一 接口概述 如果说gorountine和channel是支撑起Go语言的并发模型的基石,让Go语言在如今集群化与多核化的时代成为一道亮丽的风景,那么接口是Go语言整个类型系列的基石,让Go语言在基础编程哲学的探索上达到前所...
分类:其他好文   时间:2014-08-12 09:07:34    阅读次数:269
为SecureCRT做脚本实现在交换机上自动ping服务器网卡
进入交换机后,在SecureCRT中点击执行脚本,找到文件.vbs,脚本内容如下#$Language="VBScript"#$Interface="1.0"crt.Screen.Synchronous=TrueSubMain() Dimnum Fornum=1To40Step1 crt.Screen.Send"ping192.168.100."&num&chr(13) crt.Screen.WaitForString"Switch>"..
分类:其他好文   时间:2014-08-12 03:29:53    阅读次数:347
C# MVC分页,razor
IMVCPages interface IMVCPages { int GetItemsCount(); int GetPageSize(); int GetPagesCount(); /// /// 当前页面索引,用于分页 /// int CurrentPageIndex { ge...
分类:Web程序   时间:2014-08-11 23:57:03    阅读次数:456
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!