为什么要用Gradle?Gradle是比较先进的构建系统,也是一个很好的构建工具,允许通过插件自定义构建逻辑以下是为什么Android Studio选择Gradle的主要原因: 使用领域专用语言(Domain Specific Language)来描述和处理构建逻辑。(以下简称DSL) ...
分类:
其他好文 时间:
2014-10-30 18:49:04
阅读次数:
252
Install BIND to configure DNS server which resolves domain name or IP address. BIND uses 53/TCP,UDP. [1] Install BIND. [root@dlp ~]#? yum?-y install bind bind-utils [2] Configure BIND This exampl...
分类:
其他好文 时间:
2014-10-30 17:24:40
阅读次数:
597
在模拟器上使用百度地图定位的时候, 经常报这样的错误:/**
*定位失败后,会调用此函数
*@param error 错误号
*/
- (void)didFailToLocateUserWithError:(NSError *)error
{
NSLog(@"%@", error);
//Error Domain=kCLErrorDomain Code=0 "The operation cou...
分类:
移动开发 时间:
2014-10-30 13:32:44
阅读次数:
259
/***++++++++++++++++++++++++*设置cookie*++++++++++++++++++++++++*ck_namecookie键名*ck_valuecookie键值*expire_secs有效期(秒)*ck_pathcookiecookie的服务器路径*ck_domain规定cookie的域名*secure是否通过安全的HTTPS连接来传输cookie*/functionsetCookie(ck_name,ck_val..
分类:
编程语言 时间:
2014-10-29 19:34:42
阅读次数:
194
HTML 统一资源定位器比如http://www.w3school.com.cn/html/index.asp,遵守以下的语法规则:scheme://host.domain:port/path/filename解释:scheme - 定义因特网服务的类型。最常见的类型是 httphost - 定义域...
分类:
Web程序 时间:
2014-10-29 18:50:27
阅读次数:
249
拓扑图ok。。。1.SW1有vlan10和20,配置协议使SW2能够学习到这两个vlan。SW1(config)#vtpmodeserverSW1(config)#vtpdomainccnaSW1(config)#vtppasswordciscoSW1(config)#exiSW2(config)#vtpmodeclientSW2(config)#vtpdomainccnaSW2(config)#vtppasswordciscoSW2(config)#exi2...
分类:
其他好文 时间:
2014-10-29 02:07:57
阅读次数:
240
参考:How to Manually Change Domain in Magento? So it turns out the problem was that Apache didn‘t have write permissions to the?WEBROOT/var?directory, so Magento was using its cache from the sy...
分类:
其他好文 时间:
2014-10-29 00:33:44
阅读次数:
229
呵呵最近做一些HTML5的项目, 对于前段开发, 相信大家会碰到一个常见问题, 那就是Javascript跨域访问的问题。话不多说 直接重点当前网站和Webservice部署在同一个domain 同一个site下, 应该不会出现跨域问题 但是问题还是来了。由于webservice用了反向代理, 当我...
分类:
Web程序 时间:
2014-10-28 15:08:49
阅读次数:
216
// Bind script tag hack transportjQuery.ajaxTransport( "script", function(s) { // This transport only deals with cross domain requests if ( s.crossD.....
分类:
Web程序 时间:
2014-10-26 19:46:30
阅读次数:
261
/usr/local/httpd/bin/apachectl startAH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain...
分类:
Web程序 时间:
2014-10-26 11:29:37
阅读次数:
195