Skip to content

Instantly share code, notes, and snippets.

View finetjul's full-sized avatar

Julien Finet finetjul

View GitHub Profile
#!/usr/local/bin/cmake -P
message("Upload packages")
set(PROJECT_NAME "CTKAppLauncher")
set(MIDAS_URL "http://packages.kitware.com")
set(MIDAS_USER "[email protected]")
set(MIDAS_API_KEY YOUR_KEY_HERE)
set(FOLDER_ID 65) # CTK/Public/AppLauncher
set(APPLICATION_ID 10) # AppLauncher
@finetjul
finetjul / slicer-4.0-module-parameterdescription.xsl
Last active December 16, 2015 14:09 — forked from jcfr/slicer-4.0-module-parameterdescription.xsl
Add description to "parameters" xml element Add 2 levels "parameters".
<?xml version="1.0" encoding="UTF-8"?>
<xsl:transform version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" indent="yes" encoding="UTF-8"/>
<xsl:template name="newline"><xsl:text>&#10;</xsl:text></xsl:template>
<xsl:template match="/executable">
<xsl:for-each select="parameters">
<?xml version="1.0" encoding="UTF-8"?>
<xsl:transform version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" indent="yes" encoding="UTF-8"/>
<xsl:template name="newline"><xsl:text>&#10;</xsl:text></xsl:template>
<xsl:template match="/executable">
<xsl:text>:'''Title:''' </xsl:text><xsl:value-of select="title"/><xsl:call-template name="newline"/>