腾讯官方文档 申请appid和appkey的用途 appid:应用的唯一标识。在OAuth2.0认证过程中,appid的值即为oauth_consumer_key的值。 appkey:appid对应的密钥,访问用户资源时用来验证应用的合法性。在OAuth2.0认证过...
分类:
其他好文 时间:
2014-09-10 12:50:30
阅读次数:
326
====================Example1====================SQL>createtableemp_tmpasselect*fromemployees;Tablecreated.SQL>selectlast_namefromemp_tmpwherefirst_name=‘John‘;LAST_NAME-------------------------ChenSeoRussellSQL>editDECLAREv_lnameVARCHAR2(15);BEGINS..
分类:
数据库 时间:
2014-09-10 02:49:00
阅读次数:
288
A method of handling processor to processor interrupt requests in a multiprocessing computer bus environment is described. This method allows a multip...
分类:
其他好文 时间:
2014-09-09 22:56:49
阅读次数:
569
首先确定的基本思想是按时间离散化后来建线段树,对于每个操作插入到相应的时间点上但是难就难在那个pop操作,我之前对pop操作的处理是找到离他最近的那个点删掉,但是这样对于后面的peak操作,如果时间戳还在pop前面,那就需要还原之前的pop操作,这弄得很不方便于是就有了一种类似扫描线的做法,对于pu...
分类:
其他好文 时间:
2014-09-09 18:11:59
阅读次数:
300
SQL SERVER – 2005 – Find Index Fragmentation Details – Slow IndexPerformanceJust a day ago, while using one index I was not able to get the desired pe...
分类:
其他好文 时间:
2014-09-09 15:42:48
阅读次数:
160
题意:有n件物品,对应有不同的价格和价值,这是典型的01背包。但现在有了一个限制,要买物品先买能装这件物品的特定的盒子,盒子的价值为0代码理解得还不是太好,感觉这是一个“二重”的01背包。首先假设先买第i个盒子,对每个盒子里的物品进行一次01背包;然后对盒子再进行一次01背包,决策到底要不要买这个盒...
分类:
其他好文 时间:
2014-09-09 15:34:18
阅读次数:
180
public class Solution { public ListNode detectCycle(ListNode head) { ListNode slow = head; ListNode fast = head; boolean hasCy...
分类:
其他好文 时间:
2014-09-09 11:13:48
阅读次数:
204
今年看到一篇文章还是很受启发。If you have the guts to start selling what you believe in, customers who share your perspective will join in the cause. Not everyone wi...
分类:
其他好文 时间:
2014-09-09 11:04:58
阅读次数:
177
mysql慢查询分析Posted: 29. 08. 2014 |Author:zdz |Category:mysqlMySQL 慢查询日志分析1. pt-query-digest分析慢查询日志pt-query-digest –report slow.log2. 报告最近半个小时的慢查询:pt-que...
分类:
数据库 时间:
2014-09-07 21:01:45
阅读次数:
363
上篇讲到启动Consumer,调用了DefaultCamelContext.startService(service)方法,下面是方法源码:
private void startService(Service service) throws Exception {
if (service instanceof StartupListener) {
StartupListener liste...
分类:
其他好文 时间:
2014-09-07 17:20:15
阅读次数:
209