A few days ago I bought one of those cheap laser engravers by NEJE. But the official software is only available for Windows.
So I thought that this is good chance to give QT a try. The result is available on GitHub and I named it EzGraver. As QT supports multiple platforms, I set up build jobs for all of them. This means, EzGraver is available for use on Windows, OSX and Linux.
The previous post was about how a smartcard – or any other token – can be accessed from java. But this requires a configuration that is fed into the PKCS#11 API. On changing environments, hardcoding this configuration is most-likely a bad idea, especially for the slot ID. Continue reading Dynamically Creating a PKCS#11 Configuration
Many large corporations require two-factor authentications for their internal applications. This usually starts with the login to the office computer, e.g. using smartcards (or other tokens). In order to reasonably protect applications as well, they need to integrate the smartcard authentication. The following sample shows how to access the certificates located on the inserted smartcard using PKCS#11. Continue reading Accessing SmartCard Certificates using PKCS#11
VirtualBox is a good tool to virtualize a small linux server. But after upgrading, even if it is a minor version (e.g. from 4.3.10 to 4.3.30), it may happen that virtual machines do not start. Continue reading VMs won’t start after virtual box upgrade
JasperReports is pretty straightforward when working with sub-reports. But you may need to display multiple different tables within a single report but without knowing how many tables will be needed in the final report. In this case, you need to have a dynamic mechanism. In the following example, a report with a random amount of tables will be created. Continue reading Variable amount of sub-reports in jasper
Powershell has a strong .NET Framework integration. Because of this, you can do some pretty cool things with it. As .NET provides an UDP-Cliet, we can use it to make a simple wake on lan script using powershell. Continue reading Wake on lan using powershell
I have a little movie and tv-show collection and use the popular open-source mediacenter software Kodi to organize it. But as some tv-shows/movies have other image frequencies/fps than others, it necessary to change the screen refresh rate accordingly. Kodi already delivers an integrated functionality to automatically change the refresh rate as required.
Personally, I like to have some control over this, so I decided to develope a small windows application in C++ (with some C in order to work with the Win32 API) to accomplish this. Doing so a is definitely not a big task. Continue reading Changing screen refresh rate with a keyboard shortcut
I personally do not like always creating applications for basic tasks. This is even the case when writing an application is probably easier than doing the same with batches, but I like these challenges. In my case, I had a few videos I wanted to process with AviSynth. Rather than creating multiple copies of the AviSynth script, I wanted to create a template where all other derive from. Continue reading Replacing contents of a text file with batch
Virtualizing your servers is pretty cool. But having a server in a hosted environment brings some restrictions with networking. To get around this, you can use a virtual network and configure some internal routing. Continue reading Routing your virtual machine network
Creating fat jars using maven is pretty simple. But it won’t simply work if you’re using jasper reports and embed fonts into your PDF reports. You’ll probably end up with an exception like the following:
Exception in thread "main" java.lang.ExceptionInInitializerError
Continue reading Fat jar with embedded fonts