首先看iOS的,Scheduling Timers in Run LoopsA timer object can be registered in only one run loop at a time, although it can be added to multiple run loop m...
分类:
移动开发 时间:
2014-08-28 13:09:39
阅读次数:
416
多重比对序列的格式及其应用 这里对多重序列比对格式(Multiple sequence alignment – MSA)进行总结。在做系统演化分析、序列功能分析、基因预测等,都需要涉及到多重序列比对。特别是当需要用不同软件对多重比对序列进行批量操作时,会遇到各种的格式,而这些格式是如何产生的,有什....
分类:
其他好文 时间:
2014-08-27 20:19:08
阅读次数:
284
How many Fibs?DescriptionRecall the definition of the Fibonacci numbers:f1 := 1 f2 := 2 fn := fn-1 + fn-2 (n>=3) Given two numbers a and b, calcul...
分类:
其他好文 时间:
2014-08-27 20:17:48
阅读次数:
208
/home/tace/openav/source/SeamlessMessage/CPaoFlt.o: In function `CPaoFlt::get_m_strPrmair() const':CPaoFlt.cpp:(.text+0x0): multiple definition of `CP...
分类:
其他好文 时间:
2014-08-27 16:31:18
阅读次数:
189
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.If the number of nodes is not a multiple of k then le...
分类:
其他好文 时间:
2014-08-27 00:20:16
阅读次数:
232
唔,之前已经想过今后不动android,没想到还是因为比赛的原因重操旧业。android有很多问题是由于eclipse的不完善造成的,比如今天遇到的这个问题 Unable to execute dex: Multiple dex files define[2011-10-23 16:23:29 - Dex Loader] Unable to execute dex: Multiple dex fi...
分类:
移动开发 时间:
2014-08-26 23:02:06
阅读次数:
415
Description
a program that, given a natural number N between 0 and 4999 (inclusively), and M distinct decimal digits X1,X2..XM (at least one), finds the smallest strictly positive multiple of N that ...
分类:
其他好文 时间:
2014-08-26 21:34:06
阅读次数:
342
RequireJS是一个工具库,主要用于客户端的模块管理。他可以让客户端的代码分成一个个模块,实现异步或动态加载,从而提高代码的性能和可维护性。他的模块管理遵守AMD规范(Asynchronous Module Definition)。 RequireJS的基本思想就是:通过define方法,...
分类:
Web程序 时间:
2014-08-26 21:24:26
阅读次数:
410
AMD是"Asynchronous Module Definition"的缩写,意思就是"异步模块定义".
AMD定义了我们所用的模块都是是异步加载的,所以我们要将依赖模块的代码片段要放在一个回调函数中,当异步加载模块完毕后(也就是此模块已可用时)触发回调函数
常用的AMD库有require.js、sea.js
点击这里这里有一个我自己的示例级别的AMD实现
AMD标准中定义了以下...
分类:
编程语言 时间:
2014-08-26 15:31:56
阅读次数:
340
假设有一张png/tga图集,导入到Unity,放置目录"Assets/Resources/UI"(UI文件夹可替换成其他的,重要的是要在"Assets/Resources/"路径下),默认为如下设置:
为了可以使用Unity自带的精灵切割,要将纹理类型改成"Sprite","Sprite Mode"改成"Multiple","Format"改成"Truecolor",点击"Appl...
分类:
其他好文 时间:
2014-08-26 13:44:26
阅读次数:
257