1. Error: Dangling meta character '*' near index 0对字符串使用split()方法截取 * ? + / | 等字符的时候会报以下异常 Dangling meta character '?' near index 0 ?+、*、|、\等符号在正则表达示中...
分类:
编程语言 时间:
2014-07-03 07:13:36
阅读次数:
222
DOS用一种分段结构来寻址计算机的内存,每一个物理存储位置都有一个可以用段一偏移量方式来访问的相关地址。例如,下面就是一个典型的段式地址: A000:1234冒号左边的部分代表段地址(A000),冒号右边的部分代表相对于段地址的偏移量。DOS下的每个程序都是按这种方式访问内存的——尽管段一偏移量寻址...
分类:
编程语言 时间:
2014-07-02 14:19:12
阅读次数:
299
最近将GDAL库更新至1.11版本之后,发现之前写的RPC像方改正模型校正的结果偏差特别大(更新版本之前结果和PCI处理的结果一致)。所以初步判断是GDAL库的bug,经过各个参数修改发现原来是指定的DEM采样方式导致的。 当指定DEM的采样方式为最邻近时,校正结果偏差很大,当DEM采样方式为双线性采样和三次立方卷积采样时,处理的结果与之前的结果一样。截图如图1所示,红色区域为对比区域,如图2所示...
分类:
其他好文 时间:
2014-07-02 07:27:50
阅读次数:
235
1. 先介绍下alias(别名)的用法
alias la='ls -a' alias b='cd ..' 等等
alias 是个好东西,可以在用shell省很多时间
2. 但有一天我发现执行shell脚本的时候,if 语句不能用了,会报一下错误:
bash: build/envsetup.sh: line 30: syntax error near une...
分类:
其他好文 时间:
2014-07-01 07:26:00
阅读次数:
214
运行shell脚本提示“syntax error near unexpected token for((i=0;i<$length;i++))”...
分类:
其他好文 时间:
2014-06-21 21:42:38
阅读次数:
342
Caused by: java.util.regex.PatternSyntaxException: Syntax error in regexp pattern near index 1:
E/AndroidRuntime(17429): }
E/AndroidRuntime(17429): ^
E/AndroidRuntime(17...
分类:
其他好文 时间:
2014-06-18 07:46:20
阅读次数:
216
三分查找:
#include
#define M 10
int main(void)
{
int front, near, mid1, mid2;
int n;
int found;
int a[M] = {1, 2, 3, 4, 5, 6, 7, 8, 9};
front = 0;
near = M - 1;
found = 0;
printf("input n:");...
分类:
编程语言 时间:
2014-06-03 01:38:47
阅读次数:
399
About Core ImageCore Image is an image
processing and analysis technology designed to provide near real-time processing
forstill and video images. It ...
分类:
其他好文 时间:
2014-05-31 18:22:41
阅读次数:
289
使用UIScreenEdgePanGestureRecognizer写iOS7侧边栏A
UIScreenEdgePanGestureRecognizer looks for panning (dragging) gestures that
start near an edge of the scre...
分类:
移动开发 时间:
2014-05-17 13:03:19
阅读次数:
412
本来是很简单一个事情,转过来是因为打字机这事比较有趣……http://blog.csdn.net/xyp84/archive/2009/08/11/4435899.aspx摘要一下:回车换行0D0ACarriage
ReturnLine Feed“/r”“/n”win320D0D 0Aunix0D0...
分类:
其他好文 时间:
2014-05-07 16:48:09
阅读次数:
350