﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>语源科技BlogJava-绿毛肉粽</title><link>http://www.blogjava.net/evangel/</link><description>大海从鱼跃，长空任鸟飞。（此博客已停止更新，新地址：blog.csdn.net/evangel_z）</description><language>zh-cn</language><lastBuildDate>Sun, 12 Apr 2026 09:39:55 GMT</lastBuildDate><pubDate>Sun, 12 Apr 2026 09:39:55 GMT</pubDate><ttl>60</ttl><item><title>Mysql 相关网址推荐</title><link>http://www.blogjava.net/evangel/archive/2012/03/10/371621.html</link><dc:creator>绿毛肉粽</dc:creator><author>绿毛肉粽</author><pubDate>Sat, 10 Mar 2012 06:34:00 GMT</pubDate><guid>http://www.blogjava.net/evangel/archive/2012/03/10/371621.html</guid><wfw:comment>http://www.blogjava.net/evangel/comments/371621.html</wfw:comment><comments>http://www.blogjava.net/evangel/archive/2012/03/10/371621.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/evangel/comments/commentRss/371621.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/evangel/services/trackbacks/371621.html</trackback:ping><description><![CDATA[<div><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><a href="http://dev.mysql.com/doc/refman/5.1/zh/index.html" target="_blank" style="color: #336699; text-decoration: none; "><img src="http://dev.mysql.com/common/logos/logo-mysql-110x57.png" alt="MySQL" width="110" height="57" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; " /></a></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">MySQL 5.1参考手册<br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><a href="http://dev.mysql.com/doc/refman/5.1/zh/index.html" target="_blank" style="color: #336699; text-decoration: none; ">http://dev.mysql.com/doc/refman/5.1/zh/index.html</a></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><a href="http://dev.mysql.com/downloads/installer/" target="_blank"><img height="198" width="508" alt="MySQL Installer for Windows" src="http://dev.mysql.com/common/themes/sakila/banners/MySQLInstaller_Banner_en.jpg" data-pinit="registered" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; " /></a></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">MySQL 下载</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><a href="http://doc.mysql.cn/" style="color: #336699; text-decoration: none; "></a><a href="http://dev.mysql.com/downloads/" target="_blank" style="color: #336699; text-decoration: none; ">http://dev.mysql.com/downloads/</a><br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><img src="http://www.blogjava.net/images/blogjava_net/evangel/111.jpg" width="139" height="34" alt="" /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><a href="http://www.mysql.cn/" style="color: #336699; text-decoration: none; ">http://www.mysql.cn/</a><br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">MySQL 手册_中文<br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><a href="http://doc.mysql.cn/" target="_blank" style="color: #336699; text-decoration: none; ">http://doc.mysql.cn/</a><br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">MySQL 资料<br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><a href="http://info.mysql.cn/" target="_blank" style="color: #336699; text-decoration: none; ">http://info.mysql.cn/</a><br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">飞娥软件</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><a href="http://www.feiesoft.com/" target="_blank" style="color: #336699; text-decoration: none; ">http://www.feiesoft.com/</a></p></div><img src ="http://www.blogjava.net/evangel/aggbug/371621.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/evangel/" target="_blank">绿毛肉粽</a> 2012-03-10 14:34 <a href="http://www.blogjava.net/evangel/archive/2012/03/10/371621.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Java 网址推荐(含Html5)</title><link>http://www.blogjava.net/evangel/archive/2012/03/03/371169.html</link><dc:creator>绿毛肉粽</dc:creator><author>绿毛肉粽</author><pubDate>Sat, 03 Mar 2012 07:52:00 GMT</pubDate><guid>http://www.blogjava.net/evangel/archive/2012/03/03/371169.html</guid><wfw:comment>http://www.blogjava.net/evangel/comments/371169.html</wfw:comment><comments>http://www.blogjava.net/evangel/archive/2012/03/03/371169.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.blogjava.net/evangel/comments/commentRss/371169.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/evangel/services/trackbacks/371169.html</trackback:ping><description><![CDATA[<div><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><a href="http://www.java.net/" style="text-decoration: none; color: #336699; " target="_blank"><img src="http://home.java.net/sites/all/themes/java_adaptive/images/logo.png" alt="Java.net标志" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; " /></a></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><em>Java技术合作之源&nbsp;<a href="http://www.java.net/" style="text-decoration: none; color: #336699; " target="_blank">http://www.java.net/</a></em></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><em>Java.net Java开发人员和他们的项目是一个大型社区。</em></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><em>我们欢迎有兴趣的人，在Java相关的JVM技术，教育我们的讨论和项目。</em></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><em><a href="http://search.codesoso.com/default.aspx" style="text-decoration: none; color: #336699; " target="_blank"><img src="http://search.codesoso.com/images/logo2.gif" alt="源码搜搜" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; " /></a><br /></em></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><em><span style="font-family: Monaco, monospace; ">源码搜搜-专业源码搜索引擎</span><br /></em></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><em><span style="font-family: Monaco, monospace; "><a href="http://search.codesoso.com/default.aspx" style="text-decoration: none; color: #336699; " target="_blank">http://search.codesoso.com/default.aspx</a><br /></span></em></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><em></em></p><div style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><img src="file:///C:/Documents%20and%20Settings/Administrator/Application%20Data/Tencent/Users/1003255881/QQ/WinTemp/RichOle/C0%7B6GXJH35%60NPYIZ$X0[J(K.jpg" alt="" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; " /></div><div style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><img src="file:///C:/Documents%20and%20Settings/Administrator/Application%20Data/Tencent/Users/1003255881/QQ/WinTemp/RichOle/C0%7B6GXJH35%60NPYIZ$X0[J(K.jpg" alt="" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; " /></div><a href="http://blog.csdn.net/evangel_z/article/details/www.html5china.com" style="color: #336699; text-decoration: none; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "></a><a target="_blank"><img src="http://hi.csdn.net/attachment/201202/2/0_1328160161eze8.gif" alt="" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; " /></a><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><em><span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; color: #388222; "><a href="http://www.html5china.com/" style="text-decoration: none; color: #336699; " target="_blank">http://www.html5china.com</a><br /></span></em></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><em>HTML5中文网以促进HTML5在中国的普及而努力，面向中国HTML5开发者搭建的官方网站，</em></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><em>主要提供HTML5资讯、视频教程、游戏源码、网站演示、开发工具下载及论坛等专业服务。<br /></em></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><em><a href="http://www.css3-html5.com/" style="text-decoration: none; color: #336699; " target="_blank"><img src="http://www.css3-html5.com/statics/images/logo.jpg" alt="" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; " /></a><br /></em></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><a href="http://css3-html5.com/" style="text-decoration: none; color: #336699; " target="_blank"><em>http://css3-html5.com/</em></a><br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><em>CSS3+HTML5之家致力于CSS3,HTML5在中国的应用,发展.让更多技术爱好者了解和学习。</em><br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><em><a href="http://www.html5cn.org/portal.php?mod=list&amp;catid=39" style="text-decoration: none; color: #336699; " target="_blank"><img src="http://www.html5cn.org/data/attachment/portal/201112/20/141635i5u5n55nbyzquhu5.jpg" alt="" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; " /></a></em><a href="http://www.html5cn.org/portal.php?mod=list&amp;catid=41" style="text-decoration: none; color: #336699; " target="_blank"><img src="http://www.html5cn.org/data/attachment/portal/201112/20/141703adr9fokzxay200s9.jpg" alt="" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; " /></a></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">Html5 实用高清教程下载地址：<a href="http://download.csdn.net/detail/evangel_z/4041175" style="text-decoration: none; color: #336699; " target="_blank">http://download.csdn.net/detail/evangel_z/4041175</a></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><a href="http://www.3ds.com/" style="color: #336699; text-decoration: none; "><img src="http://hi.csdn.net/attachment/201202/3/0_1328245608S2sS.gif" alt="" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; " /></a></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">官方网址：<a href="http://www.3ds.com/" style="text-decoration: none; color: #336699; " target="_blank">http://www.3ds.com/</a></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><a href="http://www.3ds.com/products/3dvia/3dvia-composer/welcome/" style="color: #336699; text-decoration: none; "><img src="http://hi.csdn.net/attachment/201202/3/0_1328245850tN8W.gif" alt="" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; " /></a></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><a href="http://www.3ds.com/products/3dvia/3dvia-composer/welcome/" style="text-decoration: none; color: #336699; " target="_blank">http://www.3ds.com/products/3dvia/3dvia-composer/welcome/</a></p></div><img src ="http://www.blogjava.net/evangel/aggbug/371169.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/evangel/" target="_blank">绿毛肉粽</a> 2012-03-03 15:52 <a href="http://www.blogjava.net/evangel/archive/2012/03/03/371169.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>MyEclipse 相关有用设置</title><link>http://www.blogjava.net/evangel/archive/2012/02/25/370765.html</link><dc:creator>绿毛肉粽</dc:creator><author>绿毛肉粽</author><pubDate>Sat, 25 Feb 2012 05:43:00 GMT</pubDate><guid>http://www.blogjava.net/evangel/archive/2012/02/25/370765.html</guid><wfw:comment>http://www.blogjava.net/evangel/comments/370765.html</wfw:comment><comments>http://www.blogjava.net/evangel/archive/2012/02/25/370765.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/evangel/comments/commentRss/370765.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/evangel/services/trackbacks/370765.html</trackback:ping><description><![CDATA[<div><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><strong>1.Fonts 字体</strong></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">Windows -&gt; Preferences -&gt; General -&gt; Appearance&nbsp;-&gt; Colors and Fonts<br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">-&gt; Java&nbsp;-&gt;&nbsp;Java editor text font<br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">-&gt;&nbsp;Java -&gt;&nbsp;Properties File editor text font<br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">-&gt;&nbsp;Structured Text Editor&nbsp;-&gt;&nbsp;Structured text editor text font<br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">-&gt;&nbsp;Text Compare&nbsp;-&gt; Java compare text font<br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">-&gt;&nbsp;Text&nbsp;Compare&nbsp;-&gt;&nbsp;Java properties file compare text font<br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">-&gt;&nbsp;Text&nbsp;Compare&nbsp;-&gt;&nbsp;MANIFEST.MF compare text font<br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><strong>2.Background 背景</strong></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">Windows -&gt; Preferences -&gt; General -&gt; Editors -&gt; Text Editors -&gt;&nbsp;Background color<br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><strong>3.Content Assist 内容辅助</strong></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">Windows -&gt; Preferences -&gt;&nbsp;&nbsp;General -&gt; Keys -&gt; Content Assist</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><strong>4.Formatter 代码格式化</strong></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">Windows -&gt; Preferences -&gt; Java -&gt; Code Style -&gt;&nbsp;Formatter<br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><strong>5.&nbsp;JSP 默认编辑器</strong><br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">Windows -&gt; Preferences -&gt; General -&gt; Editors -&gt; File Associations<br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">在File Types文件类型列表，选中*.jsp，在Associated Editors列表框中选中MyEclipse JSP Editor，后单击default按钮</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><strong>6.Tomcat 配置</strong></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">Windows -&gt; Preferences -&gt; Myeclipse Enterprise Workbench -&gt; Servers -&gt; Tomcat&nbsp;-&gt;&nbsp;Tomcat &nbsp;6.x<br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">选择Enable，Tomcat的根目录F:\apache-tomcat-6.0.16</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><strong>7.Encoding 编码</strong></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">(1)将整个project设置编码UTF-8（UTF-8可以最大的支持国际化）</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">windows -&gt; Preferences -&gt; general -&gt; Workspace -&gt; Text file encoding -&gt; Other框中的Text file encoding改为UTF-8</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">(2)对java源文件编码设置为UTF-8</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">windows -&gt; Preferences -&gt; general -&gt; Content Types -&gt; Text，选择Java Source File，在下面的Default encoding输入框中输入UTF-8，点Update</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">(3)设置创建JSP页面时,将JSP的默认编码设为UTF-8&nbsp;</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">Window -&gt; Preferences -&gt; MyEclipse Enterprise Workbench&nbsp;-&gt; Files and Editors -&gt; JSP，将"Encoding"选为"ISO10646/Unicode(UTF-8)</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><strong>8.JSP&nbsp;去掉格式化时页面中的空行</strong></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">Window -&gt; Preferences -&gt; MyEclipse&nbsp;Enterprise Workbench&nbsp;-&gt; HTML -&gt; HTML Source&nbsp;</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">勾选"Clear all blank lines"</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><strong>9.Update&nbsp;关闭自动更新</strong></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">(1)Eclipse:&nbsp;</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">Windows &#8211;&gt; Perferences&#8211;&gt; Install/Update -&gt; Automatic Updates，不勾选"Automatically find new updates and notify me"&nbsp;<br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">(2)Myeclipse:&nbsp;</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">1)Windows &#8211;&gt; Perferences&#8211;&gt; MyEclipse Enterprise Workbench&nbsp;-&gt; Community Essentials，不勾选"Search for new features at startup"&nbsp;</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">2)Windows &#8211;&gt; Perferences&#8211;&gt; MyEclipse Enterprise Workbench&nbsp;-&gt; Maven4MyEclipse，不勾选"Download repository index updates on startup"&nbsp;</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><strong>10.Startup&nbsp;关闭不需要的启动项</strong></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">MyEclipse:Windows &#8211;&gt; Perferences&#8211;&gt; General&#8211;&gt; Startup and Shutdown<br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">(1) Tomcat6: 必备的...&nbsp;<br />(2) 内存监视器: 可以查看Myeclipse的使用内存, 我喜欢这工具(在菜单Myeclipse - Utilities - Show Heap Status打开)&nbsp;<br />(3) JSP Debug工具, 其实我也没用过, 怕有一天用到...&nbsp;<br />(4) 文件创建向导(个人经常用到)&nbsp;<br />(5) 向后兼容的意思吧, 怕有一天会用到, 但其实很少用, 可去掉&nbsp;<br />(6) 透视图, 应该可以去掉吧...&nbsp;</p></div><img src ="http://www.blogjava.net/evangel/aggbug/370765.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/evangel/" target="_blank">绿毛肉粽</a> 2012-02-25 13:43 <a href="http://www.blogjava.net/evangel/archive/2012/02/25/370765.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>程序员水平分级 你属于哪一类？(转)</title><link>http://www.blogjava.net/evangel/archive/2012/02/18/370238.html</link><dc:creator>绿毛肉粽</dc:creator><author>绿毛肉粽</author><pubDate>Sat, 18 Feb 2012 07:39:00 GMT</pubDate><guid>http://www.blogjava.net/evangel/archive/2012/02/18/370238.html</guid><wfw:comment>http://www.blogjava.net/evangel/comments/370238.html</wfw:comment><comments>http://www.blogjava.net/evangel/archive/2012/02/18/370238.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.blogjava.net/evangel/comments/commentRss/370238.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/evangel/services/trackbacks/370238.html</trackback:ping><description><![CDATA[<div><p style="line-height: 25px; text-align: left; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><strong>导读：近日，<a target="_blank" href="http://www.whattofix.com/blog/archives/2012/02/what-level-prog.php" style="color: #015fb6; text-decoration: none; ">whattofix.com</a>刊登了一篇<a target="_blank" href="http://www.whattofix.com/blog/archives/2012/02/what-level-prog.php" style="color: #015fb6; text-decoration: none; ">Daniel Markham</a>的文章《<a target="_blank" href="http://www.whattofix.com/blog/archives/2012/02/what-level-prog.php" style="color: #015fb6; text-decoration: none; ">What Level Programmer Are You?</a>》，文内将参差不齐的程序员按照技术水平分为从&#8220;读写&#8221;到&#8220;上帝&#8221;，共十一个阶段，以帮助广大程序员找到自身定位并从中发现自己发展方向。以下是文章摘要：</strong></p><p style="line-height: 25px; text-align: left; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; ">随着技术发展，编程悄然融入了我们的生活。我们已然离不开那些程序和编程语言。很多人都在不同程度地谈论着如何编程，也诞生出很多编程语言排行，那么程序员到底应该如何分级呢？</p><p style="line-height: 25px; text-align: left; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; ">首先要明白什么是程序员。设计自己的Apache Web服务器的家伙？制作一个复杂Excel的家伙？还是能自己开发RPG的家伙？Minecraft的玩家？这些都属于程序员的哪一个级别呢？当我们说：&#8220;每个人都需要了解编程&#8221;，这句话意味着什么？</p><p style="line-height: 25px; text-align: left; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; ">所以，我们需要制定一个程序员的等级，以便让程序员们了解自己所处的环境和发展方向。</p><p style="line-height: 25px; text-align: left; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><strong>Level 1，读写</strong>&#8212;&#8212;他们了解设置Web服务器的方法，在普通情况下能够通过配置方式获取工作所需要的东西。他们有使用文本编辑器和文件系统的基础知识，还拥有移动和操作文件的能力，如ZIP和FTP。也能在结构中使用抽象符号、解析方式以及系统技能。</p><p style="line-height: 25px; text-align: center; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><img border="0" alt="" src="http://articles.csdn.net/uploads/allimg/120214/89_120214101233_1.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; cursor: pointer; width: 220px; height: 189px; " /></p><p style="line-height: 25px; text-align: left; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><strong>Level 2，脚本</strong>&#8212;&#8212;能够编写线性脚本告诉电脑要做什么，能够学习和使用自己的符号。如果有足够的时间和书面指导，他们可以使用bash或VB编写一些简单脚本，为自己做些实用的事情。</p><p style="line-height: 25px; text-align: center; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><img border="0" alt="" src="http://articles.csdn.net/uploads/allimg/120214/89_120214101251_1.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; cursor: pointer; width: 203px; height: 203px; " /></p><p style="line-height: 25px; text-align: left; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><strong>Level 3，管理员</strong>&#8212;&#8212;这些人了解库和API，并有能力学习更多。他们知道不管使用什么脚本语言都需要连接库。如果他们遇到问题，可以通过阅读使用手册或是在网上搜索库来解决。在工作中他能够发现或是开发自己的符号（使用struct编写函数或是声明）。大多数系统程序员都处在这个等级阶段，Excel的初级宏系统用户也同样处在这个阶段。</p><p style="line-height: 25px; text-align: center; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><img border="0" alt="" src="http://articles.csdn.net/uploads/allimg/120214/89_120214101838_1.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; cursor: pointer; width: 289px; height: 149px; " /></p><p style="line-height: 25px; text-align: left; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><strong>Level 4，高级实践者</strong>&#8212;&#8212;刚开始接触耦合性与内核，他们能编写自己的对象化脚本（有公有/私有成员和方法）。这些人能玩转技巧，了解库和构建类。如果不使用类，他们也能够创建自己的模块或是代码文件。高级脚本用户可远不止这样，有一些Excel技巧经验丰富的股票经纪人，他们使用自己VBA作为基础代码，而没有意识到自己处于这个级别。</p><p style="line-height: 25px; text-align: left; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><strong>Level 5，掌握多种技能</strong>&#8212;&#8212;一旦上升到这个级别，将会遇到各种各样的麻烦。常见编程下一阶段就是能够使用多重框架。这些人可以编写C#，也知道如何创建表格和编写SQL语句；可以编写C，同时也会使用JavaScript和HTML。这两个技能并不代表他们就是大师，只是要学会在理解同一个问题上，需要通过多种不同的方式来找寻答案。</p><p style="line-height: 25px; text-align: center; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><img width="600" border="0" alt="" src="http://articles.csdn.net/uploads/allimg/120214/89_120214102312_1.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; cursor: pointer; " /></p><p style="line-height: 25px; text-align: left; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><strong>Level 6，初级构架师</strong>&#8212;&#8212;这阶段的人才算是真正的从事编程工作。他们每天的工作就是要深入了解库和API。并不要求他们必须记住这些，但要了解用不同的模式去实现自己的目标。想要在Win32中绘制？可能需要一些GDI资源句柄，他们知道句柄是在系统表某处的一个UInt32 hash&#8212;&#8212;常见的Win32范例。想在自己的库中添加jQuery？新库里有很多格式，他们应该知道怎么做并且能解释其工作方式。与此同时，也要开始学习如何重构自己的代码并突显亮点，增强其代码的质量，慢慢地你会理解。</p><p style="line-height: 25px; text-align: center; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><img border="0" alt="" src="http://articles.csdn.net/uploads/allimg/120214/89_120214102658_1.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; cursor: pointer; width: 278px; height: 247px; " /></p><p style="line-height: 25px; text-align: left; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><strong>Level 7，资深构架师</strong>&#8212;&#8212;他们的时间是用来创建自己的API、平台或是库。也许这是一个大项目的必需品，也许只是他们个人想把自己的学识推广出去。他们开发的系统为用户解决实际问题，所面对的受众群是Level 5程序员。在这个阶段需要深入OOAD，模板和实践。我们大多数人在刚开始都会搞得一团糟，不能理解怎么用更加简单的方法将复杂事情简易化。这个阶段需要历经很长时间，需要不断修正错误，开发高质量的系统并创建更复杂、灵活性高的库。当他们从外面接受几个月的特定培训回来，肯定希望团队其他人都能理解他做了什么。</p><p style="line-height: 25px; text-align: left; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><strong>Level 8，诠释者</strong>&#8212;&#8212;在某些时候，希望这些人能意识到大量复杂信息投入结构和构架中可以更好地形容特定域的语言，其受众群体是Level 4程序员。代码的复杂性增大，就能减少代码的数量，DSL开放可以将代码展示到各种地方。总之，他们将成为程序员使用脚本语言方面的作家。通过易于使用的脚本和导向将他们的系统开放给初学者。可以分别学习这些技能，但大多数情况是在复杂的结构后，最终走向DSL的道路。很快就能看到最初规模：利用自己编写的DSL能够很好的理解问题。</p><p style="line-height: 25px; text-align: center; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><img border="0" alt="" src="http://articles.csdn.net/uploads/allimg/120214/89_120214102745_1.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; cursor: pointer; width: 264px; height: 214px; " /></p><p style="line-height: 25px; text-align: left; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><strong>Level 9，函数式编程</strong>&#8212;&#8212;慢慢接近奖金，他们要开始学习如何函数式编程。其受众群是Level 3的程序员。函数式编程是必不可少的，帮助他们轻松地脱离DSL，并能够大幅度减少代码数量来解决问题，同时拥有较高的扩展性。某些功能语言在系统运行时可以hot&#8211;swap，慢慢就会感觉到已经接近先进水平。函数式编程是一切问题的答案，它可以减少Bug，提升开发效率，但代码也相对来说很难学。程序员的脑海里需要时刻记忆很多东西&#8212;&#8212;他们必须要记住繁琐的复杂符号。但是，结根到底函数式编程只是道路上的一个阶段，就像OOAD一样。</p><p style="line-height: 25px; text-align: left; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><strong>Level 10，面向语言设计师</strong>&#8212;&#8212;他们查看所有新创建的编程语言程序。惟一的区别是新语言应该做什么。他们了解如何开发面向对象语言，语言功能和脚本语言，知道每一个语言在何时何地的用途。其受众群是Level 2程序员。他们对每一个项目都会问：&#8220;这个项目我们需要什么样的语言？&#8221;在项目完结后他们将会得到一个很好的工具，既解决了问题并易于理解还扩展了入门级程序员。大多数项目不需要面向语言设计师。</p><p style="line-height: 25px; text-align: center; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><img width="400" border="0" alt="" src="http://articles.csdn.net/uploads/allimg/120215/89_120215092923_1.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; cursor: pointer; " /></p><p style="line-height: 25px; text-align: left; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><strong>上帝级别，计算机科学家</strong>&#8212;&#8212;要么就是编程的顶峰要么就不存在，这个取决于自己的观点。这个就是科学规划，在里面有很多很酷的东西。任何一个人都是其受众群体。但重点不是在于做人们想要的东西，而是促进学术的发展。因为大多数编程能力水平都是基于人而言，人们居住在世界各地，也是必要条件之一。如何简单的在两国之间相互来往？</p><p style="line-height: 25px; text-align: center; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; "><img border="0" alt="" src="http://articles.csdn.net/uploads/allimg/120214/89_120214104519_1.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; cursor: pointer; width: 259px; height: 313px; " /></p><p style="line-height: 25px; text-align: left; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; ">你在这里可能受到很多启发，例如，首先学习函数式编程再学习OOP。你也可以开发自己的编译器，这不是大学的乐趣吗？或是程序集，或是真正理解集理论，或是如何开发适用于数据库与编程数据的结构，或是开发你的第一个编程工具。</p><p style="line-height: 25px; text-align: left; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #f8fafd; ">这些是我所看到的大多数程序员所遵循的道路。<br /></p><div>原文链接：<a href="whattofix.com" target="_blank">whattofix.com</a><div style="color: #015fb6; text-decoration: none; "><span style="color: #000000; ">译</span><span style="color: #000000; "><font color="#015fb6" style="color: #015fb6; text-decoration: none; "><a target="_blank" href="http://www.whattofix.com/blog/archives/2012/02/what-level-prog.php" style="color: #015fb6; text-decoration: none; "><span style="color: #000000; ">文链接：</span></a></font><a target="_blank" href="http://www.whattofix.com/blog/archives/2012/02/what-level-prog.php"></a></span><a href="http://news.csdn.net/a/20120213/311745.html" target="_blank">http://news.csdn.net/a/20120213/311745.html</a></div><a target="_blank" href="http://www.whattofix.com/blog/archives/2012/02/what-level-prog.php"></a></div><div><table align="left" style="color: #000000; font-size: 12px; line-height: 18px; text-align: left; "><tbody><tr><td align="left" id="selectnum"><strong>你认为自己属于哪一级别的程序员？</strong></td></tr><tr><td><input type="radio" id="451poll_option" name="csdn_poll" value="0_____Level 1，读写" />Level 1，读写</td></tr><tr><td><input type="radio" id="451poll_option" name="csdn_poll" value="1_____Level 2，脚本" />Level 2，脚本</td></tr><tr><td><input type="radio" id="451poll_option" name="csdn_poll" value="2_____Level 3，管理员" />Level 3，管理员</td></tr><tr><td><input type="radio" id="451poll_option" name="csdn_poll" value="3_____Level 4，高级实践者" />Level 4，高级实践者</td></tr><tr><td><input type="radio" id="451poll_option" name="csdn_poll" value="4_____Level 5，掌握多种技能" />Level 5，掌握多种技能</td></tr><tr><td><input type="radio" id="451poll_option" name="csdn_poll" value="5_____Level 6，初级构架师" />Level 6，初级构架师</td></tr><tr><td><input type="radio" id="451poll_option" name="csdn_poll" value="6_____Level 7，资深构架师" />Level 7，资深构架师</td></tr><tr><td><input type="radio" id="451poll_option" name="csdn_poll" value="7_____Level 8，诠释者" />Level 8，诠释者</td></tr><tr><td><input type="radio" id="451poll_option" name="csdn_poll" value="8_____Level 9，函数式编程" />Level 9，函数式编程</td></tr><tr><td><input type="radio" id="451poll_option" name="csdn_poll" value="9_____Level 10，面向语言设计师" />Level 10，面向语言设计师</td></tr><tr><td><input type="radio" id="451poll_option" name="csdn_poll" value="10_____Level God，计算机科学家" />Level God，计算机科学家</td></tr><tr><td align="center"><input type="button" id="451vote_submit" value="提交" />&nbsp;<input type="button" id="451vote_result" value="查看" /></td></tr></tbody></table></div><p>&nbsp;</p></div><img src ="http://www.blogjava.net/evangel/aggbug/370238.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/evangel/" target="_blank">绿毛肉粽</a> 2012-02-18 15:39 <a href="http://www.blogjava.net/evangel/archive/2012/02/18/370238.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Matlab 基本命令、快捷键及常用操作</title><link>http://www.blogjava.net/evangel/archive/2012/02/18/370231.html</link><dc:creator>绿毛肉粽</dc:creator><author>绿毛肉粽</author><pubDate>Sat, 18 Feb 2012 03:30:00 GMT</pubDate><guid>http://www.blogjava.net/evangel/archive/2012/02/18/370231.html</guid><wfw:comment>http://www.blogjava.net/evangel/comments/370231.html</wfw:comment><comments>http://www.blogjava.net/evangel/archive/2012/02/18/370231.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/evangel/comments/commentRss/370231.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/evangel/services/trackbacks/370231.html</trackback:ping><description><![CDATA[<div><div><div><h4><strong>有关命令行环境的一些操作</strong></h4><div>(1) clc</div><div>擦去一页命令窗口,光标回屏幕左上角</div><div></div><div>(2) clear</div><div>从工作空间清除所有变量</div><div></div><div>(3) clf</div><div>清除图形窗口内容</div><div></div><div>(4) who</div><div>列出当前工作空间中的变量</div><div></div><div>(5) whos</div><div>列出当前工作空间中的变量及信息或用工具栏上的Workspace浏览器</div><div></div><div>(6) delete &lt;文件名&gt;</div><div>从磁盘删除指定文件</div><div></div><div>(7) which &lt;文件名&gt;</div><div>查找指定文件的路径</div><div></div><div>( 9 ) clear all</div><div>从工作空间清除所有变量和函数</div><div></div><div>(10) help &lt;命令名&gt;</div><div>查询所列命令的帮助信息</div><div></div><div>(11) save name</div><div>保存工作空间变量到文件name.mat</div><div></div><div>(12) save name xy</div><div>保存工作空间变量x y到文件name.mat</div><div></div><div>(13)load name</div><div>加载&#8216;name&#8217;文件中的所有变量到工作空间</div><div></div><div>(14) load name x y</div><div>加载&#8216;name&#8217;文件中的变量x y到工作空间</div><div></div><div>(15)diary name1.m</div><div>保存工作空间一段文本到文件name1.m</div><div>diary off</div><div>关闭日志功能</div><div></div><div>(16)type name.m</div><div>在工作空间查看name.m文件内容</div><div></div><div>(17)what</div><div>列出当前目录下的m文件和mat文件</div><div></div><div>&#8593;或者Ctrl+p</div><div>调用上一次的命令</div><div></div><div>&#8595;或者Ctrl+n</div><div>调用下一行的命令</div><div></div><div>&#8592;或者Ctrl+b</div><div>退后一格</div><div></div><div>&#8594;或者Ctrl+f</div><div>前移一格</div><div></div><div>Ctrl +&#8592;或者Ctrl+r</div><div>向右移一个单词</div><div></div><div>Ctrl + &#8594;或者Ctrl+l</div><div>向左移一个单词</div><div></div><div>Home或者Ctrl+a</div><div>光标移到行首</div><div></div><div>End或者Ctrl+e</div><div>光标移到行尾</div><div></div><div>Esc或者Ctrl+u</div><div>清除一行</div><div></div><div>Del或者Ctrl+d</div><div>清除光标后字符</div><div></div><div>Backspace或者Ctrl+h</div><div>清除光标前字符&nbsp;</div><div>Ctrl+k</div><div>清除光标至行尾字</div><div></div><div>Ctrl+c</div><div>中断程序运行</div><div></div><h4>常用基本函数命令</h4><div></div><div>一．常用的窗口命令</div><div></div><div>help 启动联机帮助文件显示</div><div>what 列出当前目录下的有关文件</div><div>type 列出M文件</div><div>lookfor 对help信息中的关键词查找</div><div>which 找出函数与文件所在的目录名</div><div>demo 运行MATLAB的演示程序</div><div>path 设置或查询MATLAB的路径</div><div></div><div>二．有关文件及其操作的语句</div><div></div><div>cd 改变当前的工作目录</div><div>dir 列出当前目录的内容</div><div>delete 删除文件</div><div>getenv 获得环境参数</div><div>unix 执行操作系统命令并返回结果</div><div>diary 将MATLAB运行的命令存盘</div><div>fopen 打开文件</div><div>fclose 关闭文件</div><div>fread 从文件中读取二进制数据</div><div>fwrite 向一个文件写二进制数据</div><div>fscanf 从文件读取格式化数据</div><div>fprintf 将格式化数据写入文件</div><div>fgetl 从文件中读行并放弃换行符</div><div>fgets 从文件中读行并保持换行符</div><div>ferror 查询文件的输入输出的错误信息</div><div>feof 检查文件结束标志</div><div>fseek 设置文件位置指针</div><div>ftell 得到文件位置指针的位置</div><div>prewind 反绕一个打开的文件</div><div>tempname 建立临时的文件名</div><div>tempdir 返回一个已存在的临时目录名</div><div></div><div>三．启动与退出的命令</div><div></div><div>quit,exit 退出MATLAB环境</div><div>startup MATLAB自启动文件</div><div>matlabrc 启动主程序</div><div></div><div>四．管理变量工作空间的命令</div><div></div><div>who 简要列出工作空间变量名</div><div>whos 详细列出工作空间变量名</div><div>load 从文件中读入变量</div><div>save 列出工作空间中变量存盘</div><div>clear 删除内存中的变量与函数</div><div>pack 整理工作空间的内存</div><div>size 查询矩阵的维数</div><div>disp 显示矩阵和文本</div><div>length 查询矢量的维数</div><div></div><div>五．对命令窗口控制的常用命令</div><div></div><div>cedit 设置命令行编辑与回调的参数</div><div>clc 清除命令窗口中的显示</div><div>home 将光标移动到左上角位置</div><div>format 设置输出格式</div><div>echo 显示文件中的MATLAB命令</div><div>more 控制命令窗口的输出页面</div><div></div><h4>MATLAB快捷键心得总结</h4><div></div><div>在使用MATLAB时，如果对一些快捷键比较熟悉，那么也会大大提高编程的效率，自己常用的一些快捷键写出来，供大家参考，遗漏的欢迎大家给加上谢谢先O(&#8745;_&#8745;)O~</div><div></div><div>注释：</div><div>Ctrl+r 添加注释，并且对多行有效，注释号在行头</div><div>Ctrl+t 取消注释，并且对多行有效</div><div></div><div>自动调整：</div><div>Ctrl+i 自动调整缩进格式，比如有if&#8230;&#8230;end，for&#8230;&#8230;end语句但是没有缩进的话程序不太好看，可以使用此键，对多行有效的</div><div></div><div>切换窗口：</div><div>Ctrl+Tab 可以在Command Window，Current Directory和Command history之间切换当前空间</div><div></div><div>命令有关：</div><div>上下箭头 寻找此前和后输入的命令，每次一条；或者是输入少量字母，那么显示出来最后一条以该字母为开头的命令</div><div>Esc：删除当前行的全部内容</div><div></div><div>程序运行：</div><div>F12 设置取消断点</div><div>F5 运行</div><div></div><h4>基本函数及运算</h4><div></div><div>1、运算符：</div><div>＋：加， &nbsp;－：减， &nbsp;*：乘， &nbsp;/： 除， \：左除 &nbsp;^： &nbsp;幂，&#8216;：复数的共轭转置， （）：制定运算顺序。</div><div></div><div>2、常用函数表：</div><div>sin( ) &nbsp; 正弦（变量为弧度） &nbsp;&nbsp;</div><div>Cot( ) &nbsp; 余切（变量为弧度）</div><div>sind( ) &nbsp;正弦（变量为度数） &nbsp;</div><div>Cotd( ) &nbsp;余切（变量为度数）</div><div>asin( ) &nbsp;反正弦（返回弧度） &nbsp; &nbsp;&nbsp;</div><div>acot( ) &nbsp;反余切（返回弧度） &nbsp; &nbsp;</div><div>Asind( ) 反正弦（返回度数） &nbsp; &nbsp;</div><div>acotd( ) 反余切（返回度数） &nbsp; &nbsp;</div><div>cos( ) &nbsp; 余弦（变量为弧度） &nbsp; &nbsp;&nbsp;</div><div>exp( ) &nbsp; 指数 &nbsp; &nbsp;&nbsp;</div><div>cosd( ) &nbsp;余弦（变量为度数） &nbsp;&nbsp;</div><div>log( ) &nbsp; 对数 &nbsp;&nbsp;</div><div>acos( ) &nbsp;余正弦（返回弧度） &nbsp;&nbsp;</div><div>log10( ) 以10为底对数</div><div>acosd( ) 余正弦（返回度数） &nbsp; &nbsp;&nbsp;</div><div>sqrt( ) &nbsp;开方 &nbsp; &nbsp; &nbsp;&nbsp;</div><div>tan( ) &nbsp; 正切（变量为弧度） &nbsp; &nbsp; &nbsp;</div><div>realsqrt( ) 返回非负根</div><div>tand( ) &nbsp;正切（变量为度数） &nbsp; &nbsp; &nbsp; &nbsp;</div><div>abs( ) &nbsp; 取绝对值 &nbsp;&nbsp;</div><div>atan( ) &nbsp;反正切（返回弧度） &nbsp; &nbsp;&nbsp;</div><div>angle( ) 返回复数的相位角</div><div>atand( ) 反正切（返回度数） &nbsp; &nbsp; &nbsp; &nbsp;</div><div>mod(x,y) 返回x/y的余数 &nbsp;&nbsp;</div><div>sum( &nbsp;) &nbsp;向量元素求和</div><div></div><div>3、其余函数帮助：</div><div>可以用help elfun和help specfun命令获得。</div><div></div><div>4、常用常数的值：</div><div>pi &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3.1415926&#8230;&#8230;. &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>realmin &nbsp; &nbsp; &nbsp; 最小浮点数，2^-1022</div><div>i &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 虚数单位 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>realmax &nbsp; &nbsp; &nbsp; 最大浮点数，（2－eps）2^1022</div><div>j &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 虚数单位 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>Inf &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 无限值</div><div>eps &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 浮点相对经度＝2^-52 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>NaN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 空值</div></div></div></div><img src ="http://www.blogjava.net/evangel/aggbug/370231.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/evangel/" target="_blank">绿毛肉粽</a> 2012-02-18 11:30 <a href="http://www.blogjava.net/evangel/archive/2012/02/18/370231.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>程序员笑话</title><link>http://www.blogjava.net/evangel/archive/2012/02/07/369506.html</link><dc:creator>绿毛肉粽</dc:creator><author>绿毛肉粽</author><pubDate>Tue, 07 Feb 2012 02:16:00 GMT</pubDate><guid>http://www.blogjava.net/evangel/archive/2012/02/07/369506.html</guid><wfw:comment>http://www.blogjava.net/evangel/comments/369506.html</wfw:comment><comments>http://www.blogjava.net/evangel/archive/2012/02/07/369506.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/evangel/comments/commentRss/369506.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/evangel/services/trackbacks/369506.html</trackback:ping><description><![CDATA[<div><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">上联：为系统而生，为框架而死，为debug奋斗一辈子&nbsp;</p><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">下联：吃符号的亏，上大小写的当，最后死在需求上！&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">横批：悲剧程序员......<br /></p><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #333333; ">世界上最遥远的距离，是我在if里你在else里，似乎一直相伴又永远分离；世界上最痴心的等待，是我当case你是switch，或许永远都选不上自己；世界上最真情的相依，是你在try我在catch。无论你发神马脾气，我都默默承受，静静处理。到那时，再来期待我们的finally ！</span></div><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><strong>爱情观&nbsp;</strong><br />爱情就是死循环，一旦执行就陷进去了。&nbsp;<br />爱上一个人，就是内存泄漏--你永远释放不了。&nbsp;<br />真正爱上一个人的时候，那就是常量限定，永远不会改变。&nbsp;<br />女朋友就是私有变量，只有我这个类才能调用。&nbsp;<br />情人就是指针用的时候一定要注意，要不然就带来巨大的灾难。<br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><strong>女人篇&nbsp;</strong><br />有的女人就是Windows虽然很优秀，但是安全隐患太大。&nbsp;<br />有的女人就是MFC她条件很好，然而不是谁都能玩的起。&nbsp;<br />有的女人就是C#长的很漂亮，但是家务活不行。&nbsp;<br />有的女人就是C++,她会默默的为你做很多的事情。&nbsp;<br />有的女人就是汇编虽然很麻烦，但是有的时候还得求它。&nbsp;<br />有的女人就是SQL，她会为你的发展带来莫大的帮助。<br />有的女生就像UNIX 她条件很好，然而不是谁都能玩的起。<br />有的女生就像Linux 她是开源的，谁都可以用，但是安装很多东西的时候都需要环境配置。<br />有的女生就像Java,只需一点付出她就会为你到处服务。&nbsp;<br />有的女生就像Java script ，虽然对她处处小心但最终还放不了。<br /></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><strong>程序员喝酒&nbsp;</strong><br />　　大家喝的是啤酒。这时你入座了。&nbsp;<br />　　你给自己倒了杯可乐，这叫低配置。&nbsp;<br />　　你给自已倒了杯啤酒，这叫标准配置。&nbsp;<br />　　你给自己倒了杯茶水，这茶的颜色还跟啤酒一样，这叫木马。&nbsp;<br />　　你给自己倒了杯可乐，还滴了几滴醋，不仅颜色跟啤酒一样，而且不冒热气还有泡泡，这叫超级木马。&nbsp;<br />　　你的同事给你倒了杯白酒，这叫推荐配置。&nbsp;<br />人到齐了，酒席开始了。&nbsp;<br />　　你先一个人喝了一小口，这叫单元测试。&nbsp;<br />　　你跟旁边的人说哥们咱们随意，这叫交叉测试。&nbsp;<br />　　但是他说不行，这杯要干了，这叫压力测试。&nbsp;<br />　　于是你说那就大家一起来吧，这叫内部测试。&nbsp;<br />　　这个时候boss向全场举杯了，这叫公开测试。&nbsp;<br />菜过三巡，你就不跟他们客气了。&nbsp;<br />　　你向对面的人敬酒，这叫p2p.&nbsp;<br />　　你向对面的人敬酒，他回敬你，你又再敬他...这叫tcp.&nbsp;<br />　　你向一桌人挨个敬酒，这叫令牌环。&nbsp;<br />　　你说只要是兄弟就干了这杯，这叫广播。&nbsp;<br />　　可是你的上司jj听了不高兴了，只有兄弟么，罚酒三杯。这叫炸弹。&nbsp;<br />　　可是你的下级mm听了不高兴了，我喝一口，你喝一杯，这叫恶意攻击。&nbsp;<br />　　有一个人过来向这桌敬酒，你说不行你先过了我这关，这叫防火墙。&nbsp;<br />　　你的小弟们过来敬你酒，这叫一对多。&nbsp;<br />　　你是boss，所有人过来敬你酒，这叫服务器。&nbsp;<br />酒是一样的，可是喝法是不同的。&nbsp;<br />　　你喝了一杯，boss喝了一口，这叫c#。&nbsp;<br />　　你喝了一杯，mm喝了一口，这叫vb。&nbsp;<br />　　你喝了一杯，你大哥喝了半杯，这叫c++。&nbsp;<br />　　你喝了半杯，你小弟喝了一杯，这叫汇编。&nbsp;<br />　　你喝了一杯，你的搭档也喝了一杯，这叫c。&nbsp;<br />酒是一样的，可是喝酒的人是不同的。&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; 你越喝脸越红，这叫频繁分配释放资源。&nbsp;<br />　　你越喝脸越白，这叫资源不释放。&nbsp;<br />　　你已经醉了，却说我还能喝，叫做资源额度不足。&nbsp;<br />　　你明明能喝，却说我已经醉了，叫做资源保留。&nbsp;<br />　　你喝一段时间就上厕所，这叫cache。&nbsp;<br />酒过三巡，你也该活动活动了。&nbsp;<br />　　你一桌一桌的走，这叫轮巡。&nbsp;<br />　　你突然看到某一桌的漂亮mm，走了过去，这叫优先级。&nbsp;<br />　　你去了坐下来就不打算走了，这叫死循环。&nbsp;<br />　　你的老大举杯邀你过去，你只好过去，这叫启动事件。&nbsp;<br />　　你向一桌敬酒，他们说不行不行我们都喝白的，于是你也喝白的，这叫本地化。&nbsp;<br />　　你向boss敬酒，可是boss被围了起来，你只能站在外圈，这叫排队。&nbsp;<br />　　你终于到了内圈，小心翼翼的向前一步，这叫访问临界区。&nbsp;<br />　　你拍着boss的肩膀说哥们咱们喝一杯，这叫越界。&nbsp;<br />　　你不知喝了几圈了，只会说两个字，干了，这叫udp。&nbsp;<br />　　可是还有人拿着酒瓶跑过来说，刚才都没跟你喝，这叫丢包。&nbsp;<br />喝酒喝到最后的结果都一样。&nbsp;<br />　　你突然跑向厕所，这叫捕获异常。&nbsp;<br />　　你在厕所吐了，反而觉得状态不错，这叫清空内存。&nbsp;<br />　　你在台面上吐了，觉得很惭愧，这叫程序异常。&nbsp;<br />　　你在boss面前吐了，觉得很害怕，这叫系统崩溃。&nbsp;<br />　　你吐到了boss身上，只能索性晕倒了，这叫硬件休克。&nbsp;</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><strong>我们都笑了：</strong><br />Borland说我很有前途，Sun笑了；Sun说我很有钱，IBM笑了；IBM说我很专业，Sybase笑了；Sybase说我数据库很牛，Oracle笑了；Oracle说我是开放的，Linux笑了；Linux说我要打败Unix，微软笑了；微软说我的系统很稳定，我们都笑了。</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><strong>语言与汽车：</strong><br />Delphi就象吉普车，什么路上都能开，却在什么路上也开不好；PB就象卡丁车，只能在固定线路上开，到了室外就有些不稳了；VC就象是跑车，你开得起却买不起，而且一旦发生故障，想修都找不到毛病在哪；Java就象敞棚车，不管刮风下雨，还是艳阳高照，都能照开不误；VB就是摩托车了，骑的时间越长，你越痛恨它！&nbsp;</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><strong>程序员的理想：</strong><br />天下语言剩一庙，晚上加班M M 抱；&nbsp;<br />部门经理都死掉，全部奖金一人要。 &nbsp;</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><strong>几个年龄段的程序员：</strong><br />20岁的程序员没实力，30岁的程序员会做PPT，40岁的程序员有实力没魅力，50岁的程序员只有资历，60岁的程序员抱着孙子说这就是IT，70岁的程序员躺着病床上用电脑给自己算命。 &nbsp;</p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><strong>程序员四大悲：</strong><br />请假遇减薪，辞职逢生病，升迁遇倒闭，出差在外地。</p></div><img src ="http://www.blogjava.net/evangel/aggbug/369506.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/evangel/" target="_blank">绿毛肉粽</a> 2012-02-07 10:16 <a href="http://www.blogjava.net/evangel/archive/2012/02/07/369506.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JavaScript 电话手机号码正则表达式</title><link>http://www.blogjava.net/evangel/archive/2012/02/07/369505.html</link><dc:creator>绿毛肉粽</dc:creator><author>绿毛肉粽</author><pubDate>Tue, 07 Feb 2012 02:14:00 GMT</pubDate><guid>http://www.blogjava.net/evangel/archive/2012/02/07/369505.html</guid><wfw:comment>http://www.blogjava.net/evangel/comments/369505.html</wfw:comment><comments>http://www.blogjava.net/evangel/archive/2012/02/07/369505.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/evangel/comments/commentRss/369505.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/evangel/services/trackbacks/369505.html</trackback:ping><description><![CDATA[<div><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">电话手机号码正则表达式</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">（支持手机号码，3-4位区号，7-8位直播号码，1－4位分机号）</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">((\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">匹配格式：</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">11位手机号码</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">3-4位区号，7-8位直播号码，1－4位分机号</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">如：12345678901、1234-12345678-1234</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">匹配中文字符的正则表达式： [\u4e00-\u9fa5]</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">评注：匹配中文还真是个头疼的事，有了这个表达式就好办了</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">匹配双字节字符(包括汉字在内)：[^\x00-\xff]</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">评注：可以用来计算字符串的长度（一个双字节字符长度计2，ASCII字符计1）匹配空白行的正则表达式：\n\s*\r</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">评注：可以用来删除空白行匹配HTML标记的正则表达式：&lt;(\S*?)[^&gt;]*&gt;.*?&lt;/\1&gt;|&lt;.*? /&gt;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">评注：网上流传的版本太糟糕，上面这个也仅仅能匹配部分，对于复杂的嵌套标记依旧无能为力匹配首尾空白字符的正则表达式：^\s*|\s*$</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">评注：可以用来删除行首行尾的空白字符(包括空格、制表符、换页符等等)，非常有用的表达式匹配Email地址的正则表达式：\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">评注：表单验证时很实用匹配网址URL的正则表达式：[a-zA-z]+://[^\s]*</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">评注：网上流传的版本功能很有限，上面这个基本可以满足需求匹配帐号是否合法(字母开头，允许5-16字节，允许字母数字下划线)：^[a-zA-Z][a-zA-Z0-9_]{4,15}$</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">评注：表单验证时很实用匹配国内电话号码：\d{3}-\d{8}|\d{4}-\d{7}</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">评注：匹配形式如 0511-4405222 或 021-87888822匹配腾讯QQ号：[1-9][0-9]{4,}</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">评注：腾讯QQ号从10000开始匹配中国邮政编码：[1-9]\d{5}(?!\d)</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">评注：中国邮政编码为6位数字匹配身份证：\d{15}|\d{18}</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">评注：中国的身份证为15位或18位匹配ip地址：\d+\.\d+\.\d+\.\d+</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">评注：提取ip地址时有用匹配特定数字：</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">^[1-9]\d*$　 　 //匹配正整数</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">^-[1-9]\d*$ 　 //匹配负整数</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">^-?[1-9]\d*$　　 //匹配整数</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">^[1-9]\d*|0$　 //匹配非负整数（正整数 + 0）</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">^-[1-9]\d*|0$　　 //匹配非正整数（负整数 + 0）</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">^[1-9]\d*\.\d*|0\.\d*[1-9]\d*$　　 //匹配正浮点数</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">^-([1-9]\d*\.\d*|0\.\d*[1-9]\d*)$　 //匹配负浮点数</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">^-?([1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0)$　 //匹配浮点数</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">^[1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0$　　 //匹配非负浮点数（正浮点数 + 0）</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">^(-([1-9]\d*\.\d*|0\.\d*[1-9]\d*))|0?\.0+|0$　　//匹配非正浮点数（负浮点数 + 0）</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">评注：处理大量数据时有用，具体应用时注意修正</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">匹配特定字符串：</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">^[A-Za-z]+$　　//匹配由26个英文字母组成的字符串</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">^[A-Z]+$　　//匹配由26个英文字母的大写组成的字符串</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">^[a-z]+$　　//匹配由26个英文字母的小写组成的字符串</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">^[A-Za-z0-9]+$　　//匹配由数字和26个英文字母组成的字符串</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">^\w+$　　//匹配由数字、26个英文字母或者下划线组成的字符串</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " />&nbsp;<br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">"^\d+$"　　//非负整数（正整数 + 0）</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">"^[0-9]*[1-9][0-9]*$"　　//正整数</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">"^((-\d+)|(0+))$"　　//非正整数（负整数 + 0）</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">"^-[0-9]*[1-9][0-9]*$"　　//负整数</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">"^-?\d+$"　　　　//整数</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">"^\d+(\.\d+)?$"　　//非负浮点数（正浮点数 + 0）</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">"^(([0-9]+\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\.[0-9]+)|([0-9]*[1-9][0-9]*))$"　　//正浮点数</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">"^((-\d+(\.\d+)?)|(0+(\.0+)?))$"　　//非正浮点数（负浮点数 + 0）</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">"^(-(([0-9]+\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\.[0-9]+)|([0-9]*[1-9][0-9]*)))$"　　//负浮点</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">数</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">"^(-?\d+)(\.\d+)?$"　　//浮点数</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">"^[A-Za-z]+$"　　//由26个英文字母组成的字符串</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">"^[A-Z]+$"　　//由26个英文字母的大写组成的字符串</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">"^[a-z]+$"　　//由26个英文字母的小写组成的字符串</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">"^[A-Za-z0-9]+$"　　//由数字和26个英文字母组成的字符串</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">"^\w+$"　　//由数字、26个英文字母或者下划线组成的字符串</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">"^[\w-]+(\.[\w-]+)*@[\w-]+(\.[\w-]+)+$"　　　　//email地址</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">"^[a-zA-z]+://(\w+(-\w+)*)(\.(\w+(-\w+)*))*(\?\S*)?$"　　//url</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">/^13\d{9}$/gi手机号正则表达式</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">public static bool IsValidMobileNo(string MobileNo)</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">{</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">&nbsp;&nbsp; const string regPattern = @"^(130|131|132|133|134|135|136|137|138|139)\d{8}$";</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">&nbsp;&nbsp; return Regex.IsMatch(MobileNo, regPattern);</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">}</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">正则表达式--验证手机号码:13[0-9]{9}</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">实现手机号前带86或是+86的情况:^((\+86)|(86))?(13)\d{9}$</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">电话号码与手机号码同时验证:(^(\d{3,4}-)?\d{7,8})$|(13[0-9]{9})</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">提取信息中的网络链接:(h|H)(r|R)(e|E)(f|F) *= *('|")?(\w|\\|\/|\.)+('|"| *|&gt;)? &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">提取信息中的邮件地址:\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">提取信息中的图片链接:(s|S)(r|R)(c|C) *= *('|")?(\w|\\|\/|\.)+('|"| *|&gt;)?</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">提取信息中的IP地址:(\d+)\.(\d+)\.(\d+)\.(\d+)&nbsp;&nbsp; &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">提取信息中的中国手机号码:(86)*0*13\d{9}&nbsp;&nbsp; &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">提取信息中的中国固定电话号码:(\(\d{3,4}\)|\d{3,4}-|\s)?\d{8}&nbsp;&nbsp; &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">提取信息中的中国电话号码（包括移动和固定电话）:(\(\d{3,4}\)|\d{3,4}-|\s)?\d{7,14}&nbsp;&nbsp; &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">提取信息中的中国邮政编码:[1-9]{1}(\d+){5}&nbsp;&nbsp; &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">提取信息中的中国身份证号码:\d{18}|\d{15}&nbsp;&nbsp; &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">提取信息中的整数：\d+&nbsp;&nbsp; &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">提取信息中的浮点数（即小数）：(-?\d*)\.?\d+&nbsp;&nbsp; &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">提取信息中的任何数字：(-?\d*)(\.\d+)? &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">提取信息中的中文字符串：[\u4e00-\u9fa5]*&nbsp;&nbsp; &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">提取信息中的双字节字符串 (汉字)：[^\x00-\xff]*</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">================================================================</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">手机号为什么以13开头2008-02-16 22:06大家都知道以前电信移动邮政还没有分家阿，邮电资源是邮电部（现信息产业部）统一调度的。在分配号段的时候，做了一些细致的规划，大体是这样：</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">10开头，电信服务号码，如103国际半自动挂号，108国际对方付费电话，10000中国电信服务中心，10010中国联通服务中心，10050中国铁通服务中心，10060中国网通服务中心，10070中国卫通服务中心，10086中国移动服务中心等等</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">11开头，赋予特种服务号码，如110匪警，111电信内部测试，112报修，113、115国内人工长途挂号，114查号台，116国内人工长途查询，117报时，119火警等</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">12开头，赋予民用特殊号码，如120（医院），121（天气预报），122交通事故告警，12312保护知识产权举报中心，12315消费投诉热线，12319城建服务，12348法律咨询，12358价格举报中心，12365质量监督，12366纳税服务，12369环境保护投诉，126、 127、128、129寻呼台（BP机时代）</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">所以分配到手机用户时，以13开始做号段。后来分配130~133为联通，134~139为移动,13800138000中国移动充值。</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">日前新推出号段：以153开始做号段分给联通，以158、159开始做号段分给了移动。</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">以188开始做号段为TD－SCDMA制式的3G手机，将陆续有预先挑选出来的测试用户使用以&#8220;188&#8221;为开头的手机号码，在包括北京、青岛、厦门、保定等在内的几大城市中率先试用TD-SCDMA网络。</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">（查看日志《用号码以&#8220;188&#8221;开头的TD-SCDMA制式手机 体验读邮件、看手机电视等3G业务》）</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">其他的特殊号段号码有：</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">16，声讯类，如160中国电信工人信息服务接入码，166语音信箱业务，167吉通计算机互联网业务接入码，168声讯服务，中国电信公众多媒体网接入码等</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">17，长途电话服务，如170国内长途全自动话费查询台，173国内立接制长途半自动挂号台，176国内长途半自动查询台，177国内长途半自动班长台，179IP语音服务接入码等</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">18，部分服务台，如180邮政服务，184邮政编码查询接入码，185国家邮政局电话信息服务接入码，186移动服务中心，188固定电话交费台，189中国电信业务受理特服台等（大多已停用，或换新号)</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">19，寻呼接入，191联通无线电人工寻呼接入码，192联通无线电自动寻呼接入码等等</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">20，30，电话卡服务</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">另外，8、9开头的号段部分也作电信及民用服务号码</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">95，金融及民用服务号码，95501深圳发展银行，95502永安财产保险，95505天安保险，95508广州发展银行，95511中国平安人寿，95512中国平安产险，95515合众人寿，95516中国银联，95518中国人民保险，95519中国人寿保险，95522泰康人寿，95528浦东发展银行，95533中国建设银行，95555招商银行，95556中信银行，95559交通银行，95561兴业银行，95566中国银行，95567中国新华人寿，95568中国民生银行，95569安邦财产保险，95577华夏银行，95585中国联合财保，95588中国工商银行，95590中国大地财产保险，95595光大银行，95596民生人寿保险，95599中国农业银行，95598供电服务，96100民政服务，96118旅游投诉，96178廉政投诉，96198农业信用联社，96310城管执法，95105366中铁快运，95105768海康人寿</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">400，企业主被叫分摊付费电话业务，是一项由固网运营商推出的为被叫客户提供一个全国范围内的唯一400号码，并把对该号码的呼叫接至被叫客户事先规定目的地（电话号码或呼叫中心）的全国性智能网业务。企业申请了400业务，无疑将有效提高企业的市场形象，但是如果背后没有呼叫中心作为支撑，400也就只是一个将来电转移的号码，其价值也大大降低。如：4006789000宅急送4008108000 DHL快递4008111111顺丰速运4008208388 UPS快递4008861888联邦快递4008888400上海证券交易所</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">800，为受话人集中付费业务，它的主要特征是由被叫方（企业）集中支付话费，而主叫方(客户)不支付任何费用。800电话的使用充分体现了企业&#8220;客户至上&#8221;的先进理念，它在国外的使用已是十分普遍。</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">以上号码均作分配，内容太多未详细列出，部分号码目前已经升级，如电信服务台，天气预报，邮政服务台等等</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">010123444444 &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">01,02开头的是3个开头，其余的是4个开头 &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">01x&nbsp;&nbsp; 北京 &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">02x&nbsp;&nbsp; 广州，上海，天津，重庆，沈阳，南京，，武汉，成都 &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">03xx&nbsp;&nbsp; 河北，河南，山西 &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">04xx&nbsp;&nbsp; 辽宁，吉林，黑龙江，内蒙古 &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">05xx&nbsp;&nbsp; 江苏，山东，安徽，浙江，福建 &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">06xx&nbsp;&nbsp; 这个保留？ &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">07xx&nbsp;&nbsp; 江西，广西，湖北 &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">08xx&nbsp;&nbsp; 四川，贵州 &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">09xx&nbsp;&nbsp; 甘肃&nbsp;&nbsp; 青海&nbsp;&nbsp; 新疆，陕西</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">1.忽略非数字的（只留下数字） &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">2.判断前两个都是0，或86开头，且大于11位，为国际编码，国际编码后如果是0，到第4步 &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">3.第一个是0，第二个非0，为国内编码， &nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">4.根据上述我提供的得到身份</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">区号+座机号码+分机号码：regexp="^(0[0-9]{2,3}\-)?([2-9][0-9]{6,7})+(\-[0-9]{1,4})?$"</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">手机(中国移动手机号码)：regexp="^((\(\d{3}\))|(\d{3}\-))?13[456789]\d{8}|15[89]\d{8}"</span><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><br style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; " /><span style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; ">所有手机号码：regexp="^((\(\d{3}\))|(\d{3}\-))?13[0-9]\d{8}|15[89]\d{8}"(新添加了158,159两个号段)</span></div><img src ="http://www.blogjava.net/evangel/aggbug/369505.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/evangel/" target="_blank">绿毛肉粽</a> 2012-02-07 10:14 <a href="http://www.blogjava.net/evangel/archive/2012/02/07/369505.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Java 开源网址</title><link>http://www.blogjava.net/evangel/archive/2012/02/07/369503.html</link><dc:creator>绿毛肉粽</dc:creator><author>绿毛肉粽</author><pubDate>Tue, 07 Feb 2012 02:06:00 GMT</pubDate><guid>http://www.blogjava.net/evangel/archive/2012/02/07/369503.html</guid><wfw:comment>http://www.blogjava.net/evangel/comments/369503.html</wfw:comment><comments>http://www.blogjava.net/evangel/archive/2012/02/07/369503.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/evangel/comments/commentRss/369503.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/evangel/services/trackbacks/369503.html</trackback:ping><description><![CDATA[<div><p style="color: #333333; font-family: Arial; text-align: left; background-color: #ffffff; "><span style="line-height: 26px; font-family: 'Microsoft YaHei'; "><span style="font-size: 13px; "><span style="line-height: 18px; ">Java开源大全(</span></span></span><a href="http://open-open.com" style="font-family: 'Microsoft YaHei'; font-size: 13px; line-height: 18px; text-decoration: none; color: #336699; ">http://open-open.com</a><span style="line-height: 18px; ">)收录最全，最新的Java开源软件，发布最新IT资讯，提供开发文档、技术经验在线分享平台。为中国的开源事业添砖加瓦！</span></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><span style="line-height: 18px; "><span style="font-family: 'Microsoft YaHei'; "><span style="font-size: 13px; ">Ajax/JavaScript脚本大全,JS脚本大全(<a href="http://ajax.open-open.com/" style="color: #336699; text-decoration: none; ">http://ajax.open-open.com/</a>)，Ajax Web免费开发资源，Aja/JavaScript框架，Aja/JavaScript组件，Aja/JavaScript示例导航，JS脚本大全。<br /></span></span></span></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><span style="line-height: 18px; "><span style="font-family: 'Microsoft YaHei'; "><span style="font-size: 13px; ">Eclipse插件&nbsp;<a href="http://open-open.com/04.htm" style="color: #336699; text-decoration: none; ">http://open-open.com/04.htm</a><br /></span></span></span></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><span style="line-height: 18px; "><span style="font-family: 'Microsoft YaHei'; "><span style="font-size: 13px; ">ERP与CRM系统&nbsp;<a href="http://open-open.com/03.htm" style="color: #336699; text-decoration: none; ">http://open-open.com/03.htm</a><br /></span></span></span></p><p style="color: #333333; font-family: Arial; line-height: 26px; text-align: left; background-color: #ffffff; "><span style="font-family: 'Microsoft YaHei'; "><span style="font-size: 13px; ">Web开发框架&nbsp;<a href="http://open-open.com/07.htm" style="color: #336699; text-decoration: none; ">http://open-open.com/07.htm</a></span></span></p></div><img src ="http://www.blogjava.net/evangel/aggbug/369503.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/evangel/" target="_blank">绿毛肉粽</a> 2012-02-07 10:06 <a href="http://www.blogjava.net/evangel/archive/2012/02/07/369503.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>