Sunday, August 7, 2016

added one more example for JBBP

Added one more example for JBBP to show how to add a custom type into parser, as example I have written a parser for three byte non-signed integer value with "int24" as name of the type . The Example formed as a JUnit test and published in the GitHub.

Sunday, July 3, 2016

Java Comment Preprocessor 6.1.0

The New 6.1.0 version of Java Comment Preprocessor is out and published in Maven central. From main features of the new version I can distinguish
added option to enable whitespace between comment chars and directive, it 1) makes possible to write in such style
// #local VAR="hello"
also spaces will be allowed in //$$, //$ and /*-*/ directives
2) fixed bug in work with absolute path files
3) added function binfile(STR,STR) which converts binary files into text representation
Example:
byte[] TEXT=byte[]{/*$binfile("./file.bin","byte[]")$*/};
will be converted into
byte[] TEXT=byte[]{(byte)0x89,(byte)0x50,(byte)0x4E,(byte)0x47,(byte)0xD,(byte)0xA,(byte)0x1A,(byte)0xA};
it supports "base64","base64s" (it splits text to 80 char lines), "byte[]" and "byte[]s"

Sunday, June 26, 2016

Standalone Mind Map editor

I have published standalone Mind Map editor based on NB MindMap plugin. It is a small standalone Java application (about 3 Mb) needs Java 1.7+ and can be started as regular JAR or EXE file (under Windows), it can be downloaded from the folder

Saturday, May 28, 2016

GoLang maven wrapper 2.1.0 is out

the new 2.1.0 version of the maven golang wrapper has been published in the maven central. Main new feature - support for branches and tags for dependencies and creating of new artifact with packed project folders in local maven repository. Also fixed bug in test command and minor refactoring.

Tuesday, April 19, 2016

"Hello World!" in GoLang with Maven

if you have installed maven on your machine and would like to try GoLang then now it is possible in just two terminal lines:
 
$ mvn archetype:generate -B -DarchetypeGroupId=com.igormaznitsa -DarchetypeArtifactId=mvn-golang-hello -DarchetypeVersion=2.0.0 -DgroupId=com.go.test -DartifactId=gohello -Dversion=1.0-SNAPSHOT
$ mvn -f ./gohello/pom.xml package
 
The First line creates a simple GoLang project from a maven archetype, the project is based on usage of the mvn-golang-wrapper, and the second one build and run the project.
 

Monday, April 4, 2016

How to start Dropbox under KDE

if Dropbox application icon is invisible in KDE tray then it can be started with command line below:
dropbox stop && DBUS_SESSION_BUS_ADDRESS="" dropbox start

Saturday, March 26, 2016

Released mvn-golang-wrapper 1.0.0

I has been published the initial 1.0.0 version of the mvn-golang-wrapper plugin in the maven central. The Example "Hello World" for the plugin can be cloned here.