Projects & Stories

OpenWRT + TP Link WR841N(D) + OpenVPN

photo_small A friend of mine asked me the other day whether it is possible to get VPN running on the TP-LINK-WR841N(D). Quickly it was clear that the stock firmware is not capable of doing VPN but it is supported by OpenWRT. Honestly I never had the pleasure with the so called "Wireless Freedom"! It was surprisingly easy to flash the router and getting OpenWRT running <3 After getting familiar with the package-manager and searching in the Wiki for some VP []

Galaxy S3 Mini Repair Broken Display

photo_small (The image quality is not the best I had to improvise. Normally I do the pictures with my phone) The last motorbike tour was awesome! Except for the part when I broke my phone. I already thought about buying a new phone and when I did some research I came to the result that I would re-buy the S3 Mini. The size is perfect, it fits into any pocket and in my opinion the camera make some great photos as well. While thinking about buying the same phon []

TomTom Rider and the GPS quest

photo_small I bought my TomTom a couple of years ago and still, I am very happy with it. The Rider was one of the first navigation systems with the so called function "Find a curvy stretch"! For a motorbike enthusiast this function will eliminate a huge amount of planning-time. I used this in several holidays without any complaints and great routes. But the post is actually about the only annoying thing I had since I bought it. A couple of days ago it just []

Prevent Spotify from "freezing" on Linux

photo_small I am a big fan of the Awesome-Windows-Manager for Linux but since a couple of weeks the Spotify-Client is freezing the X-Server for couple of seconds after a track change happened. I've already been thinking about that this has something to do with the track notification from spotify. After some research I discovered the option ui.track_notifications_enabled. After disabling the track notification, Spotify worked quite well again! It can be used []

Scala: Sum up values in a Map

photo_small Some addition to my previous code snippet post. scala> val m = Map("k1" -> 1.6, "k2" -> 2.2) m: scala.collection.immutable.Map[java.lang.String,Double] = Map(k1 -> 1.6, k2 -> 2.2) scala> m.foldLeft(0.0){ case (a, (k, v)) => a + v } res16: Double = 3.8000000000000003 Instead of pattern matching you can also use the underscore solution: scala> m.foldLeft(0.0)(_+_._2) res40: Double = 3.8000000000000003 The parameter []