Skip to content

Instantly share code, notes, and snippets.

View manfredk's full-sized avatar
💭
curious

ManfredK manfredk

💭
curious
View GitHub Profile
@manfredk
manfredk / mvn_list_goals
Last active September 13, 2024 07:42
List all available maven goals in project
#! /bin/sh
mvn help:effective-pom 2>/dev/null | \
grep -i -E '^ *<' | \
sed -e 's/ xmlns.*=".*"//g' | \
xmlstarlet sel -t -n -o "Plugin[:phase:goal]" -n \
-o "---------------------------------------------------" -n \
-m "/project/build/plugins/plugin" -v "artifactId" -n \
-m "executions/execution" -v "../../artifactId" -o ":" -v "phase" -o ":" -m "goals" -v "goal" -n
@manfredk
manfredk / CronTab-Expander.sql
Last active December 1, 2022 11:39
Expand CronTab expressions with SQL / T-SQL
USE Exercises
GO
/* ***********************************************************************************************
*
* CRONTAB EXPANDER
*
* ***********************************************************************************************/
/**************************************************************************************************
@manfredk
manfredk / DTColumnDefBuilder-with-option-sWidth-is-not-working-properly.-#287.markdown
Last active August 29, 2015 14:19
DTColumnDefBuilder with option sWidth is not working properly. #287

DTColumnDefBuilder with option sWidth is not working properly. #287

This was to inspect an issue with datatables in an angular / bootstrap application, when applying options and formatting numbers with numeral.js. This gist does not contain the solution, which is wrapping the dtColumnDefs - definition in a $timeout. See discussion under l-lin/angular-datatables#287.

A Pen by ManfredK on CodePen.

Forked from Louis LIN's Pen Row Grouping in v0.4.0 #228.

License.

@manfredk
manfredk / README.md
Created February 22, 2015 22:57
vornamen%25202010

README is empty

@manfredk
manfredk / README.md
Created February 16, 2015 23:43
polizeidienststellen

README is empty