1.采集去除链接[Copy to
clipboard]CODE:{dede:trim}]*)>([^]*)>([^{/dede:trim}这样做会去掉与之间的字符!这样整个文章就少了部分字符,不完整了!后来我多次测试,总算找到了正确的使用方法!如下:{dede:trim}]*)>{/dede:tri...
分类:
其他好文 时间:
2014-05-23 07:07:02
阅读次数:
231
The OnMapReplaced event is triggered whenever
theIMapControl2::Mapis replaced by another map, such as when
theIMapControl2::LoadMxFilemethod is used o...
分类:
其他好文 时间:
2014-05-23 03:51:19
阅读次数:
261
nl2br() 函数在字符串中的每个新行 (\n) 之前插入 HTML 换行符 ()。例子输出:One
line.Another line.
分类:
其他好文 时间:
2014-05-22 15:30:53
阅读次数:
169
Evaluate the value of an arithmetic expression
inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an
integer or another express...
分类:
其他好文 时间:
2014-05-22 15:28:54
阅读次数:
175
改用debian差不多有半年了,之前一直用fedora,大概3年多,虽然软件包都很新,总是不太稳定,有点软件用着用着就自动退出了。换了debain之后,这半年还真是一直没啥问题,这里总结了一些安装配置方法,以后有的话再补充。1.
安装 deb 包对于以前一直用yum的我来说,刚开始还真不会用。dpk...
分类:
其他好文 时间:
2014-05-21 20:32:24
阅读次数:
346
在go里面,string和slice的互换是需要进行内存拷贝的,虽然在底层,它们都只是用
pointer +
len来表示的一段内存。通常,我们不会在意string和slice的转换带来的内存拷贝性能问题,但是总有些地方需要关注的,刚好在看vitess代码的时候,发现了一种很hack的做法,stri...
分类:
其他好文 时间:
2014-05-21 19:53:21
阅读次数:
223
When you subtract two variables of type TIMESTAMP, you get an INTERVAL DAY TO SECOND which includes a number of milliseconds and/or microseconds depending on the platform. If the database is running o...
分类:
其他好文 时间:
2014-05-21 15:36:38
阅读次数:
488
基于Linux安装过Oracle的童鞋们都应该清楚,安装Oracle的确是一件比较费时费力的差事,因为仅仅是前期的rpm包,内核参数,创建用户等等这些个步骤都让那些新手不免眼花缭乱,一不留神,就导致最终的安装过程中报错而不得不从头来过。现在基于Oracle Linux,Oracle仅仅需要通过安装oracle-rdbms-server-11gR2-preinstall RPM包即可全部搞定其余未安...
分类:
数据库 时间:
2014-05-21 15:24:47
阅读次数:
486
编辑/etc/apt/sources.list文件root@debian:~#cat/etc/apt/sources.list##debcdrom:[DebianGNU/Linux7_Wheezy_-OfficialSnapshotamd64LIVE/INSTALLBinary20131013-23:23]/wheezymain#debcdrom:[DebianGNU/Linux7_Wheezy_-OfficialSnapshotamd64LIVE/INSTALLBinary20131013-23:2..
分类:
其他好文 时间:
2014-05-21 13:03:37
阅读次数:
408
Description
A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = another sequence Z = is a subsequence of X if there exists a ...
分类:
其他好文 时间:
2014-05-21 10:58:39
阅读次数:
237