0x01 Android Intents with ChromeAndroid有一个很少人知道的特性可以通过web页面发送intent来启动apps。以前通过网页启动app是通过设置iframe的src属性,例如:此方法适用version 18或者更早版本。其他android浏览器也适用。 这个功能...
分类:
移动开发 时间:
2014-11-10 19:54:00
阅读次数:
301
今天调用webservice时返回一个字段是int64 长整型 原始的数值应该是190000002101056096 而php返回时转成1.9000000210106E+17当传入另一个接口就报错了解决方法$c=1.9000000210106E+17;1number_format()number_f...
分类:
Web程序 时间:
2014-11-10 19:39:32
阅读次数:
247
InnoDB表执行大批量数据的更新,插入,删除操作时会出现这个问题,需要调整InnoDB全局的innodb_buffer_pool_size的值来解决这个问题 SHOW GLOBAL VARIABLES LIKE "%buffer_pool%" 可以通过编辑/etc/my.cnf,添加下...
分类:
其他好文 时间:
2014-11-10 18:13:33
阅读次数:
158
如何查看SQL Server 2008的版本及位数及SP版本:登录SQL Server,找到“SQL查询分析器”,输入“Select @@version”,运行,即可看出版本及SP版本。该方法适用于所有SQL Server 版本。徐小闩个人博客 http://blog.wonima.com
分类:
数据库 时间:
2014-11-10 17:41:20
阅读次数:
190
Binary NumberTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1475Accepted Submission(s): 933Proble...
分类:
其他好文 时间:
2014-11-10 17:25:41
阅读次数:
267
#!/bin/bashecho"updataV1.0bycsc2014-11-10"VER="v1.3d"VERSION="SystemSecurityconfiguration"${VER}",byWuHanTianyu,2013-07-19."echo$VERSIONSET_NTP(){#setntpecho-e"\n>>>>>begintosetntp..."ntpstatus=`ps-ef|grepntp|grep-vgrep|wc-l`if[$ntpstatus!=0]..
分类:
其他好文 时间:
2014-11-10 15:45:43
阅读次数:
294
jQuery.post()
jQuery.post( url [, data ] [, success ] [, dataType ] )Returns:
jqXHR
Description: Load data from the server using a HTTP POST request.
version added:
1.0jQuery.post( url...
分类:
Web程序 时间:
2014-11-10 13:57:00
阅读次数:
238
在Windows Server 2008中的IIS服务器中部署WCF服务程序时,通过浏览器访问报出如下错误:未能从程序集“System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”中加...
分类:
其他好文 时间:
2014-11-10 13:27:29
阅读次数:
151
题目描述:
Given n points
on a 2D plane, find the maximum number of points that lie on the same straight line.
解题思路:暴力求解。以每个点为中心,然后遍历剩余的点。对每个点,初始化一个map,以pair为key(dx,dy为两点之间x坐标与y坐标的差除以他们的最大公约数之后得到...
分类:
其他好文 时间:
2014-11-10 12:07:20
阅读次数:
152
1、row_number() over()排序功能:(1) row_number() over()分组排序功能: 在使用 row_number() over()函数时候,over()里头的分组以及排序的执行晚于 where group by order by 的执行。partition by 用于....
分类:
数据库 时间:
2014-11-10 11:42:44
阅读次数:
281