1、放开app.xml中的下面两行的注释 2、在应用程序中添加NativeApplication.nativeApplication.systemIdleMode=SystemIdleMode.KEEP_AWAKE;//保持清醒状态如果不需要保持清醒状态可以关闭如下NativeAppli...
分类:
移动开发 时间:
2014-11-06 19:27:43
阅读次数:
270
https://www.byvoid.com/blog/http-keep-alive-header/HTTP协议头部与Keep-Alive模式详解1、什么是Keep-Alive模式?我们知道HTTP协议采用“请求-应答”模式,当使用普通模式,即非KeepAlive模式时,每个请求/应答客户和服务器...
分类:
Web程序 时间:
2014-11-06 17:00:52
阅读次数:
281
1. View只是存储下来的sql 语句 Views are nothing but saved SQL statements, and are sometimes referred as “Virtual Tables”. Keep in mind that Views cannot store ...
分类:
数据库 时间:
2014-11-06 16:28:49
阅读次数:
296
在用到angular.extend的时候,正好碰到一个对象,是层层嵌套的Array, 结果发现只能extend第一层,查阅官文档,确实不支持deep copy:Note: Keep in mind that angular.extend does not support recursive merg...
分类:
其他好文 时间:
2014-11-05 19:02:56
阅读次数:
260
Here is a quick summary: A strong reference will keep the object it points to from being deallocated. Aweak reference will not. Thus instance variable...
分类:
其他好文 时间:
2014-11-05 18:58:44
阅读次数:
137
基本介绍Keep alive 可以设置在操作系统级别, 作用于对本机所建立的连接. 在设定的时间内对远程主机返送一个简单的tcp 包,用来探测远程主机是否还有响应。主要应用场景有2个:1. 更早的知道远程主机down 掉了。 正常情况下A 主机 和B 主机建立了连接。 A 发送了信息给B 主...
分类:
系统相关 时间:
2014-10-26 18:17:00
阅读次数:
185
上一篇中仅仅是实现了一个非常easy的http client功能,request还提供了keep alive, SSL, 多文件上传,cookie 管理功能,http requests头管理等丰富的功能,仅仅要你浏览器实现的功能,requests里面都支持。#!/usr/bin/env python...
分类:
编程语言 时间:
2014-10-24 18:15:54
阅读次数:
198
翻开 《Code quality》 第四章 Time Performance , 看到的第一句话是: Time is nature's way to keep everything from happing all at once. --- John Archibald Wheeler...
分类:
其他好文 时间:
2014-10-20 21:19:17
阅读次数:
207
一、 Maintain Synchronous Sub-Blocks by Registering All Outputs.
设计的子模块应该使用寄存器输出,以便更好地优化时序。
二、 Keep Related Logic Together in the Same Block.
把逻辑相关的部分放在同一个模块。
三、Sepa...
分类:
其他好文 时间:
2014-10-17 13:48:52
阅读次数:
160
Keep It Simple,Stupid!2010年04月03日21:46:36KISS---保持简单,并且一目了然瞎扯KISS好文一篇 What does KISS stand for? (KISS代表什么?)What does that mean? (KISS是什么意思?)How will I...
分类:
其他好文 时间:
2014-10-16 23:28:43
阅读次数:
265