摘要: AFNetworking 1. AFNetworking对IOS支持情况AFNetworking VersionMinimum iOS TargetMinimum OS X TargetNotes2.xiOS 6OS X 10.8Xcode... 阅读全文
posted @ 2015-09-16 20:35 山是水的故事 阅读(335) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/13463197/the-android-emulator-does-not-start-avdYou ran into the same problem that I did, outlined inthis issue. Fi... 阅读全文
posted @ 2014-10-28 21:46 山是水的故事 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 使用Ctrl+`快捷键或者通过View->Show Console菜单打开命令行,粘贴如下代码:1importurllib.request,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path();... 阅读全文
posted @ 2014-10-26 21:35 山是水的故事 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 1. 安装下载Sun Java包,然后解压文件 tar -zxvf xxx.tar.gz, 然后 mv jdk文件夹 /usr/local/jdk然后设置环境变量sudo gedit /etc/profile JAVA_HOME=/usr/local/jdk export JRE_HOME=... 阅读全文
posted @ 2014-10-26 16:43 山是水的故事 阅读(283) 评论(0) 推荐(0) 编辑
摘要: Givennnon-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histog... 阅读全文
posted @ 2014-09-07 16:53 山是水的故事 阅读(251) 评论(0) 推荐(0) 编辑
摘要: Container With Most WaterTotal Accepted:15862Total Submissions:50802My SubmissionsGivennnon-negative integersa1,a2, ...,an, where each represents a po... 阅读全文
posted @ 2014-09-07 15:22 山是水的故事 阅读(120) 评论(0) 推荐(0) 编辑
摘要: There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You have a car with an unlimited gas tank and it costscost[... 阅读全文
posted @ 2014-09-06 23:52 山是水的故事 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 递归算法bool valid(vector &res, int r) { int nCol = res.size(); for(int i=0;i res, int &nCount) { if (l == n) { ... 阅读全文
posted @ 2014-09-06 22:27 山是水的故事 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol... 阅读全文
posted @ 2014-09-06 16:27 山是水的故事 阅读(185) 评论(0) 推荐(0) 编辑
摘要: Given an unsorted integer array, find the first missing positive integer. For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2.Your algorithm sh... 阅读全文
posted @ 2014-09-05 16:38 山是水的故事 阅读(116) 评论(0) 推荐(0) 编辑