1.
写在开头本人写了一个自动创建cocos2dx工程的脚本。.bat文件,会修正Application.mk
文件,并且在桌面创建打开项目目录的快捷方式。使用条件:1. 在本地计算机中已安装python 2.7.6 版本,并将python安装目录加入到
PATH环境变量中。 2. 根据自己...
分类:
其他好文 时间:
2014-05-27 03:06:16
阅读次数:
387
刚刚在学习ViewPager的使用,于是想要观看它的源码。上网找了很多资料大概步骤如下1:
找到libs/android-support-v4.jar,对其Build Path-add toBuild Path2:Java Build
Path-Libraries android-support-v...
分类:
移动开发 时间:
2014-05-27 03:05:40
阅读次数:
291
1.IMAGE.SAVE(@path)string
path=System.Web.Hosting.HostingEnvironment.MapPath(“~/Images”)函数得到的路径
如果用在IMAGE.SAVE(@path) 函数中 需要转义符号或者path= path.Replace("...
分类:
其他好文 时间:
2014-05-27 01:33:19
阅读次数:
266
1、Server.MapPath(string path)简介
Server.MapPath(string
path)作用是返回与Web服务器上的指定虚拟路径相对应的物理文件路径。其参数path为Web服务器的虚拟路径,返回结果是与path相对应的物理文件路径2、获取指定目录下的所有文件Syste....
分类:
其他好文 时间:
2014-05-24 03:07:13
阅读次数:
340
在 CSS 中,选择器是一种模式,用于选择需要添加样式的元素。"CSS" 列指示该属性是在哪个
CSS 版本中定义的。(CSS1、CSS2 还是 CSS3。)选择器例子例子描述CSS.class.intro选择 class="intro"
的所有元素。1#id#firstname选择 id="fir...
分类:
Web程序 时间:
2014-05-23 12:38:30
阅读次数:
435
public void uploadLocalFileToServer(String
uploadFileName){ String AutomationPath = System.getProperty("user.dir"); String
filePath=AutomationPath+".....
分类:
其他好文 时间:
2014-05-23 12:00:15
阅读次数:
502
Given a binary tree, find its maximum depth.The
maximum depth is the number of nodes along the longest path from the root node
down to the farthest le...
分类:
其他好文 时间:
2014-05-23 11:54:10
阅读次数:
317
file_get_contents(PHP 4 >= 4.3.0, PHP
5)file_get_contents—将整个文件读入一个字符串说明?stringfile_get_contents(string$filename[,bool$use_include_path=
false[,resour...
分类:
其他好文 时间:
2014-05-23 11:14:47
阅读次数:
203
解决办法:首选找到 build path - 然后选择 Configure build
path项选择 "Order and Export" 栏选中
"achartengine-1.0.0.jar“,然后让它置顶,点击"UP"更新你的项目(Project ->
Clean...)碰到包类似的错,也....
分类:
编程语言 时间:
2014-05-23 10:24:56
阅读次数:
311
这个类实现了一些工具性质的方法,正如其名。记下自己觉得有意思的方法:readFileAsString(path: String, charset:
Charset = Charset.defaultCharset()): String /** * Attempt to read a file ...
分类:
其他好文 时间:
2014-05-20 08:01:50
阅读次数:
223