Blog Posts

Recent posts

Java 8 - general practice using Optional

less than 1 minute read

0. Never, ever use null for an Optional variable. 1. Optional should be only used as a return value. : never use it for a field in Class and a method para...

Docker - useful command

less than 1 minute read

1 2 3 $ docker log <container id> // show logs $ docker port <container id> // show port mapping $ docker inspect <container id> // inspect...

Java - Task polling example with Java 8

less than 1 minute read

1 2 3 4 5 6 7 8 9 10 11 public void completionService(ExecutorService executor) { CompletionService<CustomTaskResult> completionService = n...

Angular 2 book

less than 1 minute read

Angular 2 Development with TypeScript https://www.manning.com/books/angular-2-development-with-typescript

Rake - useful command line options

less than 1 minute read

1 2 3 4 5 $ rake -P $ rake -T #display description $ rake -T buy #display contains "buy" in name $ rake -W buy #display path of task "buy" $ rake -D