今天看到下面这两个函数:struct resource
*platform_get_resource(struct platform_device *dev, unsigned int type, unsigned
int num){ int i; for (i = 0; i n...
分类:
系统相关 时间:
2014-06-02 22:15:28
阅读次数:
438
10 Ways To Improve Your Mood改善情绪的10种方法Everyday
productivity and efficiency practically depend on how you feel. More often than
not, happy people are m...
分类:
其他好文 时间:
2014-06-02 21:52:31
阅读次数:
327
设置IP#vi /etc/syssconfig/network-scripts/ifcfg-eth0
DEVICE=eth0 设备名称 BOOTPROTO=static 设置IP方式,动态还是静态 HWADDR=
这里是你网卡的物理地址,通常检测到的网卡你就不用...
分类:
系统相关 时间:
2014-06-02 21:45:09
阅读次数:
384
【题目】原文:1.3 Design an algorithm and write code
to remove the duplicate characters in a string without using any additional
buffer. NOTE: One or two add...
分类:
其他好文 时间:
2014-06-02 21:32:04
阅读次数:
284
写一份赏心悦目的工程文档,是很困难的事情。若想写得完善,不仅得用对工具(use the right
tools),注重文笔,还得投入大把时间,真心是一件难度颇高的事情。但,若是真写好了,也是善莫大焉:既可让人明白「为何如此设计」,即「知其然更知其所以然」;也能剥离一些琐碎的细节,让更多没那么多时间与...
分类:
数据库 时间:
2014-06-02 21:24:16
阅读次数:
486
By reducing your bookmarks to show only the
icons, you can access more of them from the Bookmarks bar. This works great for
sites with recognizable fa...
分类:
其他好文 时间:
2014-06-02 17:39:03
阅读次数:
276
【题目】
Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.
Below is one possible representation of s1 = "great":
great
/ gr eat
/ \ / g r e at
/ ...
分类:
其他好文 时间:
2014-06-01 09:41:05
阅读次数:
196
title:
A Pythagorean triplet is a set of three natural numbers, a
b
c, for which,
a2 + b2 =
c2
For example, 32 + 42 = 9 + 16 = 25 = 52.
There exists exactly one Pythagorean triplet for wh...
分类:
其他好文 时间:
2014-06-01 09:17:53
阅读次数:
251
title:
Work out the first ten digits of the sum of the following one-hundred 50-digit numbers.
37107287533902102798797998220837590246510135740250
4637693767749000971264812489697007805041701826053...
分类:
其他好文 时间:
2014-06-01 08:53:33
阅读次数:
276
最近学习了ELF格式文件,在学习过程中产生过很多疑惑,也翻找了不少网上资源。期间经常会惊讶于设计者的思路。预计整个工程分成三个部分,这里是第一个部分,介绍了一些前期遇到的问题。因为这是这个月的最后一天,且特别想去赶5:50的“X战警-逆转未来”,所以就将未完品发了出来。...
分类:
其他好文 时间:
2014-06-01 07:11:30
阅读次数:
360