1.拨打电话:[UIApplication sharedApplication] openurl tel://2.发短信 sms://3.随着我们的应用越来越复杂,可能经常需要调试程序,在iOS中默认情况下不能定位到错误代码行,我们可以通过如下设置让程序定位到出错代码行:Show the Break...
分类:
移动开发 时间:
2015-08-05 22:12:04
阅读次数:
137
修改增加代码 #tag_show?{display:none;position:?fixed;?top:?20%;z-index:?9999999;width:100%;overflow:scroll;?}
#tag_show?img?{width:60%;margin-left:20%}...
分类:
移动开发 时间:
2015-08-05 20:33:44
阅读次数:
155
用dbuser在192.168.0.1上登录远程数据库:
show grants;
显示
GRANT USAGE ON *.* TO 'dbuser'@'192.168.0.1' IDENTIFIED BY PASSWORD '*FE63xxxxxxxxxxxxx1C16A' 仅此一条,
dbuser这个用户只有usage权限,查了下mysql manual,mysql ...
分类:
其他好文 时间:
2015-08-05 15:00:21
阅读次数:
208
1.android studio 如何提示方法的用法在Eclipse中鼠标放上去就可以提示方法的用法,实际上Android Studio也可以设置的。如图Preferences > Editor >Generan> Show doc on mouse move:勾选上2.android studio...
分类:
移动开发 时间:
2015-08-05 12:39:32
阅读次数:
124
进入数据库:mongo查看所有数据库:> show dbs> show dbsadmin (empty)local 0.031GBnutch 0.031GBtest (empty)创建/切换数据库:> use nutch查看数据库:> db.stats()查看数据库表:> db.posts...
分类:
数据库 时间:
2015-08-05 12:15:45
阅读次数:
173
OneProxy具有主从延迟检测功能,检测方式有两种。 1、通过MySQL本身提供的延迟信息,即在从库中执行show slave status; 查看Seconds_Behind_Master值; 2、通过更新一个特定的表的时间戳来判断,类似pt-toolkits中的pt-heartbeat。第.....
分类:
其他好文 时间:
2015-08-05 11:58:13
阅读次数:
179
1.1.1 Overcloud环境的初始化
Heat创建overcloudstack的默认时间是220分钟,超时将退出。Heat通过“heat output-show overcloud KeystoneURL”命令得到Controller节点的ip. instack-create-overcloudrc根据ip和tripleo-overcloud-passwords文件创建overcloud...
分类:
其他好文 时间:
2015-08-04 22:57:17
阅读次数:
418
1.查询mysql所支持的存储引擎 第一种方法:show engines \G 第二种方法 show variables like "have%";2.设置和修改存储引擎 创建表的时候就可以设置 方法一:create table c(id int primary key) engine=myisa....
分类:
数据库 时间:
2015-08-04 22:28:48
阅读次数:
188
1225. FlagsTime limit: 1.0 secondMemory limit: 64 MBOn the Day of the Flag of Russia a shop-owner decided to decorate the show-window of his shop with...
分类:
其他好文 时间:
2015-08-04 18:57:37
阅读次数:
116