随笔分类 -  Development

1 2 下一页
Error when maven build
摘要:1.The specified JRE installation does not existBuild Path -> Remove JRE System Library -> Add a new one which is installed in your pc2.invalid CEN hea... 阅读全文
posted @ 2015-04-24 16:24 -Anny-
在Ubuntu上源码安装NodeJS
摘要:Referhttp://nqdeng.github.io/7-days-nodejs/#7.1前提条件:确保系统下g++版本(g++ -v)在4.6以上,python版本(python --version)在2.6以上步骤:1. 从官网https://nodejs.org/download/下载源码... 阅读全文
posted @ 2015-04-17 15:35 -Anny- 阅读(354) 评论(0) 推荐(0)
Enum variable is used in switch sentence-java
摘要:在做自动化测试的时候,写脚本用到了Enum类型,原来跟C#语法不同,这里跟在case后的enum不用写枚举类型,直接写值就可以了。 Color color=null; switch(color) { case red:break; case green:break; default:break; }public enum Color{red,green} 阅读全文
posted @ 2012-11-21 23:31 -Anny- 阅读(163) 评论(0) 推荐(0)
Mongo failed to connect to IP:27017
摘要:I want to insert some data into mongo db using Java(on Ubuntu - Eclipse), but failed to connect to db server(on Windows XP virtual manchine). The error is below:java.io.IOException: couldn't connect to [/192.168.1.72:27017] bc:java.net.ConnectException: Connection timed outFirst, I can connect i 阅读全文
posted @ 2012-06-05 19:12 -Anny- 阅读(1562) 评论(0) 推荐(0)
Mongo DB
摘要:From http://www.mongodb.org/display/DOCS/Tutorial#Tutorial-RunningMongoDBAccording to tutorial, a win-32 bit Mongo is installed on my pc(winXP).The important binaries for a first run are:mongod.exe - the database server.mongo.exe - the administrative shellWhen I run mongod.exe in cmd, there is an er 阅读全文
posted @ 2012-05-30 15:32 -Anny- 阅读(424) 评论(0) 推荐(0)
liquibase - database version control
摘要:Liquibase is an open source (Apache 2.0 Licensed), database-independent library for tracking, managing and applying database changes. It is built on a simple premise: All database changes are stored in a human readable yet trackable form and checked into source control.Please refer to http://liquiba 阅读全文
posted @ 2012-04-09 10:41 -Anny- 阅读(271) 评论(0) 推荐(0)
Mapnix(转)
摘要:From http://en.wikipedia.org/wiki/MapnikMapnik is an open source mapping toolkit, written in C++ and useful for both desktop- and server-based map rendering. One of its many users is the OpenStreetMap project (OSM) which uses it in combination with an Apache Web Server module (mod_tile) to render ti 阅读全文
posted @ 2012-04-06 17:16 -Anny- 阅读(357) 评论(0) 推荐(0)
如何将svn上checkout下来的android 程序由java project转成android project in Eclipse
摘要:1. Check out from svn in your workspace2. Delete your .project file3. New an Android project and the project name should be the same as original name4. Select 'Create project from existing source'5. Specify the location where your source is located6. Click Next(choose a build target: e.x And 阅读全文
posted @ 2011-11-25 17:49 -Anny- 阅读(448) 评论(0) 推荐(0)
JAVA转为Dynamic web project
摘要:右键点击要转化的Project-Properties-Project Facets:勾选Java,然后选择Dynamic web module (javascript可选可不选),点击“Revert”即可 阅读全文
posted @ 2011-11-21 17:15 -Anny- 阅读(180) 评论(0) 推荐(0)
Role-based access control(RBAC)
摘要:Refer to http://en.wikipedia.org/wiki/Role-based_access_controln computer systems security,role-based access control(RBAC)[1][2]is an approach to restricting system access to authorized users. It is used by the majority of enterprises with more than 500 employees,[3]and it is a newer alternative app 阅读全文
posted @ 2011-11-03 15:38 -Anny- 阅读(301) 评论(0) 推荐(0)
Squirrel Sql client
摘要:Refer tohttp://www.squirrelsql.org/SQuirreL SQL Client is a graphical Java program that will allow you to view the structure of a JDBC compliant database, browse the data in tables, issue SQL commands etc, seeGetting StartedandIntroduction.的确很好用,用java -jar squirrel.jar 运行安装,如果连接mssql的话,下载一个sqljdbc4. 阅读全文
posted @ 2011-10-28 17:29 -Anny- 阅读(497) 评论(0) 推荐(0)
Selenium and Jenkins Integration on CentOS
摘要:1. Environment Required CentOS Linux release 6.0 (Final)(cat /etc/redhat-release) JDK:jdk1.6.0_27 (/opt/) ApacheTomcat:apache-tomcat-6.0.33 (/opt/)1.1 Extract JDK and Apache Tomcat (tar xvf *.tar.gz)1.2 Set environment variables like below:1.2.1 nano ~/.profile or /etc/.profile (nano is better th... 阅读全文
posted @ 2011-10-27 19:40 -Anny- 阅读(1997) 评论(0) 推荐(0)
Solution to 'org.maven.ide.eclipse cannot be found when installing plugins in eclipse'
摘要:需要在eclipse上安装一些插件,但在安装过程中(不管什么插件),都报出这个错误:Missing requirement: Shared profile 1.0.0.1308118925849 (SharedProfile_epp.package.java 1.0.0.1308118925849) requires 'org.maven.ide.eclipse [1.0.0.20110607-2117]' but it could not be found从网络上查很多资料才知道原来对于indigo最新版本的eclipse在安装插件的时候需要以超级管理员的身份去运行Eclip 阅读全文
posted @ 2011-10-20 17:29 -Anny- 阅读(762) 评论(1) 推荐(0)
CAS SSO 原理 (转)
摘要:Refer to http://blog.csdn.net/yaolong77/article/details/4041434 SSO 是一个非常大的主题,我对这个主题有着深深的感受,自从广州 UserGroup 的论坛成立以来,无数网友都在尝试使用开源的 CAS , Kerberos 也提供另外一种方式的 SSO ,即基于 Windows 域的 SSO ,还有就是从 2005 年开始一直兴旺不衰的 SAML 。 如果将这些免费的 SSO 解决方案与商业的 Tivoli 或 Siteminder 或 RSA Secure SSO 产品做对比,差距是存在的。毕竟,商业产品的安全性和用户体验都是无 阅读全文
posted @ 2011-10-17 15:50 -Anny- 阅读(3986) 评论(0) 推荐(0)
Redmine-Project Management Web Application
摘要:Redmine 是一个开源的、基于Web的项目管理和缺陷跟踪工具。它用日历和甘特图辅助项目及进度可视化显示。同时它又支持多项目管理。Redmine是一个自由开放 源码软件解决方案,它提供集成的项目管理功能,问题跟踪,并为多个版本控制选项的支持。虽说像IBM Rational Team Concert的商业项目调查工具已经很强大了,但想坚持一个自由和开放源码的解决方案,可能会发现Redmine是一个有用的Scrum和敏捷的选择。 Redmine建立在Ruby on Rails的框架之上,可以夸平台和数据库。More introduction please refer to http://www. 阅读全文
posted @ 2011-10-12 18:06 -Anny- 阅读(327) 评论(0) 推荐(0)
Lazyload & 键盘常用ASCII码 & Selenium
摘要:参考http://www.cnblogs.com/cloudgamer/archive/2010/02/01/LazyLoad.htmlhttp://blog.csdn.net/tiancx/article/details/2907887http://blog.csdn.net/javatwt/article/details/15194811 Lazyload 介绍Lazyload是通过延迟加载来实现按需加载,达到节省资源,加快浏览速度的目的。网上也有不少类似的效果(大多是图片的加载),这个Lazyload主要特点是:支持使用window(窗口)或元素作为容器对象;对静态(位置大小不变)元素做 阅读全文
posted @ 2011-10-12 16:23 -Anny- 阅读(972) 评论(0) 推荐(0)
How to do web automation test using Selenium
摘要:项目顾问建议用Selenium做web应用的自动化测试,决定将业务逻辑简单、功能稳定的功能模块用自动化去测试,比如简单的登录模块。下面就将过程简单总结一下。我是在Ubuntu系统上跑的Selenium1. 环境准备1.1 Java环境安装jdk,我的JDK在/usr/local/jdk1.6.0_2... 阅读全文
posted @ 2011-10-11 15:34 -Anny- 阅读(677) 评论(0) 推荐(0)
SPSS
摘要:SPSSis acomputer programused for survey authoring and deployment (IBM SPSS Data Collection), data mining (IBM SPSS Modeler), text analytics, statistical analysis, and collaboration & deployment (batch & automated scoring services). Between 2009 and 2010 the premier vendor for SPSS was called 阅读全文
posted @ 2011-10-10 15:26 -Anny- 阅读(319) 评论(0) 推荐(0)
Lucene & Solr
摘要:From http://alartin.iteye.com/blog/42867and http://www.iteye.com/blogs/tag/luceneLucene是apache软件基金会4 jakarta项目组的一个子项目,是一个开放源代码的全文检索引擎工具包,即它不是一个完整的全文检索引擎,而是一个全文检索引擎的架构,提供了完整的查询引擎和索引引擎,部分文本分析引擎(英文与德文两种西方语言)。Lucene的目的是为软件开发人员提供一个简单易用的工具包,以方便的在目标系统中实现全文检索的功能,或者是以此为基础建立起完整的全文检索引擎Solr是一个基于Lucene java库的企业级 阅读全文
posted @ 2011-10-09 18:07 -Anny- 阅读(1139) 评论(0) 推荐(0)
ibatis VS Hibernate(转)
摘要:From http://zhidao.baidu.com/question/99674664.htmlibatis:sql需要自己写hibernate:sql自动生成上面是最大的区别,下面是一些细节.选择Hibernate还是iBATIS都有它的道理:Hibernate的特点:Hibernate功能强大,数据库无关性好,O/R映射能力强,如果你对Hibernate相当精通,而且对Hibernate进行了适当的封装,那么你的项目整个持久层代码会相当简单,需要写的代码很少,开发速度很快,非常爽。以数据库字段一一对应映射得到的PO和Hibernte这种对象化映射得到的PO是截然不同的,本质区别在于这 阅读全文
posted @ 2011-10-09 16:29 -Anny- 阅读(218) 评论(0) 推荐(0)

1 2 下一页