摘要: 1. 折叠方式可用选项 'foldmethod' 来设定折叠方式:set fdm=*****。有 6 种方法来选定折叠: manual 手工定义折叠indent 更多的缩进表示更高级别的折叠expr 用表达式来定义折叠syntax 用语法高亮来定义折叠diff 对没有更改的文本进行折叠marker 对文中的标志折叠注意,每一种折叠方式不兼容,如不能即用expr又用marker方式,我主要轮流使用i... 阅读全文
posted @ 2013-03-26 14:40 firmy 阅读(445) 评论(0) 推荐(0) 编辑
摘要: 转载一篇git使用的教程,感谢howhtml(http://blog.haohtml.com/archives/10129)txt笔记一篇:git常用命令点击查看以下教程主要参考"Git-tutor(Git使用指南):和http://blog.haohtml.com/archives/9066"实用指南而整理,第3章几乎直接在复制过来的.相关教程:在 CentOS 装 Git:http://blog.haohtml.com/archives/10093在FreeBSD下安装Git:http://blog.haohtml.com/archives/10065svn git 的windows客户端 阅读全文
posted @ 2013-03-26 14:40 firmy 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 1.DOMDocument方法 <?php $doc = new DOMDocument(); $doc->load( 'books.xml' ); $books = $doc->getElementsByTagName( "book" ); foreach( $books as $book ) { $authors = $book->getElementsByTagName( "author" ... 阅读全文
posted @ 2013-03-26 14:32 firmy 阅读(481) 评论(0) 推荐(0) 编辑