风言枫语  
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 235 下一页

2013年11月1日

摘要: getProduct();// get the parent id to skip$_parentid = $_related->getId();if ($_related) {// get collection of categories this product is associated with$categories =$_related->getCategoryCollection()->addFieldToFilter('level','3') ->setPage(1, 1)->load();// if the prod 阅读全文
posted @ 2013-11-01 18:18 风言枫语 阅读(180) 评论(0) 推荐(0) 编辑
 
摘要: 使用随Visual Studio一块安装的devenv.com,再加上参数可以对.Net进行编译,如下 "D:\ProgramFiles\Microsoft Visual Studio 8\Common7\IDE\devenv.com" d:\Projects\YourProject.csproj /rebuild "Release" "D:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.com" ".\Share\Projects\D 阅读全文
posted @ 2013-11-01 18:15 风言枫语 阅读(362) 评论(0) 推荐(0) 编辑
 
摘要: Problem D Piotr's Ants Time Limit: 2 seconds "One thing is for certain: there is no stopping them; the ants will soon be here. And I, for one, welcome our new insect overlords." Kent Brockman Piotr likes playing with ants. He has n of them on a horizontal poleL cm long. Each ant ... 阅读全文
posted @ 2013-11-01 18:14 风言枫语 阅读(294) 评论(1) 推荐(0) 编辑
 
摘要: 今天白白跟大家分享一下cocos2dx中游戏的存储及需要注意的事项cocos2dx中自带了存储类:CCUserDefault ,倘若需要存储的数据量教大的话,建议使用数据库来存储现在先给大家看一下CCUserDefault的APIPublic Member Functions ~CCUserDefault ()bool getBoolForKey (const char *pKey, bool defaultValue=false) Get bool value by key, if the key doesn't exist, a default value will r... 阅读全文
posted @ 2013-11-01 18:12 风言枫语 阅读(340) 评论(0) 推荐(0) 编辑
 
摘要: 解决在ubuntu 12.10安装vmware-tools出现的“The path "" is not a valid path to linux-headers-3.5.0-17 ”或者“The path "" is not a valid path to linux-headers-3.5.0-17 -generic”问题: 在使用终端安装vmware-tools时,不停地回车直到出现下面这几行字时就停止了。 Before you can compile modules, you need tohave the following installed 阅读全文
posted @ 2013-11-01 18:11 风言枫语 阅读(242) 评论(0) 推荐(0) 编辑
 
摘要: Android是一种基于Linux的自由及开放源代码的操作系统,主要使用于移动设备,如智能手机和平板电脑,由Google公司和开放手机联盟领导及开发。尚未有统一中文名称,中国大陆地区较多人使用“安卓”或“安致”。Android操作系统最初由Andy Rubin开发,主要支持手机。2005年8月由Google收购注资。2007年11月,Google与84家硬件制造商、软件开发商及电信营运商组建开放手机联盟共同研发改良Android系统。随后Google以Apache开源许可证的授权方式,发布了Android的源代码。第一部Android智能手机发布于2008年10月。Android逐渐扩展到平板 阅读全文
posted @ 2013-11-01 18:07 风言枫语 阅读(299) 评论(0) 推荐(0) 编辑
 
摘要: 对于新入职的新人来说,学校的那一套东西于实际的工作根本不够。诸多的技术知识还得自己去慢慢掌握和理解。对于项目的发布笔者以前也就仅仅使用开发工具集成的发布功能,并未使用过Ant进行项目的发布。因此需要做一些学习。 Ant技术简介 Ant是开源组织Apache的一个项目,是一个基于Java语言的生成工具。当一个项目过于庞大是每次编译、打包都会变得比较复杂,Ant就像一个流程脚本引擎,用于自动化的完成项目的编译、打包等。Ant的脚本是基于XML的。 Ant环境搭建 笔者使用的是Windows开发环境,这里就只介绍windows下的环境搭建吧。 第一步安装JDK,并配置好环境。这部分不用多说,我也.. 阅读全文
posted @ 2013-11-01 18:05 风言枫语 阅读(356) 评论(0) 推荐(0) 编辑

2013年10月31日

摘要: public static String uploadPicture(String url, String uploadFile) { String resultcode = "1";// 0表示成功 ,1表示失败 HttpClient httpclient = new DefaultHttpClient(); httpclient.getParams().setParameter(CoreProtocolPNames.PROTOCOL_VERSION, HttpVersion.HTTP_1_1); HttpPost httppost = new HttpPost(url) 阅读全文
posted @ 2013-10-31 22:27 风言枫语 阅读(246) 评论(0) 推荐(0) 编辑
 
摘要: (本文由hcbbt发布,转载请注明出处,blog.csdn[dot]net/hcbbT) cygwin是windows下的linux的模拟环境,不仅可以执行linux的各种命令,可以在cygwin下安装各种linux终端下的软件,的确是熟悉linux命令和各种开发工具的好东西。 各种关于cygwin和linux的背景资料什么的我就不复制粘贴了,可以在http://blog.csdn.net/wang_junjie/article/details/1516984看。 本来我一直在虚拟机的Ubuntu下编程的,最近都在按番茄时间学习,而Focus Booster在虚拟机全屏下看不到了,于是... 阅读全文
posted @ 2013-10-31 22:26 风言枫语 阅读(441) 评论(0) 推荐(0) 编辑
 
摘要: 1、收费系统中将查询到的数据导出为Excel候,会出现有的日期变成###### 原因:列宽不够,无法将全部内容显示出来 解决方法:在代码中调整一下列宽! 2、 原因:这是因为数据库的表有的数据不能为空,如下 解决方法: 1)、用IIF语句 textMatrix(.rows-1,5)=iif(isnull(rst.fields("logoutdate").value),"",rst.fields("logoutdate").value) 2)、用if语句 If Rst.Fields("logoutdate").Val 阅读全文
posted @ 2013-10-31 22:25 风言枫语 阅读(247) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 235 下一页