Skip to content

Instantly share code, notes, and snippets.

View kriegaex's full-sized avatar

Alexander Kriegisch kriegaex

View GitHub Profile
@kriegaex
kriegaex / run-spock2-test-via-junit5-standalone-runner.sh
Last active July 9, 2020 13:14
How to run Spock 2 tests via JUnit 5 stand-alone console runner (please adjust variables, paths, separators etc. by yourself)
export MAVEN_REPO=c:/Users/alexa/.m2/repository
export JUNIT5_STANDALONE=$MAVEN_REPO/org/junit/platform/junit-platform-console-standalone/1.6.2/junit-platform-console-standalone-1.6.2.jar
export GROOVY3=$MAVEN_REPO/org/codehaus/groovy/groovy/3.0.4/groovy-3.0.4.jar
export SPOCK2_CORE=$MAVEN_REPO/org/spockframework/spock-core/2.0-M3-groovy-3.0/spock-core-2.0-M3-groovy-3.0.jar
java -jar $JUNIT5_STANDALONE -cp "$GROOVY3;$SPOCK2_CORE;target/test-classes;target/classes" --disable-banner --details=verbose --select-class de.scrum_master.testing.MyTest
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active November 16, 2024 22:55
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
@adyp
adyp / tailurl.bash
Last active August 9, 2024 13:13 — forked from habibutsu/tail.sh
Improved version of the "tailurl" utility to "tail" a file published via an URL: allows user/password authentication; can use password file; variable read chunk size, in order to keep up with real filling rate (e.g. busy logs); support for "-f / -F / -s" similar to the classic "tail" utility; supports idle timestamping (iChat style); supports ex…
#!/bin/bash
#
# Source: https://gist.github.com/bsdcon/7224196
# Original: https://gist.github.com/habibutsu/5420781
# Modified by Adrian Penisoara << ady+tailurl (at) bsdconsultants.com >>
#
# Last update: 8 Aug 2014
#
@kriegaex
kriegaex / telekom-backlog-filter.js
Last active December 17, 2015 01:49
Sorry for my bad JavaScript, it is my first try to use this language.
// ==UserScript==
// @name Backlog Filter
// @namespace myproject.telekom.de
// @description MyProject ein paar Buttons schenken, mit denen sich Backlogs filtern lassen
// @include https://myproject.telekom.de/pi/rb/master_backlogs/hmp
// @require http://code.jquery.com/jquery-1.9.1.min.js
// @version 3.15
// @grant none
// ==/UserScript==