Skip to content

Instantly share code, notes, and snippets.

@JanKanis
JanKanis / TransmartRDD.groovy
Last active Jan 12, 2016
Scetch of TransmartRDD
View TransmartRDD.groovy
class TransmartRDD extends RDD {
private Closure getRDD
private Closure getLocalFakeRDD
@Lazy
RDD rdd = getRDD() // getRDD also constructs the RDD lazily
@Lazy
LocalRDD localRDD = getLocalFakeRDD()
@JanKanis
JanKanis / workaround_tool_dependencies.xml
Created Jun 24, 2014
This does work, but it's an ugly workaround
View workaround_tool_dependencies.xml
<?xml version="1.0"?>
<tool_dependency>
<package name="libxml2" version="2.9.1">
<repository name="package_libxml2_2_9_1" owner="jankanis" prior_installation_required="True"
toolshed="http://toolshed.g2.bx.psu.edu" changeset_revision="98807f0505f0" />
</package>
<package name="libxslt" version="1.1.28">
<repository name="package_libxslt_1_1_28" owner="devteam" prior_installation_required="True"
toolshed="http://toolshed.g2.bx.psu.edu" changeset_revision="039b04adcfee" />
@JanKanis
JanKanis / not_working_tool_dependencies
Created Jun 24, 2014
lxml can't find the libxml2 location
View not_working_tool_dependencies
<?xml version="1.0"?>
<tool_dependency>
<package name="libxml2" version="2.9.1">
<repository name="package_libxml2_2_9_1" owner="jankanis" prior_installation_required="True"
toolshed="http://toolshed.g2.bx.psu.edu" changeset_revision="98807f0505f0" />
</package>
<package name="libxslt" version="1.1.28">
<repository name="package_libxslt_1_1_28" owner="devteam" prior_installation_required="True"
toolshed="http://toolshed.g2.bx.psu.edu" changeset_revision="039b04adcfee" />
You can’t perform that action at this time.