自定义博客皮肤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)
  • 资源 (1)
  • 收藏
  • 关注

原创 Huawei LiteOS内核剖析0--启动

Huawei LiteOS内核剖析0–启动

2016-08-10 23:56:25 3799

转载 githug mac 安装

最近在mac上安装了githug,在此处做个记录 具体参考 http://www.cnblogs.com/wicub/p/3646070.html gem install githug 安装成功后执行下面的命令: githug --help Tasks: githug help [TASK] # Describe available tasks or one

2016-01-06 23:18:32 722

原创 Insertion Sort List

/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode *ser

2014-10-09 16:02:47 397

原创 Max Points on a Line

Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.

2014-09-30 16:31:34 371

原创 Leetcode Maximum Product Subarray

Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the array [2,3,-2,4], the contiguous subarray [2,3] has the largest

2014-09-30 14:06:02 323

原创 Leetcode Best Time to Buy and Sell Stock

class Solution { public:     int maxProfit(vector &prices) {         if ( prices.size()                  int min,profit=0;         min = prices[0];         for (int i = 0; i         {      

2014-09-30 13:19:07 305

原创 sama5d3x 启用UART设备

购买的开发板未使用UART,只能自己硬着头皮添加。但AT91的linux也是过于庞大,所以开始寻找切入点 首先看这篇文章:http://blog.csdn.net/21cnbao/article/details/8457546 有了这个设备树,问题就简化了,所以在/linux-at91/arch/arm/boot/dts/中看到有: 先看sama5d3.dtsi,如usart0:

2014-01-02 10:14:49 2569 1

原创 嵌入式boawebserver + cgi注意事项

最近在开发板上移植了boa webserver,直接用cgic和.bash写了查看配置和更改配置的页面,完成效果如下: 现在虚拟机上实现,后移植到开发板 具体步骤: 1.下载源码,编译,配置(网上例子很多,在此不赘述了) 2.下载cgic,编译cgictest程序,放到设定的.../cgi-bin下,在浏览器输入127.0.0.1,看到test页面,OK 3.实现获取linux运

2013-10-29 17:09:47 905

原创 Rotate Image

问题描述: You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Follow up: Could you do this in-place? 关键是要空间复杂度O(1),拿个小矩阵做做实验就知道了。 class Solution {

2013-08-13 11:02:09 341

计算机体系结构:量化研究方法

缓存、流水、性能。深入理解计算机体系结构

2015-12-28

空空如也

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

TA关注的人

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