摘要: //这里创建一个圆角矩形的按钮UIButton *button1 = [UIButton buttonWithType:UIButtonTypeRoundedRect];/* 注:能够定义的button类型有以下6种*/ typedef enum { UIButtonTypeCustom =... 阅读全文
posted @ 2015-08-19 14:25 simle、Mars 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 1.过 滤IP,如来源IP或者目标IP等于某个IP例子:ip.src eq 192.168.1.107 or ip.dst eq 192.168.1.107或者ip.addr eq 192.168.1.107 // 都能显示来源IP和目标IP2.过滤端 口例子:tcp.port eq 80 // 不... 阅读全文
posted @ 2015-06-24 15:55 simle、Mars 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 最近经常使用svn进行代码管理,这些命令老是记不住,得经常上网查,终于找了一个linux下svn命令使用大全:1、将文件checkout到本地目录svn checkout path(path是服务器上的目录)例如:svn checkout svn://192.168.1.1/pro/domain简写... 阅读全文
posted @ 2015-06-04 14:36 simle、Mars 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 假设Client的定义如下class Client {......public: virtual bool GetData(std::string& data);......};我们只需要重写Getdata的方法,并且当参数data被传进来时,我们可以返回特定的值。这一套方法,google已经提供... 阅读全文
posted @ 2015-05-15 11:15 simle、Mars 阅读(4346) 评论(0) 推荐(0) 编辑