自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

你若嘻哈过盛,别人就不再欣赏你的认真

——时间不要懈怠了追求

  • 博客(9)
  • 资源 (5)
  • 收藏
  • 关注

原创 实现JAVA上传数据至PHP服务器存储(SAE)

Java客户端实现数据上传至PHP服务器(搭载在SAE) PHP上传功能DEMO: 上传文件 <?php if(isset($_POST[up])){ $s2 =new SaeStorage();//实例化 $name =$_FILES['myfile']['name'];//上传到服务器的文件名称 if($s2->upload('20141

2015-05-16 15:45:12 1203

转载 Android高效加载大图、多图解决方案,有效避免程序OOM

转载请注明出处:http://blog.csdn.net/guolin_blog/article/details/9316683 本篇文章主要内容来自于Android Doc,我翻译之后又做了些加工,英文好的朋友也可以直接去读原文。 http://developer.android.com/training/displaying-bitmaps/index.html 高效加载大图

2015-05-07 21:49:45 481

原创 LeetCode-77 Combinations(组合)

LeetCode-77 Combinations(组合) Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example, If n = 4 and k = 2, a solution is: [ [2,4], [3,4], [2,3

2015-05-02 12:06:29 1145

原创 LeetCode-73 Set Matrix Zeroes(设置零矩阵)

LeetCode-73 Set Matrix Zeroes(设置零矩阵) Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. click to show follow up. Follow up: Did you use extra space? A s

2015-05-02 11:46:56 730

原创 LeetCode-70 Climbing Stairs(斐波那契数列)

LeetCode-70 Climbing Stairs(斐波那契数列) You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the t

2015-05-02 11:35:31 1047

原创 LeetCode-69 Sqrt(x)

LeetCode-69 Sqrt(x) Implement int sqrt(int x). Compute and return the square root of x. 思路:二分法。 比较要留意的是right  left 的处理。 public class Solution { public int mySqrt(int x) { if (x == 0)

2015-05-02 11:30:18 681

原创 LeetCode-67 Add Binary(二进制数相加)

LeetCode-67 Add Binary(二进制数相加) Given two binary strings, return their sum (also a binary string). For example, a = "11" b = "1" Return "100".   public class Solution { public String addBin

2015-05-02 11:18:08 939

原创 LeetCode-56 Merge Intervals(合并区间)

LeetCode-56 Merge Intervals(合并区间) Given a collection of intervals, merge all overlapping intervals. For example, Given [1,3],[2,6],[8,10],[15,18], return [1,6],[8,10],[15,18]. /** * Definition

2015-05-02 11:11:58 726

转载 LeetCode-50 Pow(x, n)

Implement pow(x, n). 觉得这道题看似简单,但是却有很多细节上容易忽略的点。 在此转了别人的考虑的地方及代码   1) x取值为0时,0的正数次幂是1,而负数次幂是没有意义的;判断x是否等于0不能直接用“==”。 2) 对于n取值INT_MIN时,-n并不是INT_MAX,这时需要格外小心。 3) 尽量使用移位运算来代替除法运算,加快算法执行的速度。   pu

2015-05-02 11:05:31 576

Android贪吃蛇程序代码分享

先介绍一下玩法: 1、在电脑端模拟机打开的话,可以通过 w s a d 来控制上下左右。 2、在手机端通过方向感应器,手机角度的变化来控制贪吃蛇的运动。 3、试着添加了记录排名的功能,后来觉得挺简单,但是有点冗杂,所以很粗糙的弄了个得分记录。 供大家参考。 具体可参考博客文章:http://blog.csdn.net/u011035622/article/details/42060547

2015-01-24

HC05蓝牙串口模块资料

HC05蓝牙串口模块资料,玩蓝牙硬件的肯定需要的啦,我也是玩硬件的,蓝牙很好入门,这个作为参考资料~

2014-08-13

HTML帮助文档(常用的内容)

入门真的很需要常常查阅一些东西,这个就很适合直接查,里面整合了一些常用到的东西,标签。很好用。

2014-08-13

mars-android-gps定位源码(3个)

简单易懂~亲验。如果是刚刚入门android的话,想试试看android定位的人可以下载来参考看看~(这算入门篇吧,适合入门~)

2014-08-09

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除