摘要: 原文地址:http://hqlong.com/2010/01/1254.htmlvim技巧:折叠快捷键以前用的挺熟的,一段时间不用了,快捷键又忘了,不得不重新再看手册,今天专门整理一下,以后查找起来也比较方便。zc 折叠,只折叠最外层的折叠zC 对所在范围内所有嵌套的折叠点进行折叠,包括嵌套的所有折叠.zo 展开折叠,只展开最外层的折叠.zO 对所在范围内所有嵌套的折叠点展开,包括嵌套折叠.[z 到当前打开的折叠的开始处。]z 到当前打开的折叠的末尾处。zj 向下移动。到达下一个折叠的开始处。关闭的折叠也被计入。zk 向上移动到前一折叠的结束处。关闭的折叠也被zd 删除 (delete) 在光 阅读全文
posted @ 2011-06-10 03:38 wangkangluo1 阅读(11333) 评论(1) 推荐(0) 编辑
摘要: 快捷键 vim 图 阅读全文
posted @ 2011-06-10 02:34 wangkangluo1 阅读(2082) 评论(0) 推荐(0) 编辑
摘要: main.c#include <stdio.h>#include <stdlib.h>#include <string.h>#include "list.h"typedef struct girl { char name[30]; int bra; int beautiful;} girl_t ;void input_girl( girl_t * girl ){ printf("Input girl name: "); gets( girl->name ); printf("Input gril bra 阅读全文
posted @ 2011-06-09 21:32 wangkangluo1 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 双链表 c teacher-double-nohead-noloopmain.c#include <stdio.h>#include <stdlib.h>#include <string.h>#include "list.h"typedef struct girl { char name[30]; int bra; int beautiful;} girl_t ;void input_girl( girl_t * girl ){ printf("Input girl name: "); gets( girl->n 阅读全文
posted @ 2011-06-09 21:29 wangkangluo1 阅读(372) 评论(0) 推荐(0) 编辑
摘要: asp 静态生成:杂谈: 用ASP生成静态Html文件http://www.sina.com.cn 2007年04月05日 11:04 pconline太平洋电脑网作者:aspid 网页生成静态Html文件有许多好处,比如生成html网页有利于被搜索引擎收录,不仅被收录的快还收录的全。前台脱离了数据访问,减轻对数据库访问的压力,加快网页打开速度。 1.下面这个例子直接利用FSO把html代码写入到文件中然后生成.html格式的文件 <% filename="test.htm" if request("body")<>"&quo 阅读全文
posted @ 2011-06-09 21:13 wangkangluo1 阅读(394) 评论(0) 推荐(0) 编辑
摘要: asp sql数据库不在乎大小写删除:<%Dim numbernumber=1connstr="driver={SQL Server};server=(local);uid=sa;pwd=1234;database=b2bb2b" Set conn = Server.CreateObject("ADODB.Connection") conn.open connstrconn.execute "delete from buzaiyu_productshow where id>20131" conn.close Set rs= 阅读全文
posted @ 2011-06-09 21:11 wangkangluo1 阅读(430) 评论(0) 推荐(0) 编辑
摘要: asp 组建上传:AspUpload.dll注册组件 regsvr32 e:/aspupload.dll<HTML> <BODY> <% Set Upload = Server.CreateObject("Persits.Upload.1") Count = Upload.Save("\") %> <% = Count %> files uploaded. </BODY> </HTML><HTML> <BODY BGCOLOR="#FFFFFF" 阅读全文
posted @ 2011-06-09 21:07 wangkangluo1 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 1.php<?php$xmlStr =file_get_contents("1.xml");$dom = new DOMDocument('1.0');$dom ->loadXML($xmlStr);$xml = simplexml_import_dom($dom);$xpath = new DOMXPath($dom);$emps=$xpath->query("/root/members/member/name");echo $emps->item(0)->nodeValue;$emps->item( 阅读全文
posted @ 2011-06-09 21:04 wangkangluo1 阅读(240) 评论(0) 推荐(0) 编辑
摘要: javascript 文件操作目录:javascript读取本地文件javascript新建文件字符串spilt函数程序javascript读取本地文件<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title> New Document </title> <meta name="Generato 阅读全文
posted @ 2011-06-09 21:02 wangkangluo1 阅读(738) 评论(0) 推荐(0) 编辑
摘要: z-index html:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; 阅读全文
posted @ 2011-06-09 20:59 wangkangluo1 阅读(530) 评论(0) 推荐(0) 编辑