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
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
注:
[svn Path]:是指要取代码分支的服务器绝对路径
[Path]:是指终端相对当前目录的相对路径,如果是在当前目录下,就省略路径
①.取svn服务器的代码:
svn co [svn Path]
②.查看当前目录的svn状态:
svn st
③.查看某个目录的svn状态:
svn st [Path]dirName
④.查看某...
分类:
其他好文 时间:
2014-05-22 12:18:06
阅读次数:
232
这个类实现了一些工具性质的方法,正如其名。记下自己觉得有意思的方法:readFileAsString(path: String, charset:
Charset = Charset.defaultCharset()): String /** * Attempt to read a file ...
分类:
其他好文 时间:
2014-05-20 08:01:50
阅读次数:
223