#import @interface DanLi : NSObject @end @implementation DanLi +(instancetype)shareDanli{ static DanLi * dan; static dispatch_once_t onceToken; dispat... ...
分类:
移动开发 时间:
2018-07-10 23:36:56
阅读次数:
248
1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @end 6 7 @implementation ViewController 8 -(void)touchesBegan:(NSSet *)touches withE... ...
分类:
Web程序 时间:
2018-07-10 21:39:04
阅读次数:
215
1 #import "ViewController.h" 2 3 @interface ViewController () 4 /** 注释 */ 5 @property (nonatomic, strong) NSMutableData *resultData; 6 @end 7 8 @imple... ...
分类:
Web程序 时间:
2018-07-10 21:28:11
阅读次数:
197
Q: 如果集群多个客户端订阅会不会重复接收消息? A: 集群环境用,有另外一个参数。 NodeManager类没有在框架里面: public interface INodeManager : IGrainWithStringKey { /// <summary> /// 初始化节点管理器 /// < ...
分类:
其他好文 时间:
2018-07-10 19:16:50
阅读次数:
209
操作系统的设置 关闭NetworkManager 这个是RDO要求的。 systemctl stop NetworkManager systemctl disable NetworkManager systemctl enable network 关闭网卡 ifdown <interface_nam ...
分类:
其他好文 时间:
2018-07-10 16:43:39
阅读次数:
145
实验要求:掌握CHAP认证配置 拓扑如下: R1enable 进入特权模式configure terminal 进入全局模式hostname R1 设置主机名 interface s0/0/0 进入端口ip address 192.168.1.1 255.255.255.0 设置IP地址clock ...
分类:
其他好文 时间:
2018-07-10 00:32:15
阅读次数:
168
这个问题网上大部分都说xml文件中的路径不对 或者是resources之类的问题,如果那些文章的解决方案解决不了你的问题的话,可以看一下我遇到的这种情况: Mapper Interface和 Mapper xml 的路径一致 但是Mapper xml所在的文件夹应为一个package而不是普通的文件 ...
分类:
其他好文 时间:
2018-07-09 22:26:13
阅读次数:
175
前言 上一篇简单的介绍了Mybatis的概念和基于XML来实现数据库的CRUD,这篇给大家实现基于注解的CRUD。 一、初始搭建 在基于注解当中前四步和上一篇基于XML是一样的,分别是: 1)创建数据库表 2)创建一个Java项目,并导入相应的jar包 3)项目中添加数据库配置文件 mybatis ...
分类:
其他好文 时间:
2018-07-09 21:35:49
阅读次数:
185
抽象工厂使用场景: QQ换皮肤一整套一起换 1)创建形状接口和颜色接口 和实现该接口的实现类 接口 /** * 定义一个颜色接口 * @author Administrator */ public interface Color { //装满 void fill(); } /** * 定义形状接口 ...
分类:
其他好文 时间:
2018-07-08 10:34:36
阅读次数:
144
网络命令 ifcfg家庭 ifconfig命令 ifconfig [interface] # ifconfig -a # ifconfig IFACE [up|down] ifconfig interface [aftype] options | address ... # ifconfig IFA ...
分类:
系统相关 时间:
2018-07-07 20:53:07
阅读次数:
189