Skip to content

Instantly share code, notes, and snippets.

View yangboz's full-sized avatar
:octocat:
lifelong learner

yangbo.zhou yangboz

:octocat:
lifelong learner
View GitHub Profile
@yangboz
yangboz / JAVA_CPD.xml
Created October 23, 2012 06:53
Ant xml example for JAVA code CPD.
<?xml version="1.0"?>
<project name="XXX Application Build with CPD" default="run"
basedir="../">
<description>
Ant build sample for running
- CPD,
</description>
<!-- Change the paths to your individual installation directories -->
@yangboz
yangboz / JAVA_findbugs.xml
Created October 23, 2012 06:52
Ant xml example for JAVA code find bugs.
<?xml version="1.0"?>
<project name="XXX Application Build with find bugs" default="run"
basedir="../">
<description>
Ant build sample for running
- findbugs,
</description>
<!-- Change the paths to your individual installation directories -->
@yangboz
yangboz / JAVA_checkstyle.xml
Created October 18, 2012 06:02
Ant xml example for JAVA code check style.
<?xml version="1.0"?>
<project name="XXX Application Build with check style" default="run" basedir="../">
<description>
Ant build sample for running
- checkstyle,
</description>
<!-- Change the paths to your individual installation directories -->
<property name="checkstyle.home.dir" location="${basedir}/tools/checkstyle/"/>
@yangboz
yangboz / java_checkstytle.xml
Created October 18, 2012 06:00
Ant xml for JAVA check style.
<?xml version="1.0"?>
<project name="XXX Application Build with check style" default="run" basedir="../">
<description>
Ant build sample for running
- checkstyle,
</description>
<!-- Change the paths to your individual installation directories -->
<property name="checkstyle.home.dir" location="${basedir}/tools/checkstyle/"/>
@yangboz
yangboz / Flare3dP2pExample
Created July 17, 2012 05:34
Flare3dP2pExample
package
{
//--------------------------------------------------------------------------
//
// Imports
//
//--------------------------------------------------------------------------
import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;