- 博客(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_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 1688
原创 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 2159
原创 可变参数宏.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 426
原创 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 906
arm cross toolchain with gcc 4.8.1
2014-04-19
busybox 1.20.2 for android
2012-08-22
rvct22 for linux_x86
2012-04-06
linux devices drivers_3_en
2011-08-02
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人