Skip to content

Instantly share code, notes, and snippets.

@JanKanis
JanKanis / TransmartRDD.groovy
Last active January 12, 2016 14:18
Scetch of TransmartRDD
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 June 24, 2014 16:52
This does work, but it's an ugly workaround
<?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 June 24, 2014 16:40
lxml can't find the libxml2 location
<?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" />