为什么要用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
通过/proc虚拟文件系统读取MTD分区表:cat /proc/mtd
mtd .name = raspi, .size = 0x00400000 (4M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
Creating 6 MTD partitions on "raspi":
0x00000000-0x00400000 : "AL...
分类:
系统相关 时间:
2014-10-29 17:11:18
阅读次数:
2045
在本教程中,你将学习Dijit的_TemplatedMixin混入类的重要性与如何利用模版快速创建你自己的自定义挂件。
分类:
其他好文 时间:
2014-10-29 12:49:29
阅读次数:
116
为了能够登陆RabbitMQ,必须创建RabbitMQ用户账号。
# rabbitmqctl add_user elite elite123
Creating user "elite" ...
...done.
# sudo rabbitmqctl set_user_tags elite administrator
Setting tags for user "elite" to [a...
分类:
其他好文 时间:
2014-10-29 10:59:10
阅读次数:
197
拓扑图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