码迷,mamicode.com
首页 > 其他好文
Flash 安全沙箱的意义
Flash:安全沙箱是远程的,在网页中,远程安全沙箱内的Flash是无法访问到本地内容的,以此来禁止了非法开发人员开发恶意程序。PS:AIR:AIR是在AIR沙箱里面的。(这个沙箱是不安全的,所以发布它需要开发者证书,不然程序会提示未授权或者不能在相关平台发布)
分类:其他好文   时间:2014-09-29 23:48:51    阅读次数:224
[LeetCode]Median of Two Sorted Arrays
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 Integer
题目描述: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
Construct Binary Tree from Preorder and Inorder Traversal<leetcode>
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
hdu----(2222)Keywords Search(trie树)
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
Day dreaming
分类:其他好文   时间:2014-09-30 01:10:41    阅读次数:167
IE6与其他浏览器的区别
1、终极方法:条件注释 这段文字仅显示在 IE6及IE6以下版本。 这段文字仅显示在 IE6及IE6以上版本。 这段文字仅显示在 IE6以上版本(不包含IE6)。 这段文字仅显示在 IE5.5。 缺点是在IE浏览器下可能会增加额外的HTTP请求数。2、CSS选择器区分IE6不支持子选择器;先...
分类:其他好文   时间:2014-09-29 23:46:41    阅读次数:320
Single Number
题目描述: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---使用,开发步骤
使用NDk的场景:1.某些方法,是使用C,C++本地代码实现的,然后,我想在Java中调用这些方法。这个时候,就需要使用到JNI技术。为什么要使用C,C++代码实现呢?原因是:1.某些功能,需要使用到第三方的类库来实现,而第三方类库是用C或者C++写的,只有C或者C++代码才可以使用到该类库。于是,...
分类:其他好文   时间:2014-09-29 23:29:21    阅读次数:308
hdu5057 分块处理,当数值大于数据范围时树状数组 真是巧 将大数据分为小数据来处理
这题说的给了100000个数有100000次操作 询问 L和R 区间内 在D位上为P的个数,用树状数组存 要开[10][10][100000]的int 开不了但是能开 这么大的unsign short 这样我们将这个树状数组一分为二 50000 个位前面 50000 为后面 我们知道unshort ...
分类:其他好文   时间:2014-09-29 23:45:51    阅读次数:322
给Pomelo的聊天室添加time的RPC调用
为了练手,给聊天应用增加一个rpc调用和一个time类型的服务器,在servers/time/remote/timeRemote.js中,添加如下代码:module.exports.getCurrentTime = function (arg1, arg2, cb) { console.log...
分类:其他好文   时间:2014-09-30 00:18:51    阅读次数:176
(翻译)正确实施DevOps-The Lay of the Land
对于不同的利益相关人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
C#重新绘制按钮
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
HDU 1907 John(博弈)
题目参考了博客: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
HDU 4800 Josephina and RPG
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!