1.行首与行尾字符^$
行首:
oyzhx@ubuntu:~$ grep -n '^the' regular_express.txt
12:the symbol '*' is represented as start.
行尾
oyzhx@ubuntu:~$ grep -n '\.$' regular_express.txt
1:"Open Source" is a good m...
分类:
其他好文 时间:
2014-10-23 12:29:00
阅读次数:
165
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4
5 6 7 0 1 2).
Find the minimum element.
You may assume no duplicate exists in the ar...
分类:
其他好文 时间:
2014-10-22 12:57:45
阅读次数:
120
DM8168新板在没有做PCI接口的情况下,可以把PCI模块注释,直接尝试:
make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm menuconfig
在BUS Support下注释掉PCI Support,但是DM8168自动加载模块的时候发生了冲突
会出现fatal error:类似 pvrsrvkm: Unknown symbol p...
分类:
其他好文 时间:
2014-10-21 23:17:35
阅读次数:
366
Symbol not found: ___sincosf_stret错误...
分类:
移动开发 时间:
2014-10-21 23:17:11
阅读次数:
209
实现:在一个内核模块调用另一个内核模块中的a+b函数,并通过命令行给参数a,参数b赋值。file3.c#includevoid add_num_func(int a,int b){ printk("file1 a+b = %d \n",a+b);}EXPORT_SYMBOL(add_num_f...
分类:
其他好文 时间:
2014-10-21 19:09:47
阅读次数:
208
1. 解决线上.NET应用程序的如下问题:崩溃CPU高程序异常程序Hang死2. 安装WinDbg:http://msdn.microsoft.com/en-us/windows/hardware/gg463009.aspx3. 配置WinDbg:运行WinDbg->菜单->File->Symbol...
分类:
数据库 时间:
2014-10-21 17:30:00
阅读次数:
326
在linux下用c语言利用信号机制完成了一个弹球的小游戏,代码如下:
bounce.h
/* bounce.h */
/* some settings for the game */
#define BLANK ' '
#define DFL_SYMBOL 'o'
#define TOP_ROW 5
#define BOT_ROW 20
#define LEFT_EDGE...
分类:
系统相关 时间:
2014-10-21 12:27:14
阅读次数:
511
1/* 1.Node.java*/ 2 package Chapter2; 3 4 public class Node { //T可以是int,string等 5 public T data; 6 public Node next; 7 public Node(T d, Nod...
分类:
其他好文 时间:
2014-10-20 21:21:04
阅读次数:
240
报错:Dyld Error Message: Symbol not found: _CGContextSetAllowsAcceleration Referenced from: /Library/Java/JavaVirtualMachines/1.6.0_51-b11-457.jdk/Con.....
分类:
其他好文 时间:
2014-10-20 13:07:33
阅读次数:
129
【题目】
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4
5 6 7 0 1 2).
Find the minimum element.
You may assume no duplicate...
分类:
其他好文 时间:
2014-10-20 11:51:28
阅读次数:
239