Skip to content

Instantly share code, notes, and snippets.

View SebastianStamm's full-sized avatar

Sebastian Stamm SebastianStamm

View GitHub Profile
@SebastianStamm
SebastianStamm / centeredSvgTextPath.svg
Created April 7, 2020 07:32
How to center svg text along path
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@SebastianStamm
SebastianStamm / example.json
Last active December 18, 2015 10:06
dmn-sim example json
input:
{"xml":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/DMN/20151101/dmn11.xsd\" id=\"definitions\" name=\"definitions\" namespace=\"http://camunda.org/schema/1.0/dmn\"><decision id=\"decision\" name=\"Dish\"><decisionTable id=\"decisionTable\"><input id=\"input1\" label=\"Season\"><inputExpression id=\"inputExpression1\" typeRef=\"string\"><text>input1</text></inputExpression></input><input id=\"InputClause_0hmkumv\" label=\"How many guests\"><inputExpression id=\"LiteralExpression_0m7s53h\" typeRef=\"integer\"><text>input2</text></inputExpression></input><output id=\"output1\" label=\"Dish\" name=\"output1\" typeRef=\"string\" /><rule id=\"row-950612891-1\"><inputEntry id=\"UnaryTests_0c1o054\"><text><![CDATA[\"Fall\"]]></text></inputEntry><inputEntry id=\"UnaryTests_1lod0sz\"><text><![CDATA[<= 8]]></text></inputEntry><outputEntry id=\"LiteralExpression_065u3ym\"><text><![CDATA[\"Spareribs\"]]></text></outputEntry></rule><rule id=\"row-950612891-2\"><inputEnt