在/Application/Common/Common创建function.php,然后添加以下代码: 在保存配置时:// 写入配置文件public function setConfig(){ $file = CONF_PATH.'/setConfig.php'; if(writeAr...
分类:
Web程序 时间:
2015-12-24 13:21:48
阅读次数:
159
Path Follow System using Waypoints C#
代码覆盖率 代码覆盖率测试一般包括行覆盖,条件覆盖,FSM覆盖,翻转覆盖率等。在不同的代码级别有不同的覆盖率,Behavioral code包含line+condition+path(branch)+FSM;在RTL code包含line+condition+path+toggle+FSM;Gate...
分类:
其他好文 时间:
2015-12-24 07:05:02
阅读次数:
1171
在angularjs官方文档关于$routeProvider的配置中,对template和templateUrl的配置有这么一段话ifitisafunction,itwillbecalledwiththefollowingparameters:
{Array.<Object>}-routeparametersextractedfromthecurrent$location.path()byapplyingthecurrentroute读起来相..
分类:
Web程序 时间:
2015-12-24 00:45:15
阅读次数:
5070
[UIImage imageNamed:ImageName];1、加载图片占据的内存较大2、相同的图片只会加载一份到内存中,如果同时使用,使用同一个对象即可3、当对象销毁,图片对象不会随着一起销毁NSString *path = [[NSBundle mainBundle] pathForResou...
分类:
其他好文 时间:
2015-12-23 21:12:19
阅读次数:
278
sed的用法1、sed命令sed:StreamEDitor,流编辑器,行2、使用格式: sed[OPTION]...‘script‘[input-file]... script: 地址定界编辑命令 常用选项: -n:不输出模式空间中的内容至屏幕; -escript,--expression=script:多点编辑; -f/PATH/TO/SED_SCRIPT_FILE 每行..
分类:
其他好文 时间:
2015-12-23 18:04:36
阅读次数:
137
安装AzurePowerShellSDK(>2015.04)获取并保存MoonCake的PublishSettingsFile:Get-AzurePublishSettingsFile-Environmentazurechinacloud导入publishfile到powershell:Import-AzurePublishSettingsFile–PublishSettingsFile“path”切换resoucemanager:Switch-AzureMode..
分类:
系统相关 时间:
2015-12-23 18:04:20
阅读次数:
201
安装eple源,在yumcleanall;yummakecache后出现报错Error:Cannotretrievemetalinkforrepository:epel.Pleaseverifyitspathandtryagain解决办法:sed-i‘s/mirrorlist/\#mirrorlist/g‘epel.repoepel-testing.reposed-i‘s/\#baseurl/baseurl/g‘epel.repoepel-testing.repoyumclea..
分类:
Web程序 时间:
2015-12-23 16:29:33
阅读次数:
185
官方下载, 用开发者账户登录,建议用Safari浏览器下载.官方下载地址:https://developer.apple.com/xcode/downloads/Xcode 77.2:https://developer.apple.com/services-account/download?path...
分类:
移动开发 时间:
2015-12-23 16:15:45
阅读次数:
462
在安装drozer后使用 drozer.bat console connect命令提示如下错误(实际上我已经安装了jdk并添加了path)参考上面的链接已经它的提示解决方法如下:建立名为 .drozer_config的文件,文件中添加如下内容:[executables]java=D:\Sun\Jav...
分类:
编程语言 时间:
2015-12-23 16:09:40
阅读次数:
410