1、有一种方法是直接把 swift 的路径加入到 PATH 环境变量中 2、使用 xcrun 命令修改 PATH将以下路径加入到环境变量中:/Applications/Xcode6-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolc...
分类:
其他好文 时间:
2014-06-15 23:17:30
阅读次数:
843
Request.ServerVariables("Url")返回服务器地址Request.ServerVariables("Path_Info")客户端提供的路径信息Request.ServerVariables("Appl_Physical_Path")与应用程序元数据库路径相应的物理路径Requ...
分类:
其他好文 时间:
2014-06-15 22:28:53
阅读次数:
265
最近学习大数据的处理,由于项目开发的需要,使用一种简单的方式来将Excel中的数据导入到数据库中,开发使用的kettle工具。 kettle工具安装很简单,从官网上下载下来之后,直接解压到制定的盘符下即可(前提是你配置了JAVA的环境变量,path,classpath)。 在WINDOWS环境下双击...
分类:
数据库 时间:
2014-06-15 22:10:06
阅读次数:
412
mac svn 删除.svn隐藏文件的命令打开终端,进到所在的目录,然后出入一下代码find . -name ".svn" | xargs rm -Rf1、将文件checkout到本地目录svn checkout path(path是服务器上的目录)例如:svn checkout svn://192...
分类:
其他好文 时间:
2014-06-15 20:51:44
阅读次数:
307
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
For example:
Given the below binary tree and sum
...
分类:
其他好文 时间:
2014-06-15 19:26:23
阅读次数:
207
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 leaf node.
此题和求二叉树的最短路径几乎一模一样。
public int...
分类:
其他好文 时间:
2014-06-15 16:36:40
阅读次数:
209
1、项目根目录(tomcat、web项目)String path = ServletActionContext.getServletContext().getRealPath("");System.out.println(path);想要获取图片存放的位置,则为String path = Servl...
分类:
其他好文 时间:
2014-06-15 16:27:14
阅读次数:
205
参考http://www.cnblogs.com/sunada2005/p/3536891.html然后它的这一步修改一下打开eclipse->windows->preferences->java->build path->user libraries,点击new,新建一个library,可取名为h...
分类:
系统相关 时间:
2014-06-15 00:57:07
阅读次数:
295
题目:Same TreeGiven two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally ...
分类:
其他好文 时间:
2014-06-15 00:53:09
阅读次数:
314
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
File path = Environment.getExternalStorageDirectory();
/*StatFs...
分类:
其他好文 时间:
2014-06-14 00:56:28
阅读次数:
344