Signing Nvidia proprietary driver on Fedora

Two weeks ago I have upgraded my machine to Fedora 23. I fought a bit with the installation of Nvidia proprietary driver. The main reason was that new kernel modules to load need to be signed with a key accepted by Secure Boot. Below are steps I have followed to achieve this configuration.


String concatenation with Java 8

String concatenation is one of the most well known caveat in Java. Almost all experienced Java developpers have already heard or read explanations about when to use String vs StringBuilder/StringBuffer for concatenating Strings.




"Unfortunately, Launcher has stopped" on Android

I am discovering Android emulators. My purpose is to automate screenshots capture for one of my apps (which will probably be the subject of another post). What was my astonishment when I started my first Android virtual device (running Lollipop) is that every time I was clicking on the app launcher icon I was getting “Unfortunately, Launcher has stopped.”



Videostream on Fedora 20

Videostream is the ultimate Chromecast app. Unfortunately, Chromecast and Videostream do not work out of the box on recent Fedora versions due to firewalld: some minor configuration is required. The configuration consists in opening port ranges 32768-61000 (UDP) for Chromecast and 5550-5559 (TCP) for Videostream.


Eclipse sysargs code templates

Eclipse provides many useful shortcuts including code templates such as sysout, syserr, systrace that you can use with autocompletion (CTRL + Space). However, sometimes you may want to debug a method call without using the eclipse debugging machinery. In that case, you may have to print the value of received parameters. The following will explain how to configure a new Eclipse code template named sysargs that, once used with auto completion, inserts the piece of code required to print the method parameters where the shortcut was used.


Subscribe via RSS