At some point during my last high school years, I caught the computer bug, and I couldn’t stay away from programmable devices. Late-afternoon bus rides back to the city, followed by 20-minute walks to the local university, finding an unlocked door, sneaking in, trying to look a little older, and finally finding an unattended terminal […]
linux
Raspberry Pi Zero W w/ Python 3

1GHz, single-core CPU 512MB RAM 802.11 b/g/n wireless LAN Bluetooth 4.1 Bluetooth Low Energy (BLE) Case The Raspberry Pi Zero W V1.1 by far not the most powerful, but my favorite Raspberry Pi board, because it’s so very most and still capable enough. After putting the tiny board, weighing only 9.3g / 0.3oz into a nice […]
Configuring multiple SSL certificates for a single Tomcat connector

Sometimes you may want the same Tomcat instance to respond to requests for more than just one hostname. For HTTP this can easily be accomplished, by mapping those hostnames to the same IP address, using the tools provided by your registrar. Supporting HTTPS for multiple hosts is more involved since the SSL certificates need to […]
Installing Java 8 and Tomcat 8 on Debian Jessie or Raspbian or RedHat

Apache Tomcat is a Servlet/JSP container and version 8.0 implements the Servlet 3.1 and JavaServer Pages 2.3 specifications. Please note that Apache Tomcat 8.0 requires a Java Standard Edition Runtime Environment (JRE) version 7 or later. So we start with installing a recent version of Oracle’s JRE. Install Oracle JRE 8 on Debian Linux (or Raspbian) […]
Raspberry Pi 2 – Speech Recognition on device

This is a lengthy post and very dry, but it provides detailed instructions for how to build and install SphinxBase and PocketSphinx and how to generate a pronunciation dictionary and a language model, all so that speech recognition can be run directly on the Raspberry Pi, without network access. Don’t expect it to be as […]
Start/Stop Script for Python Programs

For the last two years or so, I often find myself in the situation, where I need to quickly prototype a Web-service that is accessed by mobile applications. If successful, the service will eventually be hosted in Amazon’s AWS Elastic Compute Cloud, most likely in Red Hat Enterprise Linux 6 (EHEL 6) instance. Besides a […]