TSLint Warnings instead of Errors in Webstorm
That TSLint rules in Webstorm are displayed as error messages is something that drives me nuts. Today I discovered that one can change that behaviour in Webstorm: Continue readingWrite your own TypeScript definition files
Last Year I wrote a blog post about TypeScript and jQuery. I introduced TSD, a manager for TypeScript definition files. TSD, or Typings as TSD is deprecated now, contains nearly thousand definition files. But what if you want to use your own library or a library that has no definition file yet? You could write it yourself. It’s not that hard. I will show you an really simple example. I created a new Angular 2. Continue readingSetting system properties for WildFly with a properties file
To set or override system properties without changing WildFly’s configuration there is a CLI parameter-p
. I want to explain how to use it.
Continue reading
Guavas MultiMap FTW
I often have the need for some kind of “grouped list”. I have a key and a list of values. For example I have a database table with two columns. The first column is the key and the second column is the value. I want to read the table and return aMap
with the key as the key and a list of values as the value.
Continue reading
Guava Joiner Class
Although I’m a long time user of Google Guava I discovered the classJoiner
just a few days ago. Eventually everybody who’s familiar with Googles Apache Commons alternative have heard about it, but I like to show the usage for those who didn’t know yet.
Continue reading
Remove "Server" and "X-Powered-By" Response Headers in Wildfly
Wildfly identifies himself in the response headers. To remove this you just have to comment/remove the following lines under theurn:jboss:domain:undertow:2.0
(depend on your WildFly version) subsystem in your standalone.xml
Continue reading