介绍如果你注意到在webkit的浏览器上“flicker”一些CSS操作(尤其是变形和动画方面的)的表现,你很可能之前就注意过硬件加速了CPU、GPU和硬件加速硬件加速意味着Graphics Processing Unit(GPU)会通过代替Central Processing Unit(CPU)做...
分类:
Web程序 时间:
2015-04-13 10:50:01
阅读次数:
177
wget -c -t 0 -Osonar-ant-task-2.2.jar http://central.maven.org/maven2/org/codehaus/sonar-plugins/sonar-ant-task/2.2/sonar-ant-task-2.2.jar-c 断点续传-t0 ....
分类:
其他好文 时间:
2015-04-10 23:48:23
阅读次数:
138
一,什么是GCD? GCD (Grand Center Dispatch),宏大(牛逼)的中央调度。Apple开发的一个多核编程的解决方法。在iOS所有实现多线程的方案中(NSThread,NSOperation&NSOperationQueue、GCD),GCD应该是最有魅力的,因为GCD本身是....
分类:
编程语言 时间:
2015-04-09 19:35:29
阅读次数:
142
什么是GCD
Grand Central Dispatch (GCD)是Apple开发的一个多核编程的解决方法。该方法在Mac OS X 10.6雪豹中首次推出,并随后被引入到了iOS4.0中。GCD是一个替代诸如NSThread, NSOperationQueue, NSInvocationOperation等技术的很高效和强大的技术,它看起来象就其它语言的闭包(Closure)一样,但苹...
分类:
其他好文 时间:
2015-04-09 17:24:56
阅读次数:
142
#!/bin/bashforiin$(find/opt/central-p_w_picpaths-bak/-typef-name*.jpg)dosrc=/opt/central-p_w_picpaths-bak/opt/central-p_w_picpathsdst=/opt/central-p_w_picpathsdirec=$((dirname$i)|sed"s:${src}:${dst}:g")mv$i$direcdone把图片服务器的备份恢复到原先路径,用sed把..
分类:
其他好文 时间:
2015-04-08 16:51:11
阅读次数:
199
1.GCD的优点
2.基本用法
3.高级用法
4.小结...
分类:
编程语言 时间:
2015-04-07 19:47:55
阅读次数:
231
Description
A word cloud (or tag cloud) is a visual representation of textual data based on a weighted metric. In the above cloud (which is based on this year's list of Mid-Central teams), the fo...
分类:
其他好文 时间:
2015-04-07 17:45:51
阅读次数:
163
ios中得多线程技术主要使用3种:NSThread、NSOperation和GCD,这里主要讲GCD GCD:(Grand Central Dispatch)是一种多核编码技术,用纯C语言编写。 异步:具备开启线程的功能 同步:不具备开启线程的功能 并行队列:多个任务可以同时执行 串行...
分类:
移动开发 时间:
2015-04-02 18:09:09
阅读次数:
214
1.异步执行 dispatch_async(dispatch_get_global_queue(0,?0),?^{??????
//?something?
}); 2.同步执行 dispatch_sync(dispatch_get_global_queue(0,?0),?^{??????
//?something?
}); dispat...
分类:
其他好文 时间:
2015-04-02 16:52:58
阅读次数:
126
ios有三种多线程编程技术,分别是NSThread,Cocoa NSOperation和GCD,GCD全称Grand Central Dispatch 是Apple开发的一个多核编程的解决方法,在iOS4.0开始之后才能使用。GCD是一个可以替代NSThread, NSOperationQueu.....
分类:
移动开发 时间:
2015-04-01 19:32:09
阅读次数:
190