Skip to content

Instantly share code, notes, and snippets.

@ValentinBlokhin
ValentinBlokhin / rc-producer.yml
Created August 2, 2017 10:32
Gives opportunity to easily start debug ava tests using chrome in webstorm. https://github.com/avajs/ava/blob/master/docs/recipes/debugging-with-chrome-devtools.md
# The list or single options object
# The applicable file patterns. Required. Single (not list) pattern maybe specified.
files: ["**/Tests/**/*", "**/*.spec.*", "**/*.test.*", "!**/node_modules/**/*"]
# The script to run. Defaults to current file.
script: "/usr/local/bin/inspect"
# The script args. Next macros are supported:
# ${file} — current file,
# ${fileNameWithoutExt} — current file name without extension,
<?xml version="1.0"?>
<workflow-definition xmlns="urn:liferay.com:liferay-workflow_6.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:liferay.com:liferay-workflow_6.2.0 http://www.liferay.com/dtd/liferay-workflow-definition_6_2_0.xsd">
<name>test1</name>
<description>
</description>
<version>1</version>
<state>
<name>StartNode</name>
<metadata>
<![CDATA[{"xy":[92,34]}]]>
@ValentinBlokhin
ValentinBlokhin / workflow.xml
Created January 18, 2016 21:59
workflow state-to-state example
<?xml version="1.0"?>
<workflow-definition xmlns="urn:liferay.com:liferay-workflow_6.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:liferay.com:liferay-workflow_6.2.0 http://www.liferay.com/dtd/liferay-workflow-definition_6_2_0.xsd">
<name>test1</name>
<description>
</description>
<version>1</version>
<state>
<name>StartNode</name>