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