上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 47 下一页

2008年12月29日

DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" [转]!

摘要: 这段代码叫做DOCTYPE声明。DOCTYPE是document type(文档类型)的简写,用来说明你用的XHTML或者HTML是什么版本。这里说明你用的是"HTML 4.01"版本,类似的还有: 这里声明本文档使用的是XHTML 1.0版本. 其中的DTD(例如loose.dtd)叫文档类型定义,里面包含了文档的规则,浏览器就根据你定义的DTD来解释你页面的标识,并展现出来。 ... 阅读全文

posted @ 2008-12-29 18:35 starspace 阅读(1604) 评论(0) 推荐(0) 编辑

2008年12月28日

Using Link Tags with JavaScript

摘要: I get this question so much, I figured I'd better get in gear and write another section to address using the link tag for javascripts (such as new windows), rather than using the old grey button. Well... 阅读全文

posted @ 2008-12-28 12:26 starspace 阅读(255) 评论(0) 推荐(0) 编辑

2008年12月26日

python使用注意事项

摘要: 1. find() 查找子串,类似的还有 index() / rindex() / rfind()。rxxx 表示找最后一个子串, index 在找不到时会触发异常。 >>> "abcdefg".find("d", 1, -1) 3 >>> "abcdefg".find("d", 1, -4) -1 >>> "aa1111aaa".rfind("aaa") 6 >>> "aa1111aaa&qu 阅读全文

posted @ 2008-12-26 11:09 starspace 阅读(203) 评论(0) 推荐(0) 编辑

[Python] 简单类型

摘要: 整数 & 浮点数 整数有两种,分别是 int 和 long。其中 int 最大值是 2147483647 (sys.maxint),而 long 长度仅受内存大小限制。 >>> a = 123 >>> b = 123L >>> type(a) >>> type(b) 浮点数基本上也没有什么特别之处,不过要注意下面写法不同。 >>> a = 1 >>> b = 1.0 >>> type(a)... 阅读全文

posted @ 2008-12-26 11:06 starspace 阅读(284) 评论(0) 推荐(0) 编辑

2008年12月25日

PDF教程 - 如何开发Firefox插件

摘要: How to develop firefox extentions? I found a tutorial with PDF filetype,but there's no Chinese version available. 1.Development Overview http://www.rietta.com/firefox/Tutorial/overview.pdf 2.Enviro... 阅读全文

posted @ 2008-12-25 16:32 starspace 阅读(241) 评论(0) 推荐(0) 编辑

Xalan-C++

摘要: Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types. Xalan-C++ version 1.10 is a robust implementation of the W3C Recommendations for XSL Tra... 阅读全文

posted @ 2008-12-25 13:38 starspace 阅读(252) 评论(0) 推荐(0) 编辑

使用Xalan进行XSLT程序设计--命令行工具

摘要: Xalan 提供了命令行工具,这样,我们可以使用Xalan在本地硬盘上进行XSLT转换。使用方法如下: java org.apache.xalan.xslt.Process -IN foo.xml -XSL foo.xsl -OUT foo.out 参数说明如下: 参数 使用说明 ... 阅读全文

posted @ 2008-12-25 13:36 starspace 阅读(406) 评论(0) 推荐(0) 编辑

2008年12月24日

PHP and Web Services [转]

摘要: 学习材料是: [Wrox]Professional Open Source Web Services Chapter 8 PHP and Web Services 英文版电子书下载[pdf] 全文分为三个部分: 概述。PHP进行Web Services开发的优点,在Unix系统上安装配置PHP 在PHP中使用SOAP。NuSOAP工具包,NuSOAP的高级Web Servi... 阅读全文

posted @ 2008-12-24 13:49 starspace 阅读(367) 评论(0) 推荐(0) 编辑

perl打造自己的黑客工具 [转]

摘要: 学计算机程序的朋友最大的愿望就是能编出一款功能强大的程序,但实现起来却不容易,需要花很多时间来学习计算机语言,今天我就给大家介绍一个好用网络编程语言Practical Extraction and Report Language(perl),严格的说它只是个脚本语言,Perl象C一样强大,象awk、sed等脚本描述语言一样方便。 如果你用的是unix环境那你一定对perl很熟悉了,今天我要谈的... 阅读全文

posted @ 2008-12-24 09:43 starspace 阅读(1046) 评论(0) 推荐(0) 编辑

用Perl做了一个NetCat(nc)[转]

摘要: 这个机器有多古老?4.6-RELEASE FreeBSD,没有gcc,没有make,连系统都乱七八糟的,port都不好使,pkg_add -r安装包都会有问题,真是无语了,还好有安装了一个Perl 5.8.8。修理Port花了半天时间,硬是没搞好。想想也不划算,把紧急要用的一些小工具花一会儿功夫自己做一个出来算了,于是有了这个简单的perl版nc,不过我没支持-e参数,用不着。 ... 阅读全文

posted @ 2008-12-24 09:39 starspace 阅读(426) 评论(0) 推荐(0) 编辑

上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 47 下一页

导航