//委托的协议定义@protocol UpdateDelegate - (void)update;@end@interface Test : NSObject//委托变量定义@property (nonatomic, weak) id delegate;//blocktypedef void (^U...
分类:
移动开发 时间:
2015-02-04 10:37:53
阅读次数:
186
题目描述: Suppose that a website contains two tables, the Customers table and the Orders table. Write a SQL query to find all customers who never order anything. Table: Customers. +----+-------+
|...
分类:
其他好文 时间:
2015-02-04 00:54:11
阅读次数:
155
关闭 Sublime Text 2/3 的自动更新: 方法:在“首选项-->用户设置”里面添加 "update_check": false 代码,然后保存即可。(英文版是 Preferences→Settings→User)。 注意:为了确保程序不奔溃报错,请务必在?...
分类:
其他好文 时间:
2015-02-04 00:53:51
阅读次数:
131
Linux显示所有可更新的软件清单命令
youhaidong@youhaidong-ThinkPad-Edge-E545:~$ yum check-update
程序“yum”尚未安装。 您可以使用以下命令安装:
sudo apt-get install yum
youhaidong@youhaidong-ThinkPad-Edge-E545:~$ sudo apt-get instal...
分类:
系统相关 时间:
2015-02-03 23:04:11
阅读次数:
171
安装zabbix 1. 准备好lamp架构(安装好mysql,php) 2.在数据库中授权: MariaDB [(none)]> create database zabbix charset utf8; Query OK, 1 row affected (0.33 sec) MariaDB [(no...
分类:
其他好文 时间:
2015-02-03 22:47:18
阅读次数:
310
安装了高版本OS X 之后无法使用MacPorts的port命令pod update提示:Current platform "darwin 14" does not match expected platform "darwin 13"需要下载MacPorts源码编译安装,方法如下:来自https:...
分类:
系统相关 时间:
2015-02-03 22:46:17
阅读次数:
962
重置root密码的方法:windows系统下:1、停止mysql服务;2、新建文件init-root.txt,写上如下内容: update mysql.user set password = password('newpwd') where user = 'root'; flush privileg...
分类:
数据库 时间:
2015-02-03 22:40:01
阅读次数:
250
1. 查询整个映射对象所有字段Java代码//直接from查询出来的是一个映射对象,即:查询整个映射对象所有字段 Stringhql="from Users"; Query query = session.createQuery(hql); List users = query.list();...
分类:
Web程序 时间:
2015-02-03 21:21:17
阅读次数:
207
InstallationYou can install last M2Eclipse release by using the following update site from within Eclipse:http://download.eclipse.org/technology/m2e/r...
分类:
系统相关 时间:
2015-02-03 21:02:50
阅读次数:
183
update-alternatives的用法网上到处又有,但有2个知识点好像都没怎么提到:1.--install 里的参数link到底是啥意思,其实update-alternatives本质就是在/etc/alternatives中建立一个或一组(有--slave参数时)链接而已,但这个目录并不在系...
分类:
其他好文 时间:
2015-02-03 20:54:47
阅读次数:
154