<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[weilingfeng的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/weilingfeng</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; weilingfeng]]></copyright><item><title><![CDATA[javascript正则学习]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84689817</link><guid>https://blog.csdn.net/weilingfeng/article/details/84689817</guid><author>weilingfeng</author><pubDate>Sat, 06 Dec 2014 10:47:39 +0800</pubDate><description><![CDATA[JavaScript中关于正则表达式的有几个关键函数，search，match，test，replace这三个函数，他们都支持正则表达式，这三个方式只能操作字符串

[b]search[/b]：该方法用户搜索字符串在目标字符串中出现的位置,search不会执行全局匹配，只会返回第一次匹配到的位置

[code=&quot;javascript&quot;]
var str = &quot;abcdef&quot;;

al...]]></description><category></category></item><item><title><![CDATA[shell脚本自动化部署项目]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84378461</link><guid>https://blog.csdn.net/weilingfeng/article/details/84378461</guid><author>weilingfeng</author><pubDate>Tue, 08 Jan 2013 17:05:57 +0800</pubDate><description><![CDATA[最经学习shell脚本，并自己写了一个自动下载代码，自动打包的脚本程序，这对自动化部署非常有用，

[code=&quot;java&quot;]$n        $1 the first parameter,$2 the second... 
$#        The number of command-line parameters. 
$0        The name of current pr...]]></description><category></category></item><item><title><![CDATA[ubuntu12.4网卡设置，自定义ip地址]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84378212</link><guid>https://blog.csdn.net/weilingfeng/article/details/84378212</guid><author>weilingfeng</author><pubDate>Tue, 08 Jan 2013 12:57:15 +0800</pubDate><description><![CDATA[上网搜索修改linux网络地址的文章，在ubuntu12.04版本都不能用，然后去utuntu12.04官网看了一下，找到了修改ip地址的方法，在这里总结一下，以便记忆
1.ubuntu12.04的网络设置文件
[code=&quot;java&quot;]vim /etc/network/interface [/code]
[code=&quot;java&quot;]# The loopback network interfa...]]></description><category></category></item><item><title><![CDATA[jquery制作tab标签的最简方式]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84373200</link><guid>https://blog.csdn.net/weilingfeng/article/details/84373200</guid><author>weilingfeng</author><pubDate>Thu, 27 Dec 2012 15:33:10 +0800</pubDate><description><![CDATA[用jquery制作tab标签，代码很简单，看代码
]]></description><category></category></item><item><title><![CDATA[javascript异步获取script资源的实现方法]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84373182</link><guid>https://blog.csdn.net/weilingfeng/article/details/84373182</guid><author>weilingfeng</author><pubDate>Thu, 27 Dec 2012 15:12:03 +0800</pubDate><description><![CDATA[研究jquery异步获取script资源的方式,这里贴出来供大家学习一下



[code=&quot;java&quot;]

script = document.createElement( &quot;script&quot; );

				script.async = &quot;async&quot;;

				if ( s.scriptCharset ) {
					script.charset = s.script...]]></description><category></category></item><item><title><![CDATA[javascript异步加载几种方式总结]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84372831</link><guid>https://blog.csdn.net/weilingfeng/article/details/84372831</guid><author>weilingfeng</author><pubDate>Wed, 26 Dec 2012 19:42:22 +0800</pubDate><description><![CDATA[评价一个网站性能是否高效，除了后端程序的优化，前端性能也不能忽略，看了一些javascript异步加载资源的方式（基于jquery），贴出来给大家作为参考
jquery提供了异步加载信息的全局函数
1.$.getScript(URL,CALLBACK)
  这个方法提供了异步加载script资源的方式，对于一些web网页内容比较多，需要按需加载，提供了很大的帮助，jquery1.2之后的这个...]]></description><category></category></item><item><title><![CDATA[telnet查看memcached运行参数说明]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84364591</link><guid>https://blog.csdn.net/weilingfeng/article/details/84364591</guid><author>weilingfeng</author><pubDate>Wed, 05 Dec 2012 15:24:35 +0800</pubDate><description><![CDATA[    在Linux/Windows系统中启动memcached的命令请查看http://weilingfeng98.iteye.com/admin/blogs/1741179

[list]
[*]启动完memcached服务器，查看memcached的运行状态，打开cmd命令窗口，输入telnet 127.0.0.1 11211连接到memcached服务器

[*]输入stat，会...]]></description><category></category></item><item><title><![CDATA[memcache启动命令]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84364269</link><guid>https://blog.csdn.net/weilingfeng/article/details/84364269</guid><author>weilingfeng</author><pubDate>Tue, 04 Dec 2012 22:43:53 +0800</pubDate><description><![CDATA[1、linux环境下：/usr/local/lib/memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid/usr/local/lib/memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached2.pid2、windows环境下：在windows下我...]]></description><category></category></item><item><title><![CDATA[JSP页面跳转(转)]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84356446</link><guid>https://blog.csdn.net/weilingfeng/article/details/84356446</guid><author>weilingfeng</author><pubDate>Wed, 14 Nov 2012 15:53:42 +0800</pubDate><description><![CDATA[页面跳转几种方式，搜集全[u]http://blog.sina.com.cn/s/blog_87fc74480100ug3c.html[/u]]]></description><category></category></item><item><title><![CDATA[linux简单命令杂烩]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84341581</link><guid>https://blog.csdn.net/weilingfeng/article/details/84341581</guid><author>weilingfeng</author><pubDate>Tue, 30 Oct 2012 00:00:10 +0800</pubDate><description><![CDATA[vi编辑器

top命令
设置系统时间date
cla 查看日历

netstat -an | more
netstat -anp | more 查看进程包括端口

traceroute www.baidu.com
查看请求所经过的路由

几个特殊的ip地址
192.168.255.255(子域网广播地址)
192.168.255.255（广域网广播地址？）
127....]]></description><category></category></item><item><title><![CDATA[javascript中Array对象几种方法总结]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84280776</link><guid>https://blog.csdn.net/weilingfeng/article/details/84280776</guid><author>weilingfeng</author><pubDate>Thu, 30 Aug 2012 17:28:05 +0800</pubDate><description><![CDATA[//push将新元素添加到一个数组中，并返回数组的新长度值
  //pop移除数组的最后一个元素，并返回该值
  //splice删除数组中指定位置和长度元素的值，如果需要可以在该区域插入值，并返回移除的元素
  //toString返回对象的字符串表示，根据类型不同返回值也不同，
  //1.数组：将Array的元素转化为字符串，结果是由逗号隔开的字符串
  //2.String:返回...]]></description><category></category></item><item><title><![CDATA[jquery总结]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84244670</link><guid>https://blog.csdn.net/weilingfeng/article/details/84244670</guid><author>weilingfeng</author><pubDate>Thu, 05 Jul 2012 16:32:13 +0800</pubDate><description><![CDATA[接触jquery比较长时间了，今天总结一下jquery的用法
1.选择器
$(&quot;div a.main&quot;) 查找div下面所有a标签样式类型为main的对象
$(&quot;p.value:contains(&quot;aaaaaa&quot;)&quot;) 查找p标签中包含aaaa的所有对象
$(&quot;input&quot;,&quot;#myform&quot;) 查找myfrom表单中所有input对象
$(&quot;input&quot;,&quot;form:]]></description><category></category></item><item><title><![CDATA[mysql引擎总结]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84233241</link><guid>https://blog.csdn.net/weilingfeng/article/details/84233241</guid><author>weilingfeng</author><pubDate>Tue, 12 Jun 2012 22:22:35 +0800</pubDate><description><![CDATA[mysql5.0存储引擎有：MYISAM,InnoDB,MOMERY,MARGE,mysql5.0默认支持的引擎是MYISAM,下面比较几种存储引擎的支持情况
[list]
[*]1.MYISAM不支持事务，外间约束，因此添加数据和查询数据比较快
[*]2.InnoDB支持数据库事务，支持外键约束,支持行锁，比起MYISAM慢，主要用在数据比较严谨，一致性比较高的场所，如银行数据等
[*]...]]></description><category></category></item><item><title><![CDATA[webservice获取天气预报]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84232621</link><guid>https://blog.csdn.net/weilingfeng/article/details/84232621</guid><author>weilingfeng</author><pubDate>Mon, 11 Jun 2012 23:30:21 +0800</pubDate><description><![CDATA[[code=&quot;java&quot;]1.静态访问
新建webservice.bat文件，内容如下
set AXIS_HOME=E:\workspace\testaxis
set CLASSPATH=.;%AXIS_HOME%\lib\axis.jar;%AXIS_HOME%\lib\axis.jar;%AXIS_HOME%\lib\axis-ant.jar;%AXIS_HOME%\lib\common...]]></description><category></category></item><item><title><![CDATA[数据库分库实现]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84231984</link><guid>https://blog.csdn.net/weilingfeng/article/details/84231984</guid><author>weilingfeng</author><pubDate>Sun, 10 Jun 2012 22:50:45 +0800</pubDate><description><![CDATA[随着互联网数据越来越庞大，传统的单库单表难以实现大数据量的存储，所以出现了数据库分表分库等一系列方案，今天就带来分库方面的一些知识点
1.分库原则：数据库分库有很多分库依据，以下是分库几种实现
    1.1第一种程序实现，数据库中初始化n(10)个库，根据Id尾数取摩n(10)，然后对应到10个库上，当应用程序新增数据时，取摩映射到指定的数据库中，当10个库不够用的时候，扩容数据库，只需要很...]]></description><category></category></item><item><title><![CDATA[IO和NIO的区别]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84231321</link><guid>https://blog.csdn.net/weilingfeng/article/details/84231321</guid><author>weilingfeng</author><pubDate>Sat, 09 Jun 2012 00:38:55 +0800</pubDate><description><![CDATA[今天来学习一下io和nio的区别，
1.io是传统的io，即阻塞的io，使用在及时性比较高的场合,如服务端与客户端之间的通讯
2.nio是jdk1.5后出来的新io方式，它是无阻塞的，主要用来及时性不高的场合，如服务端与服务端之间的通讯，nio为什么无阻塞，有几个重要的概念：buffer，selector，chanel，charset
等，buffer：主要是用来缓存...]]></description><category></category></item><item><title><![CDATA[memcache集群架构]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84231316</link><guid>https://blog.csdn.net/weilingfeng/article/details/84231316</guid><author>weilingfeng</author><pubDate>Sat, 09 Jun 2012 00:27:41 +0800</pubDate><description><![CDATA[随着互联网用户不但扩大，系统的挑战也越来越大，网站的并发量也成倍数增加，如何才能支持大并发访问，缓存是一个很大的方面，线面简单介绍缓存集群的一些方案
1.传统的缓存方案
  通过hash算法（取摩）定位到缓存
  缺点:扩容能力差
2.环形分布式缓存方案
  取1-2sup32的一个圆，把缓存服务器映射到圆上，让后把key映射到圆上，距离最近的下一个圆上，如果不能存在，则保存在最近的圆上...]]></description><category></category></item><item><title><![CDATA[java中hashMap的详细分析]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84230713</link><guid>https://blog.csdn.net/weilingfeng/article/details/84230713</guid><author>weilingfeng</author><pubDate>Fri, 08 Jun 2012 01:04:12 +0800</pubDate><description><![CDATA[[code=&quot;java&quot;]java中的HashMap是数组和链表的组合，它中间有个桶的概念，桶中放的是链表结构的数据，添加数据时，首先会hash key的值，在那个桶中，再链表中进行查找，桶的多少和桶中链表的大小是有因子来控制的，[/code]

hashmap中提供了几个常用的方法KeySet(),entrySet(),Values()等方法
hashmap遍历元素的3中方法
1.通过迭...]]></description><category></category></item><item><title><![CDATA[hadoop安装步骤]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84184433</link><guid>https://blog.csdn.net/weilingfeng/article/details/84184433</guid><author>weilingfeng</author><pubDate>Wed, 11 Apr 2012 18:07:57 +0800</pubDate><description><![CDATA[1.安装jdk（自带了jre），单纯的jre是不够的，MapReduce的编写和Hadoop的编译都依赖于jdk。(注意jdk必须1.6以上，本教程使用的是jdk1.6.0_24)

2、安装cygwin，下载地址 http://www.cygwin.com,本教程采用的是1.7.9

     必须选择的安装包： Net Category----openssh和openssl

  ...]]></description><category></category></item><item><title><![CDATA[java中的io系统总结]]></title><link>https://blog.csdn.net/weilingfeng/article/details/84150993</link><guid>https://blog.csdn.net/weilingfeng/article/details/84150993</guid><author>weilingfeng</author><pubDate>Thu, 09 Feb 2012 18:04:29 +0800</pubDate><description><![CDATA[[size=small]java中的io中的（input/output）stream无非就是包括基于字符的stream、基于字节的stream和把字节导向的stream转换 
字符为导向的stream的stream。（很难理解么？） 
以字节为导向的stream------InputStream/OutputStream 
InputStream 和 OutputStream是两个absta...]]></description><category></category></item></channel></rss>