- 博客(20)
- 资源 (128)
- 收藏
- 关注
原创 Maven 常用命令
Maven 安装,请见我先前的博客:Linux 搭建 mavenMaven 常用命令:创建一个简单的Java工程:mvn archetype:create -DgroupId=com.mycompany.example -DartifactId=Example创 建一个java的web工程:mvn archetype:create -DarchetypeGroupId=org.apache.mav
2013-05-27 00:00:41 6121
原创 Linux 搭建Nexus和Maven
Maven 安装请见我先前的博客: Linux 搭建 maven1, Nexus 下载Nexus 官方下载, 最新版下载: nexus-2.4.0-09-bundle.tar.gzNexus war下载: nexus-2.4.0-09.war2, Nexus 安装(1) 创建解压文件夹: mkdir nexus-2.4.0-09(2) 解压tar.gz文件: tar zxvf nexus-2.4.
2013-05-26 05:32:59 19570 1
原创 Linux 搭建 Jenkins
Jenkins,是从Hudson fork出的一个开发分支,因与Oracle Hudson商标纠纷改名为Jenkins(详见),Jenkins是基于Java开发的一种持续集成工具,用于监控秩序重复的工作,包括:软件版本发布/测试的持续集成、外部调用执行工作的监控等。1、 Jenkins 下载Jenkins 下载网址: Download JenkinsJenkins 最新版本: jenkins_1.
2013-05-19 01:40:59 14032 1
原创 Android 项目编译过程
Android 工程构建的持续集成,需要搭建一套编译和打包自动化流程,比如建立每日构建系统、自动生成发布文件等等。这些都需要我们对Android工程的编译和打包有一个比较深入的理解,例如知道它的每一步都做了什么,需要什么环境和工具,输入和输出是什么,等等。首先,假定你的系统(Windows、Linux、Mac OS都行,本文默认使用Linux系统来举例子,但在 Windows中几乎没有什么差别)已
2013-05-17 23:58:19 6503 5
原创 Linux 搭建 maven
Maven, 是基于项目对象模型(Project Object Model, POM),通过一小段描述信息来管理项目的构建,报告,文档的软件项目管理工具。目前,绝大多数开发人员都把 Ant 当作 Java 编程项目的标准构建工具。但是,Ant 的项目管理工具(作为 make的替代工具)不能满足绝大多数开发人员的需要。通过检查 Ant 构建文件,很难发现项目的相关性信息和其它元信息(如开发人员/拥有
2013-05-16 07:41:26 14760 2
原创 Android 编译工具 Ant
Ant,是一种基于Java的build工具,类似于(Unix)C中的make ,与基于shell命令的扩展模式不同,Ant用Java的类来扩展,用户不必编写shell命令。Ant本身是一个流程脚本引擎,用于自动化调用程序完成项目的编译,打包,测试等。除了基于Java是平台无关的外,脚本的格式是基于XML(默认为build.xml),比make脚本来说还要好维护一些。1, 下载官方下载: ant
2013-05-12 21:47:26 13772
原创 GitHub Android 开源项目汇总
GitHub 上的开源项目不胜枚举,越来越多的开源项目正在迁移到GitHub平台上。基于不要重复造轮子的原则,了解当下比较流行的Android与iOS开源项目很是必要。利用这些项目,有时能够让你达到事半功倍的效果。1. ActionBarSherlock(推荐)ActionBarSherlock应该算得上是GitHub上最火的Android开源项目了,它是一个独立的库,通过一个API和主题,开发者
2013-05-09 01:33:20 32005 12
原创 【leetcode】Construct Binary Tree from Inorder and Postorder Traversal
Question: Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.Anwser 1 : /** * Definition for binary tree * st
2013-05-04 00:20:24 5201
原创 【leetcode】Construct Binary Tree from Preorder and Inorder Traversal
Question: Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.Anwser 1 : /** * Definition for binary tree * s
2013-05-03 23:26:32 5858 1
原创 【leetcode】Binary Tree Inorder Traversal
Question : Given a binary tree, return the inorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1 \ 2 / 3return [1,3,2].Note: Recursive solution is trivia
2013-05-03 22:36:35 4027
原创 【leetcode】Flatten Binary Tree to Linked List
Question : Given a binary tree, flatten it to a linked list in-place.For example,Given 1 / \ 2 5 / \ \ 3 4 6The flattened tree should look like: 1 \
2013-05-02 00:00:46 5114
原创 【leetcode】Binary Tree Level Order Traversal II
Question : Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For example:Given binary tree {3,9,20,#,#,15
2013-05-01 23:21:41 5480 1
原创 【leetcode】Balanced Binary Tree
Question : Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node neve
2013-05-01 22:54:40 3758
原创 【leetcode】Minimum Depth of Binary Tree
Question : Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node.Anwser 1 : /** * Definition
2013-05-01 22:15:33 3551
原创 【leetcode】Generate Parentheses
Question : Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a solution set is:"((()))", "(()())", "(())()", "()(())", "
2013-05-01 21:40:50 4482 1
原创 【leetcode】Longest Valid Parentheses
Question:Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.For "(()", the longest valid parentheses substring is "()",
2013-05-01 20:55:25 4121 1
原创 【leetcode】Valid Parentheses
Question : Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in the correct order, "()" and "()[]{}" are al
2013-05-01 20:07:17 4533 1
原创 【leetcode】Binary Tree Maximum Path Sum
Question : Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, 1 / \ 2 3Return 6.Anwser 1 :
2013-05-01 19:19:11 3542
原创 【leetcode】Letter Combinations of a Phone Number
Question : Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephone buttons) is given below.Input:Digit s
2013-05-01 18:20:16 4714
原创 【leetcode】Longest Consecutive Sequence
Question : Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given [100, 4, 200, 1, 3, 2],The longest consecutive elements sequence is [1,
2013-05-01 17:25:39 3600 1
SecureCRT 7.0.2 For Mac 10.12.3 完美破解版
2017-04-04
FatJar打包工具
2014-02-28
Android MotionEvent 坐标获取
2013-04-07
亚马逊(Amazon)称霸电商的秘诀
2013-04-05
Android中visibility属性
2013-04-03
Android与js交互实例
2013-04-01
Google Play 应用内支付(In-app Billing V2 + V3)
2012-12-18
VMware 8安装Mac OS X 10.8 Lion系统及工具包
2012-10-30
VMware 8安装Mac OS X 10.7 Lion
2012-10-18
Android反编译工具包(升级)官方绿色版
2012-10-10
JSP 页面访问用户验证
2012-09-29
Android反编译工具
2012-08-21
Android 创建与解析XML Pull方式
2012-04-30
Android 创建与解析XML Dom方式
2012-04-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人