[1]The import com.baidu.mapapi.map.Geometry
conflicts with a type defined in the same
file解决:百度api包下的Geometry和某个类名相冲突,将类名换成另外的名字,不要和百度相关类里面的类名相同[2]jav...
分类:
移动开发 时间:
2014-05-01 08:56:27
阅读次数:
648
Android常用工具类主要介绍总结的Android开发中常用的工具类,大部分同样适用于Java。目前包括HttpUtils、DownloadManagerPro、ShellUtils、PackageUtils、PreferencesUtils、JSONUtils、FileUtils、Resourc...
分类:
移动开发 时间:
2014-05-01 08:55:11
阅读次数:
570
判断valid,没有更好的方法,只能brute force。 1 class Solution { 2
public: 3 bool isValidSudoku(vector > &board) { 4 5 int n; 6 for (int...
分类:
其他好文 时间:
2014-05-01 08:54:28
阅读次数:
332
一、方法那些事儿 (1)方法的结构:方法头—指定方法的特征,方法体—可执行代码的语句序列;
(2)方法的调用:参数、值参数、引用参数、输出参数、参数数组; ①参数: 形参—本地变量,声明在参数列表中;形参的值在代码开始之前被初始化;
实参—实参的值用于初始化形参; ②值参数: ...
分类:
其他好文 时间:
2014-05-01 08:49:57
阅读次数:
352
关于phpweb后台拿shell简单方法。首先登录后台admin.php登录后台管理系统后,然后把下面的文件保存为xxx.html,修改action,把www.xxx.com改成你的目标网站地址。代码文件如下:然后选择你的马儿再上传上传后如果为iis6,就点击查看源码就可以找到马儿的路径了。菜刀链接...
分类:
Web程序 时间:
2014-05-01 08:46:04
阅读次数:
453
字符串匹配是计算机的基本任务之一。举例来说,有一个字符串"BBC ABCDAB
ABCDABCDABDE",我想知道,里面是否包含另一个字符串"ABCDABD"?许多算法可以完成这个任务,Knuth-Morris-Pratt算法(简称KMP)是最常用的之一。它以三个发明者命名,起头的那个K就是著名科...
分类:
其他好文 时间:
2014-05-01 08:40:55
阅读次数:
316
http://cmakeed.sourceforge.net/eclipse/ cmake
-G"Eclipse CDT4 - Unix Makefiles" -D CMAKE_BUILD_TYPE=Debug
-D_ECLIPSE_VERSION=4.2 ../src
分类:
编程语言 时间:
2014-05-01 08:37:42
阅读次数:
319
for Web Authors and WebmastersThis is an
informational document. Although technical in nature, it attempts to make the
concepts involved understandabl...
分类:
其他好文 时间:
2014-05-01 08:37:04
阅读次数:
438
Given an array of integers, find two numbers
such that they add up to a specific target number.The function twoSum should
return indices of the two nu...
分类:
其他好文 时间:
2014-05-01 08:35:40
阅读次数:
443