Skip to content

Instantly share code, notes, and snippets.

:octocat:
lifelong learner

Knight.zhou yangboz

:octocat:
lifelong learner
Block or report user

Report or block yangboz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@yangboz
yangboz / FLEX_metrics.xml
Last active Oct 11, 2015
Ant xml example for FLEX/AS3 code metrics.
View FLEX_metrics.xml
<project name="XXX_Flex_Metrics"
default="run">
<description>
Example Of Flex Metrics
</description>
<property name="projecthome"
value="${basedir}"/>
<property name="flexMetrics.version"
@yangboz
yangboz / FLEX_PMD.xml
Last active Oct 11, 2015
Ant xml example for FLEX/AS3 code PMD.
View FLEX_PMD.xml
<project name="XXX_Flex_PMD"
default="flexPmdWithCustomRuleset">
<description>
Example Of Flex PMD
</description>
<property name="projecthome"
value="${basedir}"/>
<property name="flexpmd.version"
@yangboz
yangboz / FLEX_unit_test.xml
Created Oct 23, 2012
Ant xml example for FLEX/AS3 code unit test.
View FLEX_unit_test.xml
<!--
This is intended to be a simple build file, created a suggestion for the necessary steps need to utilize the FlexUnit4 Ant task.
For the most detail when running this build, call "ant -v clean package". The build uses a simple lifecycle of:
clean->init->compile->test->package
The end goal is to produce a zip of a website you could deploy for your application. This build is not intended to be an example
for how to use Ant or the Flex SDK Ant tasks. This is just one possible way to utilize the FlexUnit4 Ant tasks.
-->
<project name="XXX_Flex_UnitTest" basedir="." default="test">
@yangboz
yangboz / Ant_Android_lint_release
Created Dec 7, 2012
Ant xml for Anroid release and lint check.
View Ant_Android_lint_release
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<project name="XXXActivity" default="help">
<!--
The local.properties file is created and updated by the 'android' tool.
It contains the path to the SDK. It should *NOT* be checked into
Version Control Systems.
-->
<property file="local.properties"/>
<!--
The ant.properties file can be created by you. It is only edited by the
@yangboz
yangboz / Ant_PHP_phpcs_test_phpmd_phpcpd_pdepend_phpdoc_phpcb_phploc_lint
Created Dec 7, 2012
Ant xml for PHP project with CI feature,include phpcs,test, phpmd, phpcpd, pdepend,phpdoc,phpcb,phploc,lint
View Ant_PHP_phpcs_test_phpmd_phpcpd_pdepend_phpdoc_phpcb_phploc_lint
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<!--
@see:http://agile.dzone.com/news/continuous-integration-php
-->
<project name="XXX/Jenkins" default="build" basedir=".">
<!-- $Id: build.xml 102 2012-01-19 14:39:10Z abtris $ -->
<property name="output" location="${basedir}/build/"/>
<property name="src" location="${basedir}/application/"/>
<property name="basedir" value="."/>
<!-- Clean dirs -->
View Ant_JMeter_xml
<project default="all" basedir="../">
<!--
Define an environment variable pointing to JMETER folder or change this
-->
<property environment="env"/>
<property name="jmeter-tools" location="${basedir}/tools/jmeter"/>
<property name="jmeter-home" location="xxx/Downloads/apache-jmeter-2.8"/>
<!--
ant-jmeter.jar comes with jmeter, be sure this is the release you have
-->
@yangboz
yangboz / NeuronNetWorkTest.as3
Created Feb 2, 2013
AS3 Artificial Neuron Network test code
View NeuronNetWorkTest.as3
package
{
import com.lookbackon.AI.ANN.NeuralNetWork;
import flash.display.Sprite;
public class NeuronNetWorkTest extends Sprite
{
private var inputDataArray:Array;
private var outputDataArray:Array;
@yangboz
yangboz / AS3ClassFileTemplate.xml
Created Feb 16, 2013
A template fie(*.xml) for customize the default information contained in new AS3 class. More: http://help.adobe.com/en_US/Flex/4.0/UsingFlashBuilder/WS52085436-ABD3-4d4d-B5E2-41C668CF6847.html
View AS3ClassFileTemplate.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<templates>
<template autoinsert="true" context="new_actionscript_class"
deleted="false" description="Newly created ActionScript Class file"
enabled="true"
id="com.adobe.flexide.as.core.filetemplates.new_actionscript_class"
name="ActionScript Class">/**&#13;
* GODPAPER Confidential,Copyright ${year}. All rights reserved.&#13;
*&#13;
* Permission is hereby granted, free of charge, to any person
@yangboz
yangboz / AS3InterfaceFileTemplates.xml
Created Feb 16, 2013
A template fie(*.xml) for customize the default information contained in new AS3 interface. More: http://help.adobe.com/en_US/Flex/4.0/UsingFlashBuilder/WS52085436-ABD3-4d4d-B5E2-41C668CF6847.html
View AS3InterfaceFileTemplates.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<templates>
<template autoinsert="true" context="new_actionscript_interface"
deleted="false" description="Newly created ActionScript Interface file"
enabled="true"
id="com.adobe.flexide.as.core.filetemplates.new_actionscript_interface"
name="ActionScript Interface">/**&#13;
* GODPAPER Confidential,Copyright ${year}. All rights reserved.&#13;
*&#13;
* Permission is hereby granted, free of charge, to any person
@yangboz
yangboz / TestCaseFileTemplates.xml
Created Feb 16, 2013
A template fie(*.xml) for customize the default information contained in new AS3 test case. More: http://help.adobe.com/en_US/Flex/4.0/UsingFlashBuilder/WS52085436-ABD3-4d4d-B5E2-41C668CF6847.html
View TestCaseFileTemplates.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<templates>
<template autoinsert="true" context="new_flexunit4_testcase_class"
deleted="false" description="Newly created FlexUnit4 TestCase Class file"
enabled="true"
id="com.adobe.flexbuilder.flexunit.filetemplates.new_flexunit4_testcase_class"
name="FlexUnit4 TestCase Class">/**
* GODPAPER Confidential,Copyright ${year}. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining
You can’t perform that action at this time.