Skip to content

Instantly share code, notes, and snippets.

Richard V. Rokko11

  • Germany
Block or report user

Report or block Rokko11

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Rokko11 / import-flow.http
Created Feb 11, 2020
This http call imports a flow file into H2O Flow. First the raw curl command, second the corresponding IntelliJ http file
View import-flow.http
POST http://localhost:54321/3/NodePersistentStorage.bin/notebook/my-model
Content-Type: multipart/form-data; boundary=WebAppBoundary
Content-Disposition: form-data; name="file"; filename="my-model.flow"
< path/to/my-model.flow
Rokko11 /
Last active Sep 10, 2019
Um ein PDF-Beispiel-Dokument zu erstellen: Beispiel herunterladen und oder run.bat ausführen.
title author lang lof geometry
Dynamische Dokumentation
Simone Görner und Richard Vogel
margin=3cm, left=3cm


Rokko11 /
Last active Aug 19, 2019
Erzeugung von ReleaseNotes mit dem maven-changes-plugin. Nach dem Auslesen aus Jira werden sie per Apache Velocity in Markdown exportiert. Die Issues werden anschließend mit einem Lua-Filter verlinkt.

Version 1.2.3


  • MYPROJECT-1: Kurzbeschreibung Story 1
  • MYPROJECT-2: Kurzbeschreibung Story 2

Fixed Bugs:

  • MYPROJECT-12: Anzeigefehler auf Seite 1
import com.beust.jcommander.*;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Map;
public class MarkdownUsageFormatter implements IUsageFormatter {
private final JCommander commander;
Rokko11 /
Last active Sep 10, 2019
Generierung Benutzerhandbuch aus Selenium-Test
public class SampleIT extends SeleniumTestCase {
@ImportFile(name = "brief/Datenbasis.xls")
public void testErfolgreicherVersand() throws Exception {
new VertragPage()
.setLogStrategy(new MarkdownStrategy())
Rokko11 / docker-compose.yml
Last active Aug 20, 2019
Beispiel-Code für die Transformation eines docker-compose.yml in ein Markdown-File. Dieses wird mit dem pandoc-plantuml-Filter in ein Diagramm überführt.
View docker-compose.yml
version: '3'
image: nginx:1.15-alpine
description: "nginx SSL Proxy"
- webapp
- docs
View regex-pattern
<div id="stack-trace">other.package.MyTry.exec(</div>
Now I need a jQuery/JS-Method which parses this Element by the Regex "\(\w*\.java:\d*\)" and modifies the content of this div to following:
<div id="stack-trace">other.package.MyTry.exec(<a href=""></a>)</div>
Rokko11 / child.xhtml
Created Dec 10, 2015
Not typesafe ui:param
View child.xhtml
<ui:composition xmlns=""
<ui:define name="columns">
<!-- At this like, the IDE does not know the type of "key". So autocompletion and refactorings of "property" will fail. -->
<h:outputText value="#{}"/>
Rokko11 /
Created Nov 5, 2015
Documentation, how to use a composite component together with JavaEE-events.
import javax.enterprise.event.Event;
import javax.inject.Inject;
import javax.inject.Named;
* Klasse, die das zu feuernde Event beinhaltet.
* Diese wird benoetigt, da bei JSF < 2.2 keine DI in Komponenten moeglich ist.
public class EventContainer {
Rokko11 / design_adminhmtl_default_default_template_cmsforbundle_product_edit_bundle_option.phtml
Created Aug 30, 2013
Problem: Werte von Bundle/Option werden nicht im option.phtml vorselektiert
View design_adminhmtl_default_default_template_cmsforbundle_product_edit_bundle_option.phtml
<script type="text/javascript">
optionTemplate = '<div id="<?php echo $this->getFieldId() ?>_{{index}}" class="option-box"> ' +
'<div class="option-title"> ' +
'<label for="<?php echo $this->getFieldName() ?>[{{index}}][title]"><?php echo Mage::helper('bundle')->__('Default Title') ?> <span class="required">*</span></label>' +
<?php if ($this->isDefaultStore()): ?>
'<input class="input-text required-entry" type="text" name="<?php echo $this->getFieldName() ?>[{{index}}][title]" id="id_<?php echo $this->getFieldName() ?>_{{index}}_title" value="{{title}}">' +
<?php else: ?>
'<input class="input-text required-entry" type="text" name="<?php echo $this->getFieldName() ?>[{{index}}][default_title]" id="id_<?php echo $this->getFieldName() ?>_{{index}}_default_title" value="{{default_title}}">' +
<?php endif; ?>
'<?php echo $this->jsQuoteEscape($this->getOptionDeleteButtonHtml()) ?>' +
You can’t perform that action at this time.