Making an enum implement an interface can be a useful way to split large enums into smaller classes.
Just another developer blog
Have you ever noticed misspelled HTTP response headers?
$ http -h http://www.dmoz.org/Computers/Programming/Languages/Python/Books/
HTTP/1.1 200 OK
Date: Tue, 12 Apr 2016 12:26:06 GMT
That ‘Cteonnt-Length’ sure looks weird! According to this StackOverflow answer, the jumbled header contains the uncompressed size of the response and, sure enough, it does seem to be the case. But why? It seems like this […]
It is common when working with git to use lots of branches. Occasionally you might accidentally commit to the wrong branch but thankfully git makes it easy to put these commits in the right place. It’s worth noting that the fixes described here are only […]
The ScalaTest + Play library provides a couple of useful traits for when your ScalaTest Play Framework functional tests need a running application for context. The OneAppPerSuite trait will share the same Application instance across all tests in a class whereas the OneAppPerTest trait gives each test its own […]