Common

Installing java the oracle way is somehow annoying and the Mac OS builtin java is also not that awesome. So I use homebrew for years to install java. The simplest approach is to just install it with ‘brew cask install java’ but this will install the latest available version. In my case this was java […]

Common
Homebridge Apple HomeKit Adapter Service
19. September 2016

I’m actually testing on how to control things in a house or flat with Apple HomeKit. It seems to be a pretty nice solution as one would expect from apple but it takes time for the vendors to adopt. After googling around I found out that there are already some projects on github using the […]

Common

I sometimes want to copy and paste content from the web which is styled in a proper way for the website but maybe not for the destination I want to paste it to. Imagine a Numbers table where you collect TV models and some information around them to make some kind of comparison. Normal paste usually brings the […]

Common

One sometimes runs into problems with conflicting transitive dependencies. A dependency graph can help analyzing this. I use the sat-dependency-graph sbt plugin to help here. Just add to your plugins.sbt: addSbtPlugin(“net.virtual-void” % “sbt-dependency-graph” % “0.8.2”)   Running sbt task dependencyTree will do it: sbt dependencyTree If you like a bit more fancy, use the following to create a visual […]

Common
Console JSON filtering with jq
10. June 2016

Consider a long list of JSON objects where you want to filter for different criteria. jq can be a big help here. See the following data: [ { “lat”: 50.559985870799224, “lng”: 8.478780446017911, “price”: 400, “dist”: 67.0682275804, “exposeId”: “1”, “ownerSsoId”: “100”, “rooms”: 2, “area”: 74 }, { “lat”: 50.58170215982231, “lng”: 8.45889590837296, “price”: 400, “dist”: 90.9399454663, “exposeId”: “2”, […]

1 2 3 7