bootstrap class path not set in conjunction with-source 1.6未与 -source 1.6 一起设置引导类路径 org.apache.maven.plugins maven-compiler-plugin 3.2 ...
分类:
其他好文 时间:
2014-10-24 18:27:17
阅读次数:
1829
Path.GetExtension返回指定的路径字符串的扩展名。例子1:public static string GetExtension( string path)例子2:取得文件的扩展名,并转换成小写1 string fileExtension = Path.GetExtension(pic_u...
分类:
其他好文 时间:
2014-10-24 18:18:35
阅读次数:
161
Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along its path.Note:Yo...
分类:
其他好文 时间:
2014-10-24 18:14:00
阅读次数:
183
WINDOWS 安装JDK。 1.JAVA_HOME,C:\Program Files\Java\jdk1.6.0 2.PATH,%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin 3.CLASSPATH,%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar 在CMD下输入java,看到提示后表...
分类:
其他好文 时间:
2014-10-24 16:54:19
阅读次数:
198
/***替换img标签src属性*@paramcontent*@parampath*/functionimgsSrc(content,path){ varimgreg=/<img.*?>/gi; content=content.replace(imgreg,function(imgsrc){ imgsrc=imgsrc.replace(/src=(?:"\s*([^"]*)\s*"|‘\s*([^‘]*)\s*‘|(\S+))/i,"src=\""+path+"$1\""); re..
分类:
微信 时间:
2014-10-24 16:48:26
阅读次数:
363
1.安装node.js,官网下载以后安装,将node.js的bin目录添加到PATH中,方便使用npm来安装grunt所需要的资源。2.在安装grunt之前,执行:npmuninstall-ggrunt卸载掉之前安装的grunt3.安装全局grunt:npminstall-ggrunt-cli(包括grunt,grunt-cli,grunt-init,具体百度,google)4..
分类:
其他好文 时间:
2014-10-24 16:48:01
阅读次数:
234
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.IO; public static List nameArray = new List();
///
/// 根据指定的 Assets下的文件路径 返回这个路径下的所有文件名//
///
/// 文...
分类:
编程语言 时间:
2014-10-24 14:42:29
阅读次数:
199
#include #include - (NSString *)getIPAddress{NSString *address = @"error";structifaddrs *interfaces = NULL;structifaddrs *temp_addr = NULL;intsuccess ...
分类:
移动开发 时间:
2014-10-24 14:26:30
阅读次数:
167
题目描述:
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.
解题思路:直接DFS。
代码:
/**...
分类:
其他好文 时间:
2014-10-24 13:04:21
阅读次数:
147
问题描述:
Given two binary trees, write a function to check if they are equal or not.
Two binary trees are considered equal if they are structurally identical and the nodes have the same value.
解...
分类:
其他好文 时间:
2014-10-24 13:03:03
阅读次数:
148