Monthly Archives: July 2011

Git flow for working on svn branch

The Problem: you want to play on git code branches on svn server. Here’s the simple flow. 1. Specify the layout when running git svn clone: Specify the trunk, branch and tags by -T,-b,-t, such as: -T dev -b branches … Continue reading

Posted in git | Leave a comment

Facebook charged from my credit card without my awareness

  I’m trying to install a word press plugin, and clicked this link to create a facebook app: Facebook Connect Setup. Facebook says you must activate the application by mobile number or credit card on the setup page. After I input … Continue reading

Posted in tech watch | 13 Comments

How to enable remote JMX support on tomcat

We need to monitor tomcat by jconsole and visualvm for check memory/thread/object usage of tomcat when problem occur. So I tried to enable JMX support on tomcat by modify the catalina.sh by some suggest online (in one line, for windows, … Continue reading

Posted in java | Leave a comment

3 steps to dynamically compile, instantiate and run a Java class

The background:  sometimes we need to compile dynamic source code, and run the code.  Some common situation includes on a program contest evaluation system, on a dynamic business logic control,  on evaluation of dynamic math expression, or even on evaluation … Continue reading

Posted in java | Tagged , , | 2 Comments

How to automate test cases which need to be run in a clean OS

Sometimes we need to automatically run some test cases which need to be run in an clean os. Such as application software installation benchmark. If you’d like to test performance of office installation under Microsoft Windows with different antivirus installed. … Continue reading

Posted in automation, test | 1 Comment

How to automatically install/uninstall software without human interaction

Sometimes we need to automatically install/uninstall software without human interaction, especially for system performance test. How can we make it work? A simple and easy way is to leverage AutoIt. Auto it can be used to simulate keystrokes and mouse movements … Continue reading

Posted in automation, test | 1 Comment

Noticeable Hacker news I read(2011/06)

Post for startup : Where to find a co-founder/ Why startup needs blog/   Post for tech: Ultra KSM – An improvement upon Linux’s memory merging support enabling transparent full system scan at ultra speed Hacking the system: How to land … Continue reading

Posted in design, tech watch | Tagged | Leave a comment

How to automate test cases need reboot: a simple script solution

During the first 2 years in my career as a tester, I learned that for a tester, everything should be automated if possible. 2 years later I beginning my programming life and found that automation is a must skill for … Continue reading

Posted in automation, test | Tagged , , , | Leave a comment