work with multiple files in vim

When working with multi files in vim, there are several options. Netrw Was first trying to use the netrw which comes with vim installation. However it is not quite easy to use. :e. is to open the file explore, or :Exp, or : Vex, or :Sex. NERDTree Nerdtree is the de facto file explore. After the frustration…

webpack custom plugin

Recently we work with a platform which need to use webpack to build some ng2/4 assets and also some custom steps to pull data from a headless cms(via gulp) and eventually render components. One problem here is we cannot do live reload/recompile that every time we make some change we have to run the npm…

exclude xml-apis dependency in maven

The xml-apis version 1.0xxx is referenced by multiple hibernate artifacts like hibernate-core, hibernate-entitymanager etc. It is annoying because it would conflict with the JRE’s own javax.xml api in the rt.jar which would cause problems like xml cannot parse. We need to be extra careful about it since it usually is introduced thru transitive dependencies. Definitely…

maven build phase plugine(clover duplicate class)

When using clover2 in CI build, it might throw duplicate class error if using: mvn clover2:setup test clover2:aggregate clover2:clover. The reason is the clover2:setup is by default in the generate-source phase will copy the src to target/clover/src-instrumented and the test will also run the generate source and compile. Now there end up to be 2 source and…

Subversion with Eclipse using proxy

For Subclipse plugin proxy setting  in eclipse You need to open C:\Documents and Settings\<user_name>\Application Data\Subversion\servers   Note: for windows 7 this could also be found in c:\Users\<user_name>\AppData\<Roaming\Local>\Subversion\servers In this file you need to uncomment few line under global [global] # http-proxy-host=proxy1.some-domain-name.com # http-proxy-port=80 # http-proxy-username=blah # http-proxy-password=doubleblah # http-timeout=60