自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

sudo.lee的专栏

Life runs on code...

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

原创 测测你的电脑是男是女?

create a txt file named: filename.VBSfill in it below:CreateObject("SAPI.SpVoice").Speak "I love YOU"double click, the sound may

2011-08-31 18:59:27 532

原创 HOWTO_install uuencode

/** * sudo apt-get install sharutils */

2011-08-29 18:34:40 920

原创 HOWTO_Change Default Boot Order for Grub in Ubuntu

Ubuntus 9.10, 10.04, 10.10, 11.04 etc. use Grub2 so if your are using any of these versions of Linux then this trick should work for you. Th

2011-08-12 14:39:14 1649

原创 HOWTO_setting cscope for Vim

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" CSCOPE settings for vim>>> Just copy this document as '~/.vim/plugin/cscope_macros.vim' """""""""""""

2011-08-12 09:14:20 680

原创 probe()何时被调用

1:新设备注册后,总线先match() device id, 绑定合适的驱动后,调用驱动的probe().2:新驱动注册后,总线先match() device id,给驱动支持的, 未绑定驱动的设备绑定驱动,并把设备添加到驱动支持的设备链表尾部.然后调用probe().--> driver_register()  --> bus_add_driver()    --> driver_a

2011-08-03 18:43:23 1714

原创 Bresenham_line_algorithm.c

/*Bresenham line algorithm: draw an line from (x1, y1) to (x2, y2) */static void line(u_int *pic_buf, int x1, int y1, int x2, int y2){ int dx = x2 - x1; int dy = y2 - y1; int inc; in

2011-08-02 18:14:53 1687

原创 decode.c/jpeg.c

#include #include #include #include #include #include "./include/jpeglib.h"#include "./include/jerror.h"#ifndef u_char#define u_char unsigned char#endifvoid jpeg_error_exit(j_common_ptr ci

2011-08-02 18:13:25 2157

原创 可变参数宏.c

/* * the macros parameters is variable */#include #define debug(format, ...) fprintf(stderr, format, ##__VA_ARGS__)int main(int argc, char **argv){ debug(">>> Hello, %s...\n", "sudolee

2011-08-02 18:10:57 425

原创 svn命令

1、将文件checkout到本地目录   svn checkout path(path是服务器上的目录)   e.g. svn checkout svn://192.168.1.1/pro/domain   简写:svn co2、往版本库中添加新的文件   svn add file   e.g. svn add hello.cc(添加hello.cc

2011-08-02 18:07:25 586

原创 鼠标右击没有新建文本问题解决办法

1>>>新建一个文本文件,命名为filename.reg2>>>键入以下内容,保存关闭之    REGEDIT4    [HKEY_CLASSES_ROOT\.txt]    @="txtfile"    "Content Type"="text/plai

2011-08-02 18:05:58 793

原创 HOWTO_build_your_own_module

>>In kernel code tree:     aa>>>update Kconfig, eg: drivers/sensors/Kconfig中加入一行,引入自己的Kconfig:source "drivers/sensors/Kconfig"     ab>>>your kconfig in subdir, drivers/sensors/Kconfig, example:menuc

2011-08-02 17:04:59 905

arm cross toolchain with gcc 4.8.1

arm平台交叉编译器,静态编译。 主要资源版本: linux-3.12.12 binutils-2.23.2 gcc-4.8.1 glibc-2.18

2014-04-19

busybox 1.20.2 for android

busybox 1.20.2 for android. steps: adb remount adb push ./busybox-1.20.2-android2 /system/bin/ adb shell busybox ifconfig......

2012-08-22

rvct22 for linux_x86

RVCT22 for linux,带有头文件和armlib,cpplib,使用只需修改license.dat里的hostid(mac地址)和env设置脚本里的路径。

2012-04-06

ARM体系结构与编程_杜春雷.pdf

ARM体系结构与编程_杜春雷.pdf,。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

2011-09-13

精通linux设备驱动程序_en

精通linux设备驱动程序_en,图灵丛书

2011-08-18

linux devices drivers_3_en

LDD3_en Over the years, this bestselling guide has helped countless programmers learn how to support computer peripherals under the Linux operating system, and how to develop new hardware under Linux. Now, with this third edition, it's even more helpful, covering all the significant changes to Version 2.6 of the Linux kernel. Includes full-featured examples that programmers can compile and run without special hardware.

2011-08-02

空空如也

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

TA关注的人

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