//向后匹配String a = "I paid $90 for 10 oranges, 12 pears and 8 apples. I saved $5 on "; Pattern p = Pattern.compile("(?<=\\$)\\d+"); Matcher m = p.ma...
分类:
编程语言 时间:
2014-07-09 23:18:56
阅读次数:
455
1.解压内核sudo xz -d linux-3.15.4.tar.xzsudo tar xvf linux-3.15.4.tar2.修改内核源码顶层的Makefilesudo vim Makefilearch=armCROSS_COMPILE=arm-linux-3.vim arch/arm/ma...
分类:
系统相关 时间:
2014-07-09 21:20:43
阅读次数:
601
1.安装GCC: yum -y install gcc-c++2.安装flex: yum -y install flex 没有flex,直接安装libpcap会提示"Your operating system's lex is insufficient to compile libpcap"错误;3...
分类:
其他好文 时间:
2014-07-03 12:55:49
阅读次数:
1713
表达式的一些基础知识请查看javascript中的正则表达式实例String email="www.baidu@qq.com";//正则表达式^w{3}.[a-zA-Z0-9]+@[a-zA-Z]+ .com$跟js的表达式基本上一模一样Pattern p=Pattern.compile("^w{3...
分类:
编程语言 时间:
2014-07-02 10:12:40
阅读次数:
188
错误代码:No
architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=armv7 armv7s)
1 xcodebuild 这个target的时候命令行报错。(yes 改为no)
LY_ACTIVE_ARCH=YES, active arch=x86...
分类:
其他好文 时间:
2014-06-30 18:04:12
阅读次数:
219
USER: Kevin Samuel [kevin_s1]
TASK: zerosum
LANG: C++
Compiling...
Compile: OK
Executing...
Test 1: TEST OK [0.003 secs, 3508 KB]
Test 2: TEST OK [0.003 secs, 3508 KB]
Test 3: TEST OK [0.00...
分类:
其他好文 时间:
2014-06-30 16:33:52
阅读次数:
186
Originally, I installed an Ubuntu using Wubi on my company's laptop (Lenovo W520). One purpose is for fun, the other is to use some instant messengers...
分类:
其他好文 时间:
2014-06-30 12:26:40
阅读次数:
326
#!/bin/sh
#****************************************************************#
# ScriptName: gccall.sh
# Function: compile *.c in current dir
#***********************************************************...
分类:
其他好文 时间:
2014-06-30 08:05:59
阅读次数:
146
#!/bin/sh
#****************************************************************#
# ScriptName: gccmodify.sh
# Function: compile *.c which mtime is 0 (in 24 hours) in current dir
#*************************...
分类:
其他好文 时间:
2014-06-30 08:04:56
阅读次数:
168
一、PYTHON文件类型1.源代码Python源代码的文件以“py”为扩展名,由Python解释,不需要编译;2.字节代码Python源文件经编译后生成的扩展名为“pyc”的文件;编译方法:importpy_compile
py_compile.compile(“helloworld.py”)3.优化代码经过优化的源文件,扩展名为“.pyo”py..
分类:
编程语言 时间:
2014-06-29 21:15:13
阅读次数:
411