Monthly Archives: February 2013

Maven snippets

26-Feb-13

This post will contain some Maven snippets that i use and forget regularly (similar to my Git Post). Download the sources of all dependencies of a project if available: mvn dependency:sources Download the JavaDoc for all dependencies if available: mvn dependency:resolve -Dclassifier=javadoc -Dtype=jar Check for updates of all direct dependencies: mvn versions:display-dependency-updates Skip signing of […]

Read the complete article »

Java implementation of Excels statistical functions NORMINV

21-Feb-13

I was recently in need of a java implementation of the inverted normal distribution function, named “NORMINV” in Excel 2003 and later: NORMINV. I only found a JavaScript implementation in kmpm’s repository norminv.js. It has quite a history, coming over C# from C++. I have the impression nobody wants to deal with the mathematics 😉 […]

Read the complete article »

mysqldump / mysql tips

14-Feb-13

Two tips to make your life with mysqldump easier and your backups better: The following command creates a full backup of your mysql server including all databases and structures (including views and(!) stored procedures) along with the data: mysqldump -uroot -proot –opt –routines –add-drop-database –default-character-set=utf8 –create-options –all-databases | \ bzip2 > backup.sql.bz2 You can also […]

Read the complete article »