Articles in Category "Technology"

Ad-Blocking with BIND9 and NGINX

In my intranet, where hosts are in a subnet 192.168.2.0/24 and domain names in a domain mydomain, I use BIND9 as DNS, running on host intradns.mydomain , and NGINX as a webserver running on intraweb.mydomain. I would like to rewrite all subdomains of certain public domains (spammers and trackers) using my intranet DNS to a […]

I18n of Bourne Shell Scripts Using “gettext.sh”

This article shows how to make a Bourne Shell script translatable by means of the “gettext” toolchain and how it then operates with natural language strings translated into the user’s language.

“jack-autostart” – Setup and Start Scripts for jackd

“jack-autostart” is essentially a start script (I use it for my XFCE sessions) that starts „jackd“ with appropriate command line parameters and configures as many applications as possible to route playback to the JACK service. For this purpose, redirect all ALSA playback to JACK, and set JACK as default audiosink/-source for GStreamer.

Adding Custom Format Buttons To tinyMCE in WordPress 4

Introduction In my technical articles I sometimes use inline fragments typed in a monospace font to highlight code or filenames that appear within floating paragraph text. Back in the days I did this with the <tt> element, nowadays I use <span class=”tt”> and a CSS style like .tt { font-family: monospace; } I wanted to […]

DTP With Free Software?

In case anyone is wondering how to produce documents with complex structure, multiple pages and professional quality using free software, the answer is of course: with LaTeX. Consider the alternatives: Office (Libre, Open, the KDE stuff) are a nuisance when it comes to properly customized sectioning, and for larger documents or 100% precise positioning they […]

PHP HTTPS Streams: Explicitly Using A CA For Verification

When I tried setting my Owncloud Calendar’s ICS export URL (which uses HTTPS) as a calendar import URL in Dolibarr (currently installed are Owncloud 8.0 and Dolibarr from the version 3.6.2-3 Debian package), Dolibarr gave me these errors (taken from the error.log of the webserver, with some additional formatting): PHP Warning: file(): SSL operation failed […]

Rollbare Ablage

Mit einfachsten Bauteilen aus dem Baumarkt habe ich mir eine Ablage mit Rollen Marke “No Bulls***” gebaut. Das Möbelstück ist stabil und ziemlich schwer (ich konnte es mit Ach und Krach alleine in den 2. Stock bringen), die Auflage ist relativ solide (es ist halt Grobspanplatte, als Werkzeugablage oder ähnlich ist sie gut zu gebrauchen), […]

Banana Pi Case Remod

I cut a bay for my Clicktronic HDMI-to-DVI adapter into my Banana Pi case. To maintain structural stability of the case, I had to cut about one half of the bay into the lower half of the case and the other into its upper half. To do this, I had to raise the mount level […]