自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 收藏
  • 关注

原创 提供两个学习驱动开发的网站

1,Linux驱动开发 http://lwn.net/Kernel/LDD3/ Linux Device Drivers, Third Edition2,Windows驱动开发 http://msdn.microsoft.com/en-us/windows/hardware/gg463279.aspx Kernel-Mode Driver Framewor...

2011-03-15 04:05:47 162

原创 CVS中存储二进制文件的方法

cvs中存贮文本文件和二进制文件的命令有所差异,需要特别注意,以前居然不知道这点,犯了错,特此纪录下存储二进制文件的方法与大家共享。例子:Here is an example of how you can create a new file using the '-kb' flag:法一:$ echo '$Id$' > kotest$ cvs add -kb -m"A ...

2011-03-15 03:37:43 319

CRC32算法源码

给出一个经过验证了的32位ethernetCRC算法源码,其它的CRC算法实现可借鉴此算法。==========================#include #include //-----Defines---------------------------------------#define POLYNOMIAL_CRC 0x04c11db7L//--...

2010-11-05 23:12:30 770

原创 Mercurial入门-basic

公司目前的版本管理工具是cvs,但准备逐渐引入Mercurial,未来不再支持cvs,所以大家都开始学习Mercurial,今天上网看了看,在这里做点记录,为己也为大家。1. Add a new folder in which you want to work. $ hg init project2. Add files and track them $ cd pr...

2010-10-15 20:10:30 128

原创 Linux下用wireshark

down了wireshark工具在linux机器上很久了,但每次打开都不能像windows下那样正常运行,还以为自己安装的有问题,直到前几天才从一个同事那里的得知,在linux下用wireshark需要root权限的,试了一下,哈,果然是这样.结果搜了一下,人家wireshark安装平台信息里白纸黑字的写着呢,自己从来就没读过:Running Wireshark (or any other net...

2010-09-22 04:25:38 146

原创 CVS死锁

今天在release一个版本的时候,碰到如下错:cvs update: [12:58:26] waiting for lock in /CVSroot/dsb/proj/...google了一下,居然直接找到了解决方案,网络真是个好东西,赞一下,也顺便copy一下文章到这里,给下次可能碰到类似问题的朋友:CVS says it is waiting for a lock; what ...

2010-09-22 03:46:57 300

原创 Python下socket编程一例(chat)

最近在学python的socket编程,在网上发现了一个很好的例子程序,是一个印度人写的吧,于是在两台机器上测试了一下,很好用(稍稍作了修改)。可以用于公司内两人聊天之用,比msn聊天低调多了,不容易被老板发现哈。有兴趣的试试哦~#serverimport socketimport threadingimport timeSIZE = 4host = ''...

2010-09-17 03:33:19 122

原创 Cgreen测试工具

最近看到同事写的测试程序用到Cgreen技术,有些孤陋寡闻,居然是第一次听说,因为看起来很实用,特此虚心的来学一学。找到一篇很不错的入门级文章,链接在这里,http://www.lastcraft.com/cgreen.php。有兴趣的人也可以去阅读。下面先给一个最基本的用cgreen写测试程序的例子:#include "cgreen/cgreen.h"void fun1(...

2010-09-16 03:49:47 446

Hello, World!

一直想开个技术博克,今天终于如愿了。这个博克希望纪录下面几方面的内容:1.工作中学到的东西(目前从事偏底层的开发)2.Python(自己是python的初学者,希望这个博克能见证我的Python路)3.转一些好的文章,如果是英文的,尝试做一些技术文章的翻译。好了,就这些,上路吧~ 贵在坚持!...

2010-09-16 02:54:55 76

转载 .pxd/.pyx file

PXD file is a Pyrex Definition File. PYX file is a Pyrex source. Pyrex is a Language for Writing Python Extension modules. Pyrex lets you write code that mixes Python and C data types any way you want

2010-05-27 22:45:00 1793

原创 Linux Shell Scripting Tutorial

Link: http://www.freeos.com/guides/lsst/A Beginners Handbook for Linux Shell Script development.

2010-05-11 20:18:00 186

转载 Linux Environment Variables-basic

1)Some examples of build-in shell variables:PS1: defines the shells command-line prompt.HOME: defines the home directory for a user.PATH: defines a list of directories to search through when lo

2010-05-05 20:15:00 893

转载 strstr()

char * strstr(char * str1, char * str2);str1: C string to be scanned.str2: C string containing the sequence of characters to match.Function: locate substring.Returns: a pointer to the first oc

2010-05-05 17:50:00 244

原创 Hello World

I will record here some useful info I learned during my work every day.I hope I can insist on and I must insist on also.

2010-05-05 17:39:00 170

空空如也

空空如也

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

TA关注的人

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