摘要: 昨晚上熬夜写了[Openwrt项目开发笔记]:Openwrt平台搭建(一),虽然洋洋洒洒地写了不少东西,但我还是感觉忽略的一些东西。在本文中,我试着将我能想到的一些点列出来 阅读全文
posted @ 2014-07-11 20:32 Double_win 阅读(8070) 评论(3) 推荐(1) 编辑
摘要: 最近开始着手进行Openwrt平台的物联网网关设计,思路有些乱,通过笔记的方式进行记录和整理。一. 选择Openwrt平台的理由二、Openwrt平台搭建 阅读全文
posted @ 2014-07-11 00:11 Double_win 阅读(25939) 评论(7) 推荐(8) 编辑
摘要: 今天,重装了MySQL5.6,在创建数据库的时候出现了如下错误:ERROR 1045 (28000): Access denied for user'root'@'localhost'(using password: YES)lz我在网上找了各种方法均无用,发现下文的方法有效,遂转载之。文章转自ht... 阅读全文
posted @ 2014-07-06 23:45 Double_win 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Given two integersnandk, return all possible combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solution is:[ [2,4], [3,4], [2,3],... 阅读全文
posted @ 2014-06-30 20:37 Double_win 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 过几天就要进行华为的机试了,今儿临时抱抱佛脚,在网上找到2014届华为校招的机试题,琢磨了一会儿,贴出来记录下。首先感谢一下Hackbuteer提供的题目:http://blog.csdn.net/hackbuteer1/article/details/11132567对于第一题,字符过滤。最简单也... 阅读全文
posted @ 2014-06-27 11:15 Double_win 阅读(584) 评论(0) 推荐(0) 编辑
摘要: Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon... 阅读全文
posted @ 2014-06-24 23:03 Double_win 阅读(322) 评论(0) 推荐(0) 编辑
摘要: CentOS系统自带的更新源的速度实在是慢,为了让CentOS6使用速度更快的YUM更新源,可以选择163(网易)的更新源。1.下载repo文件wget http://mirrors.163.com/.help/CentOS6-Base-163.repo2.备份并替换系统的repo文件[root@l... 阅读全文
posted @ 2014-06-24 17:47 Double_win 阅读(233) 评论(0) 推荐(0) 编辑
摘要: The set[1,2,3,…,n]contains a total ofn! unique permutations.By listing and labeling all of the permutations in order,We get the following sequence (ie... 阅读全文
posted @ 2014-06-18 16:30 Double_win 阅读(234) 评论(0) 推荐(0) 编辑
摘要: Given a collection of numbers, return all possible permutations.For example,[1,2,3]have the following permutations:[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,... 阅读全文
posted @ 2014-06-18 13:41 Double_win 阅读(162) 评论(0) 推荐(0) 编辑
摘要: Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru... 阅读全文
posted @ 2014-06-17 23:11 Double_win 阅读(242) 评论(0) 推荐(0) 编辑