The easiest way to convert characters set on Linux or Mac OS systems is to use iconv program. The iconv program converts text from one encoding to another encoding. The iconv program has a quite big set of supported encodings. In order to get a list of supported encodeings just …
When I intalled one of the older verions (8.0.5) of WebStorm IDE on Mac OS X El Capitan and started it, I got an error saying saying that I need to install legacy Java SE 1.6 runtime. Obviously I did not have Java 1.6 installed and …
In this post I would like to show you some nice features coming with Angular 2. Iteration over collection using NgFor directive Let's say that we have a list of string values (a list of system roles in our case) and we would like to display it on …
In this post, I would like to share how to customize Express server in Sails.js version 0.10. Handling of the customMiddleware has slightly changed from Sails v0.9.x. In version 0.10 that method needs to be configured in http hook (not express hook, as in the …
When building HTML templates wiht Thymeleaf template engine, you may end up with a situation where an HTML element needs to have text coming from localization resources, but also it needs to have some additonal child elements which can't be replaced during template rendering. One of the examples …
In this post, I am sharing how to identify a Heroku dynos from within your application. In many cases, well written cloud applications does not need to know what Heroku dyno is handling a request. However, sometimes that knowledge is essential. That need has been addressed by Heroku team. The …