1、Model2、Collection3、View4、Router5、History6、Eventshttp://addyosmani.github.io/backbone-fundamentals/
分类:
其他好文 时间:
2014-08-20 01:16:15
阅读次数:
186
archlinux上有一个Scratch 1.4的官方包。Scratch 2是基于Adobe Air的。安装后adobe-air和adobe-air-sdk后,跑不起来,出现画面后一闪就挂掉。 参考这个文章,http://forums.fedoraforum.org/showthread.php?t=23...
分类:
系统相关 时间:
2014-08-20 00:10:16
阅读次数:
366
1,第一节
http://pan.baidu.com/play/video#video/path=%2F%E6%95%99%E5%AD%A61.mov&t=-1
2,第二节
http://pan.baidu.com/play/video#video/path=%2FJavascript%E6%95%99%E7%A8%8B2.mov&t=-1...
分类:
编程语言 时间:
2014-08-20 00:04:15
阅读次数:
226
将一个整数N拆分成n个连续自然数的和。例如:15 = 1+2+3+4+515 = 4+5+615 = 7+8实现一个函数,打印所有可能,并且统计有多少种方法?分析过程如下。对于一个数N,2个自然数相加:m+(m+1) =2m+13个自然数相加:(m-1)+m+(m+1) ...
分类:
其他好文 时间:
2014-08-19 23:59:25
阅读次数:
473
基本数据类型整形:Int4字节%d / %iShort2字节%hdLong8字节%ldLonglong8字节%lldUnsigned4字节%浮点型单精度Float4字节%f双精度Double8字节%lf字符 char 1字节 %c枚举:当一个变量只用几个固定的取值的时候使用枚举 特点:先定义枚...
分类:
编程语言 时间:
2014-08-19 23:55:35
阅读次数:
237
1:第一种多线程 func fun1(){ for i in 200...300{ NSLog("%d",i); } } func fun2(){ for i in 300...400{ NSLog("%d",i); } } var th1 = NSThread(target...
分类:
编程语言 时间:
2014-08-19 23:49:45
阅读次数:
256
1, InterruptInterruption in Java is not pre-emptive. Put another way both threads have to cooperate in order to process the interrupt properly. If the...
分类:
编程语言 时间:
2014-08-19 23:46:45
阅读次数:
235
//获得响应客户端的输出流 OutputStream o = response.getOutputStream(); //缓冲区字节数组,每次发送500字节到输出流 byte[] b = new byte[500]; //要下载的文件 String fileName = "tes...
分类:
Web程序 时间:
2014-08-19 23:37:45
阅读次数:
387
from://http://stackoverflow.com/questions/10005907/eclipse-android-plugin-libncurses-so-5sudo apt-get install libncurses5:i386orsudo apt-get install l...
分类:
数据库 时间:
2014-08-19 22:21:35
阅读次数:
193
一般情况下,CListCtrl能实现的功能: CListCtrl m_lisTestResult;1、插入列(创建表格) m_lisTestResult.InsertColumn(0, _T("序号"), LVCFMT_CENTER, 50);2、填充内容 m_lisTestResult.In...
分类:
其他好文 时间:
2014-08-19 22:17:25
阅读次数:
306