iOS开发多线程篇—GCD的常见用法一、延迟执行1.介绍iOS常见的延时执行有2种方式(1)调用NSObject的方法[selfperformSelector:@selector(run)withObject:nilafterDelay:2.0];// 2秒后再调用self的run方法(2)使用GC...
分类:
移动开发 时间:
2014-06-26 23:00:12
阅读次数:
468
1、实现放大缩略图(CSS3)通过使用overflow:visible效果仅见:http://runjs.cn/detail/exwrb9rn2.同上的效果效果仅见:http://runjs.cn/detail/dbitgkfz3.css3使得鼠标移入图片,其他图片模糊效果仅见:http://run...
分类:
Web程序 时间:
2014-06-26 20:56:13
阅读次数:
199
一:基本介绍 在Loadrunner的使用中,对于Run-time Settings下的browser emulation设置是比较容易让人产生困惑的地方。下面我们结合sniffer来具体看看每个选项的用途,以及对测试的影响。 Browser Emulation 图 二:案例和工具 1.测试案...
分类:
其他好文 时间:
2014-06-26 20:11:26
阅读次数:
223
Today,it`s my first day to start a new lesson with c#!At first ,I want to study it just because java is a old language ,and run slower than c# many pe...
分类:
其他好文 时间:
2014-06-26 16:46:23
阅读次数:
191
1、打开终端2、sudo gedit /etc/wpa_supplicant/wpa_supplicant.conf(回车之后会弹出一个编辑页面,在里面打入第三步里面的配置文件)3、配置文件如下:ctrl_interface=/var/run/wpa_supplicantap_scan=0netwo...
分类:
其他好文 时间:
2014-06-26 13:03:52
阅读次数:
194
Follow up for "Search in Rotated Sorted Array":
What if duplicates are allowed?
Would this affect the run-time complexity? How and why?
Write a function to determine if a given target is in the...
分类:
其他好文 时间:
2014-06-26 07:09:01
阅读次数:
213
这一篇,总结一下runner的用法。runner是个啥呢,runner的写法和executionmodule的写法差不多。不同的是,executionmodule需要同步到minions上,然后在minions上面执行,而runner则,在master上直接用salt-run这个命令就可以调用了,而不需要同步到minions上面。既然,runner和..
分类:
其他好文 时间:
2014-06-26 06:20:24
阅读次数:
313
Restart IIS: run "iisreset" commandcheck port usage: netstat -anoHow to set up SSL in IISHow to set up a HTTPS service in IISHow to trust IIS Express ...
分类:
其他好文 时间:
2014-06-25 11:55:38
阅读次数:
172
在确定环境变量配置正确(命令行运行make成功)的情况下,如果使用Eclipse编译C程序,控制台报告Cannotrunprogram"make":?????"?错误,那么很有可能的错误是org.eclipse.cdt.core.win32_5.2.0.201202111925(Eclipse的plugin目录下)出现了错误。可以通过替换或者重新安装CDT来..
分类:
系统相关 时间:
2014-06-25 10:09:25
阅读次数:
365
使用sudoapt-getupdate;sudoapt-getupgrade更新系统后,发现nginx服务器无法正常使用。查看error_log后发现:2014/06/2416:22:04[crit]8827#0:*3connect()tounix:/var/run/php5-fpm.sockfailed(13:Permissiondenied)whileconnectingtoupstream,client:127.0.0.1,server:localho..
分类:
其他好文 时间:
2014-06-25 06:20:29
阅读次数:
266