注意:以下操作基于Hadoop-1.2.1,Eclipse Luna 1、将hadoop eclipse插件的工程导入Eclipse。插件源码目录如下: D:\Lab\lib\hadoop\hadoop-1.2.1\src\contrib\eclipse-plugin 2、配置工程依赖 3、准备ant的配置文...
                            
                            
                                分类:
系统相关   时间:
2014-08-23 16:58:21   
                                阅读次数:
410
                             
                    
                        
                            
                            
                                1. Package ControlGetPackage Control here.2. Theme - Phoenix and Flatland(扁平)If Sublime Text 2 is a highly tuned race car, then this plugin is the fl....
                            
                            
                                分类:
Web程序   时间:
2014-08-23 05:39:39   
                                阅读次数:
647
                             
                    
                        
                            
                            
                                一、Download harvest chosen from githubhttps://github.com/harvesthq/chosen/二、在页面引用@using (Html.BeginForm()){ Multi-Select Demo ...
                            
                            
                                分类:
Web程序   时间:
2014-08-22 19:23:49   
                                阅读次数:
185
                             
                    
                        
                            
                            
                                目前,OpenStack中默认采用了security group的方式,用系统的iptables来过滤进入vm的流量。这个本意是为了安全,但是往往给调试和开发带来一些困扰。
因此,临时性的禁用它可以排除因为iptables规则错误问题带来的网络不通等情况。
在H版本中,可以通过修改neutron plugin.ini中的firewall配置来禁用security group。
但在I版本中,...
                            
                            
                                分类:
其他好文   时间:
2014-08-22 10:51:36   
                                阅读次数:
198
                             
                    
                        
                            
                            
                                常量有两种配置方式:
1)在struts.xml中配置:(建议使用此种配置方式)
  
2)在struts.properties中配置常量:
  truts.action.extension = action
因为常量可以在下面多配置文件中进行定义,所以我们需要了解struts2加载常量的搜索顺序:
struts-default.xml
struts-plugin.xml
st...
                            
                            
                                分类:
其他好文   时间:
2014-08-22 09:23:35   
                                阅读次数:
269
                             
                    
                        
                            
                            
                                接着之前一篇日志。这个事情也挺无语的,简单记录一下。
在这里:http://www.eclipse.org/ajdt/ 可以下载最新的Eclipse
 Plugin,下载解压之后,一般来说,直接把解压后文件夹下的features和plugins放到Eclipse的文件夹下就行了。不过我这样做以后,启动Eclipse,发现没什么作用。才参考网上有人介绍的第二种方法,也就是Help——Inst...
                            
                            
                                分类:
Web程序   时间:
2014-08-21 22:51:05   
                                阅读次数:
380
                             
                    
                        
                            
                            
                                一,Awesome Jquery Ajax helpers1) Codeplex linkshttp://awesome.codeplex.com/2) Study linkshttp://aspnetawesome.com/learn/mvc/AjaxDropdown#Binding-to-par...
                            
                            
                                分类:
Web程序   时间:
2014-08-21 18:35:24   
                                阅读次数:
205
                             
                    
                        
                            
                            
                                官网地址:http://bassistance.de/jquery-plugins/jquery-plugin-validationjQuery plugin: Validation 使用说明 转载自:http://blog.sina.com.cn/s/blog_608475eb0100h3h1.....
                            
                            
                         
                    
                        
                            
                            
                                配置注意点:在原有Struts2框架jar包的引入下,需要额外多加一个Json的插件包(struts2-json-plugin-2.3.7.jar)在struts.xml配置文件中,包需要继承json-default,然后把result的类型改为json 一、先来个简单示例,利用Struts2+jQ...
                            
                            
                                分类:
Web程序   时间:
2014-08-21 14:47:24   
                                阅读次数:
333
                             
                    
                        
                            
                            
                                首件创建项目:此处可参照:http://maven.apache.org/guides/mini/guide-webapp.htmlmvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-webapp -Darchet.....
                            
                            
                                分类:
Web程序   时间:
2014-08-21 09:42:24   
                                阅读次数:
274