Flash:安全沙箱是远程的,在网页中,远程安全沙箱内的Flash是无法访问到本地内容的,以此来禁止了非法开发人员开发恶意程序。PS:AIR:AIR是在AIR沙箱里面的。(这个沙箱是不安全的,所以发布它需要开发者证书,不然程序会提示未授权或者不能在相关平台发布)
分类:
其他好文 时间:
2014-09-29 23:48:51
阅读次数:
224
here are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O...
分类:
其他好文 时间:
2014-09-30 00:05:21
阅读次数:
274
题目描述:Reverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321解题方案:该题比较简单,直接贴代码: 1 class Solution { 2 public: 3 int ...
分类:
其他好文 时间:
2014-09-29 23:48:01
阅读次数:
164
Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.题意:知道二叉树的前序遍历和中...
分类:
其他好文 时间:
2014-09-29 23:47:51
阅读次数:
265
Keywords SearchTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 35683Accepted Submission(s): 11520P...
分类:
其他好文 时间:
2014-09-30 01:27:41
阅读次数:
394
1、终极方法:条件注释 这段文字仅显示在 IE6及IE6以下版本。 这段文字仅显示在 IE6及IE6以上版本。 这段文字仅显示在 IE6以上版本(不包含IE6)。 这段文字仅显示在 IE5.5。 缺点是在IE浏览器下可能会增加额外的HTTP请求数。2、CSS选择器区分IE6不支持子选择器;先...
分类:
其他好文 时间:
2014-09-29 23:46:41
阅读次数:
320
题目描述:Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime compl...
分类:
其他好文 时间:
2014-09-30 00:53:01
阅读次数:
216
使用NDk的场景:1.某些方法,是使用C,C++本地代码实现的,然后,我想在Java中调用这些方法。这个时候,就需要使用到JNI技术。为什么要使用C,C++代码实现呢?原因是:1.某些功能,需要使用到第三方的类库来实现,而第三方类库是用C或者C++写的,只有C或者C++代码才可以使用到该类库。于是,...
分类:
其他好文 时间:
2014-09-29 23:29:21
阅读次数:
308
这题说的给了100000个数有100000次操作 询问 L和R 区间内 在D位上为P的个数,用树状数组存 要开[10][10][100000]的int 开不了但是能开 这么大的unsign short 这样我们将这个树状数组一分为二 50000 个位前面 50000 为后面 我们知道unshort ...
分类:
其他好文 时间:
2014-09-29 23:45:51
阅读次数:
322
为了练手,给聊天应用增加一个rpc调用和一个time类型的服务器,在servers/time/remote/timeRemote.js中,添加如下代码:module.exports.getCurrentTime = function (arg1, arg2, cb) { console.log...
分类:
其他好文 时间:
2014-09-30 00:18:51
阅读次数:
176
对于不同的利益相关人DevOps含义不同,但是基本组成部分是相同的。
分类:
其他好文 时间:
2014-09-29 23:28:31
阅读次数:
285
如果你想字符串化宏参数扩展的结果,你必须使用两个级别的宏。1 #define xstr(s) str(s)2 #define str(s) #s3 #define foo 44 str (foo)5 ==> "foo"6 xstr (foo)7 ==> xstr (4)8 ...
分类:
其他好文 时间:
2014-09-30 00:35:01
阅读次数:
212
public class ButtonX:Button { protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { ...
分类:
其他好文 时间:
2014-09-29 23:44:41
阅读次数:
307
恍惚间,交易已过10多年。期间的酸甜苦辣,真的只有每个交易者自己知道。伴随着不断小亏的无奈,毫无突破的苦闷,领悟再进步的这种螺旋式上升。 其实处理震荡的具体方法并不重要,利润回撤一半出场也好,2B也好。总之,处理震荡的意识才是最重要的。因为对于趋势跟踪系统来说这一块就是木桶最短的那一块,而最短的一块...
分类:
其他好文 时间:
2014-09-30 01:07:41
阅读次数:
293
题目参考了博客:http://blog.csdn.net/akof1314/article/details/4447709//0 1 -2//1 1 -1//0 2 -1//1 2 -1//2 2 -2//0 3 -1//1 3 -1 //2 3 -1//3 3 -2//0 4 -1//1 4 -1...
分类:
其他好文 时间:
2014-09-30 00:50:31
阅读次数:
344
Josephina and RPGTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 605Accepted Submission(s): 165Spe...
分类:
其他好文 时间:
2014-09-30 01:23:31
阅读次数:
317